Click or drag to resize

Metrics Fields

The Metrics type exposes the following members.

Fields
  NameDescription
Public fieldAliases
Total 'alias' statements.
Public fieldAnonymousMethods
Total anonymous methods.
Public fieldAttributes
Total attributes.
Public fieldBlocks
Total code Block objects - not included in the CodeObjects value.
Public fieldCALCULATED_METRICS
Public fieldCalls
Total method calls (invocations).
Public fieldChecked
Total 'checked' statements or expressions.
Public fieldChildLists
Total internal lists of CodeObjects - not included in the CodeObjects value.
Public fieldCodeObjects
Total CodeObjects.
Public fieldCodeObjectsEC
Total CodeObjects excluding comments.
Public fieldCodeObjectsPerClass
Average CodeObjects per Class.
Public fieldCodeObjectsPerMethod
Average CodeObjects per Method.
Public fieldCodeObjectsPerSLOC
Average CodeObjects per SLOC (Density).
Public fieldComments
Total comments.
Public fieldComments_Doc
Total documentation (XML-style) comments.
Public fieldComments_EOL
Total EOL-style comments that appear after a code object.
Public fieldComments_HACK
Total 'HACK' comments.
Public fieldComments_NOTE
Total 'NOTE' comments.
Public fieldComments_TODO
Total 'TODO' comments.
Public fieldCompilerDirectives
Total compiler directives.
Public fieldCompilerDirectives_Define
Total '#define' and '#undef' compiler directives.
Public fieldCompilerDirectives_Else
Total '#else' compiler directives.
Public fieldCompilerDirectives_EndIf
Total '#endif' compiler directives.
Public fieldCompilerDirectives_EndRegion
Total '#endregion' compiler directives.
Public fieldCompilerDirectives_Error
Total '#error' compiler directives.
Public fieldCompilerDirectives_If
Total '#if' and '#elif' compiler directives.
Public fieldCompilerDirectives_Line
Total '#line' compiler directives.
Public fieldCompilerDirectives_Pragma_Checksum
Total '#pragma checksum' compiler directives.
Public fieldCompilerDirectives_Pragma_Warning
Total '#pragma warning' compiler directives.
Public fieldCompilerDirectives_Region
Total '#region' compiler directives.
Public fieldCompilerDirectives_Warning
Total '#warning' compiler directives.
Public fieldConditionals
Total conditional statements and expressions.
Public fieldConditionals_Case
Total 'case' statements.
Public fieldConditionals_If
Total 'if' and 'else if' statements.
Public fieldConditionals_Switch
Total 'switch' statements.
Public fieldConditionsPerClass
Average Conditions per Class (Cyclomatic Complexity).
Public fieldConditionsPerMethod
Average Conditions per Method (Cyclomatic Complexity).
Public fieldDETAILED_CODE_METRICS
Public fieldDETAILED_TYPE_METRICS
Public fieldEnums_Members
Total enum member declarations.
Public fieldErrorMessages
Total error messages.
Public fieldExceptions_Catch
Total 'catch' statements.
Public fieldExceptions_Finally
Total 'finally' statements.
Public fieldExceptions_Throw
Total 'throw' statements.
Public fieldExceptions_Try
Total 'try' statements.
Public fieldExceptions_Using
Total 'using' statements (NOT directives).
Public fieldExpressionObjects
Total expression objects.
Public fieldExternAliases
Total 'extern alias' statements.
Public fieldFields
Total field declarations.
Public fieldFields_Const
Total constant field declarations.
Public fieldFields_Multi
Total field declarations that define multiple fields in a single statement.
Public fieldFields_Static
Total static field declarations.
Public fieldFiles
Total source files in all Projects.
Public fieldFixed
Total fixed statements.
Public fieldFixedSizeBuffers
Total fixed-size buffer declarations.
Public fieldGotos
Total 'goto' statements.
Public fieldHintMessages
Total hint messages.
Public fieldInformationMessages
Total information messages.
Public fieldIntializers
Total object, array, and collection initializers.
Public fieldLabels
Total labels.
Public fieldLambdaExpressions
Total lambda expressions.
Public fieldLines
Total source lines in all Projects.
Public fieldLiterals
Total literals.
Public fieldLocals
Total local variable declarations.
Public fieldLocals_Const
Total local constant declarations.
Public fieldLocals_Multi
Total local variable declarations that define multiple locals in a single statement.
Public fieldLocks
Total 'lock' statements.
Public fieldLoops
Total loop statements.
Public fieldLoops_For
Total 'for' loops.
Public fieldLoops_ForEach
Total 'foreach' loops.
Public fieldLoops_While
Total 'while' and 'do...while' loops.
Public fieldMAIN_COUNTERS
Public fieldMessages
Total messages.
Public fieldMethods
Total method declarations.
Public fieldMethods_Abstract
Total abstract method declarations.
Public fieldMethods_Constructors
Total constructor declarations.
Public fieldMethods_Destructors
Total destructor declarations.
Public fieldMethods_Generic
Total generic method declarations.
Public fieldMethods_Getters
Total property 'get' method declarations.
Public fieldMethods_Operators
Total operator overload declarations.
Public fieldMethods_Partial
Total partial method declarations.
Public fieldMethods_Setters
Total property 'set' method declarations.
Public fieldMethods_Static
Total static method declarations.
Public fieldMethodsPerClass
Average Methods per Class.
Public fieldOperands
Total operands.
Public fieldOperators
Total operators.
Public fieldOperators_Conditional
Total '?:' expressions.
Public fieldOperators_Dot
Total '.' operators.
Public fieldParameters
Total method parameter declarations.
Public fieldProjects
Total Projects in the Solution.
Public fieldProperties
Total property declarations.
Public fieldProperties_Events
Total property-style event declarations.
Public fieldProperties_Indexers
Total indexer declarations.
Public fieldQueryExpressions
Total query (LINQ) expressions and continuations.
Public fieldQueryExpressions_Clauses
Total query clauses.
Public fieldReferences
Total symbolic references.
Public fieldReturns
Total 'return' statements.
Public fieldSLOC
Total SLOC in all Projects (lines with at least one identifier).
Public fieldSLOCPerClass
Average SLOC per Class.
Public fieldSLOCPerMethod
Average SLOC per Method.
Public fieldStatements
Total statements.
Public fieldSuggestionMessages
Total suggestion messages.
Public fieldTypeParameters
Total type parameter declarations.
Public fieldTypes
Total type declarations.
Public fieldTypes_Classes
Total class declarations.
Public fieldTypes_Classes_Abstract
Total abstract class declarations.
Public fieldTypes_Classes_Static
Total static class declarations.
Public fieldTypes_Delegates
Total delegate declarations.
Public fieldTypes_Enums
Total enum declarations.
Public fieldTypes_Generic
Total generic types.
Public fieldTypes_Interfaces
Total interface declarations.
Public fieldTypes_Partial
Total partial types.
Public fieldTypes_Structs
Total struct declarations.
Public fieldUnchecked
Total 'unchecked' statements or expressions.
Public fieldUndocumented
Total undocumented features.
Public fieldUnrecognizedCodeFragments
Total unrecognized code fragments (parse errors).
Public fieldUnresolvedReferences
Total references which are currently unresolved.
Public fieldUnsafes
Total 'unsafe' statements.
Public fieldUsingDirectives
Total 'using' directives (NOT statements).
Public fieldWarningMessages
Total warning messages.
Public fieldYields
Total 'yield break' and 'yield return' statements.
Top
See Also