Metrics Class |
Namespace: Nova.Analysis
public class Metrics
The Metrics type exposes the following members.
Name | Description | |
---|---|---|
![]() | Calculate |
Update calculated metrics.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | Aliases |
Total 'alias' statements.
|
![]() | AnonymousMethods |
Total anonymous methods.
|
![]() | Attributes |
Total attributes.
|
![]() | Blocks |
Total code Block objects - not included in the CodeObjects value.
|
![]() | CALCULATED_METRICS | |
![]() | Calls | Total method calls (invocations). |
![]() | Checked |
Total 'checked' statements or expressions.
|
![]() | ChildLists |
Total internal lists of CodeObjects - not included in the CodeObjects value.
|
![]() | CodeObjects | Total CodeObjects. |
![]() | CodeObjectsEC | Total CodeObjects excluding comments. |
![]() | CodeObjectsPerClass | Average CodeObjects per Class. |
![]() | CodeObjectsPerMethod | Average CodeObjects per Method. |
![]() | CodeObjectsPerSLOC | Average CodeObjects per SLOC (Density). |
![]() | Comments | Total comments. |
![]() | Comments_Doc |
Total documentation (XML-style) comments.
|
![]() | Comments_EOL |
Total EOL-style comments that appear after a code object.
|
![]() | Comments_HACK |
Total 'HACK' comments.
|
![]() | Comments_NOTE |
Total 'NOTE' comments.
|
![]() | Comments_TODO |
Total 'TODO' comments.
|
![]() | CompilerDirectives |
Total compiler directives.
|
![]() | CompilerDirectives_Define |
Total '#define' and '#undef' compiler directives.
|
![]() | CompilerDirectives_Else |
Total '#else' compiler directives.
|
![]() | CompilerDirectives_EndIf |
Total '#endif' compiler directives.
|
![]() | CompilerDirectives_EndRegion |
Total '#endregion' compiler directives.
|
![]() | CompilerDirectives_Error |
Total '#error' compiler directives.
|
![]() | CompilerDirectives_If |
Total '#if' and '#elif' compiler directives.
|
![]() | CompilerDirectives_Line |
Total '#line' compiler directives.
|
![]() | CompilerDirectives_Pragma_Checksum |
Total '#pragma checksum' compiler directives.
|
![]() | CompilerDirectives_Pragma_Warning |
Total '#pragma warning' compiler directives.
|
![]() | CompilerDirectives_Region |
Total '#region' compiler directives.
|
![]() | CompilerDirectives_Warning |
Total '#warning' compiler directives.
|
![]() | Conditionals | Total conditional statements and expressions. |
![]() | Conditionals_Case |
Total 'case' statements.
|
![]() | Conditionals_If |
Total 'if' and 'else if' statements.
|
![]() | Conditionals_Switch |
Total 'switch' statements.
|
![]() | ConditionsPerClass | Average Conditions per Class (Cyclomatic Complexity). |
![]() | ConditionsPerMethod | Average Conditions per Method (Cyclomatic Complexity). |
![]() | DETAILED_CODE_METRICS | |
![]() | DETAILED_TYPE_METRICS | |
![]() | Enums_Members | Total enum member declarations. |
![]() | ErrorMessages | Total error messages. |
![]() | Exceptions_Catch |
Total 'catch' statements.
|
![]() | Exceptions_Finally |
Total 'finally' statements.
|
![]() | Exceptions_Throw |
Total 'throw' statements.
|
![]() | Exceptions_Try |
Total 'try' statements.
|
![]() | Exceptions_Using |
Total 'using' statements (NOT directives).
|
![]() | ExpressionObjects | Total expression objects. |
![]() | ExternAliases |
Total 'extern alias' statements.
|
![]() | Fields | Total field declarations. |
![]() | Fields_Const | Total constant field declarations. |
![]() | Fields_Multi | Total field declarations that define multiple fields in a single statement. |
![]() | Fields_Static | Total static field declarations. |
![]() | Files | Total source files in all Projects. |
![]() | Fixed |
Total fixed statements.
|
![]() | FixedSizeBuffers |
Total fixed-size buffer declarations.
|
![]() | Gotos |
Total 'goto' statements.
|
![]() | HintMessages | Total hint messages. |
![]() | InformationMessages | Total information messages. |
![]() | Intializers |
Total object, array, and collection initializers.
|
![]() | Labels |
Total labels.
|
![]() | LambdaExpressions |
Total lambda expressions.
|
![]() | Lines | Total source lines in all Projects. |
![]() | Literals | Total literals. |
![]() | Locals | Total local variable declarations. |
![]() | Locals_Const |
Total local constant declarations.
|
![]() | Locals_Multi |
Total local variable declarations that define multiple locals in a single statement.
|
![]() | Locks |
Total 'lock' statements.
|
![]() | Loops | Total loop statements. |
![]() | Loops_For |
Total 'for' loops.
|
![]() | Loops_ForEach |
Total 'foreach' loops.
|
![]() | Loops_While |
Total 'while' and 'do...while' loops.
|
![]() | MAIN_COUNTERS | |
![]() | Messages | Total messages. |
![]() | Methods | Total method declarations. |
![]() | Methods_Abstract | Total abstract method declarations. |
![]() | Methods_Constructors | Total constructor declarations. |
![]() | Methods_Destructors | Total destructor declarations. |
![]() | Methods_Generic | Total generic method declarations. |
![]() | Methods_Getters | Total property 'get' method declarations. |
![]() | Methods_Operators | Total operator overload declarations. |
![]() | Methods_Partial | Total partial method declarations. |
![]() | Methods_Setters | Total property 'set' method declarations. |
![]() | Methods_Static | Total static method declarations. |
![]() | MethodsPerClass | Average Methods per Class. |
![]() | Operands | Total operands. |
![]() | Operators | Total operators. |
![]() | Operators_Conditional |
Total '?:' expressions.
|
![]() | Operators_Dot |
Total '.' operators.
|
![]() | Parameters | Total method parameter declarations. |
![]() | Projects | |
![]() | Properties | Total property declarations. |
![]() | Properties_Events | Total property-style event declarations. |
![]() | Properties_Indexers | Total indexer declarations. |
![]() | QueryExpressions |
Total query (LINQ) expressions and continuations.
|
![]() | QueryExpressions_Clauses |
Total query clauses.
|
![]() | References | Total symbolic references. |
![]() | Returns | Total 'return' statements. |
![]() | SLOC | Total SLOC in all Projects (lines with at least one identifier). |
![]() | SLOCPerClass | Average SLOC per Class. |
![]() | SLOCPerMethod | Average SLOC per Method. |
![]() | Statements | Total statements. |
![]() | SuggestionMessages | Total suggestion messages. |
![]() | TypeParameters | Total type parameter declarations. |
![]() | Types | Total type declarations. |
![]() | Types_Classes | Total class declarations. |
![]() | Types_Classes_Abstract | Total abstract class declarations. |
![]() | Types_Classes_Static | Total static class declarations. |
![]() | Types_Delegates | Total delegate declarations. |
![]() | Types_Enums | Total enum declarations. |
![]() | Types_Generic | Total generic types. |
![]() | Types_Interfaces | Total interface declarations. |
![]() | Types_Partial | Total partial types. |
![]() | Types_Structs | Total struct declarations. |
![]() | Unchecked |
Total 'unchecked' statements or expressions.
|
![]() | Undocumented | Total undocumented features. |
![]() | UnrecognizedCodeFragments | Total unrecognized code fragments (parse errors). |
![]() | UnresolvedReferences | Total references which are currently unresolved. |
![]() | Unsafes |
Total 'unsafe' statements.
|
![]() | UsingDirectives |
Total 'using' directives (NOT statements).
|
![]() | WarningMessages | Total warning messages. |
![]() | Yields |
Total 'yield break' and 'yield return' statements.
|