Appearance
Method Class
Definition
Represents an OpenCover method and its associated sequence points, branch points, complexity metrics, and summary data.
- Namespace:
JASE.TestAnalysis.OpenCover - Assembly:
JASE.TestAnalysis.dll
Constructors
| Name | Description |
|---|---|
Method() |
Properties
| Name | Description |
|---|---|
BranchCoverage | Gets the branch coverage percentage reported for the method. |
BranchPoints | Gets the branch points associated with the method. |
CyclomaticComplexity | Gets the cyclomatic complexity for the method. |
DisplayName | Gets the simplified display name for the method. |
IsConstructor | Gets a value indicating whether the method is a constructor. |
IsGenerated | Gets or sets a value indicating whether the method appears to be generated code. |
IsGetter | Gets a value indicating whether the method is a property getter. |
IsSetter | Gets a value indicating whether the method is a property setter. |
IsStatic | Gets a value indicating whether the method is static. |
MethodPoint | Gets the method entry point information, if present. |
Name | Gets the raw method name as reported by OpenCover. |
NPathComplexity | Gets the NPath complexity for the method. |
Path | Gets the source file path associated with the method, if known. |
SequenceCoverage | Gets the sequence coverage percentage reported for the method. |
SequencePoints | Gets the sequence points associated with the method. |
Summary | Gets the summary values declared for the method, if present. |
Totals | Gets the aggregate coverage totals computed for the method. |
Methods
| Name | Description |
|---|---|
bool IsDangerouslyComplex(int cyclomatic = null, int nPath = null) | Checks if method exceeds limits for Cyclomatic or NPath complexity |