This list is intended to be comprehensive, but we do make errors. If you don't see a metric you want,
it may be named differently, or we may have it but forgot to add it to this list, or we may need to add it.
E-mail us and we can sort it out for you.
| Understand API Metric Name and Description | Project | File |
Function or Program Unit | Class | Common Name |
|
| AvgCyclomatic -- Average cyclomatic complexity for all nested functions or methods. | | ACFJPV | | CJP | |
| AvgCyclomaticModified -- Average modified cyclomatic complexity for all nested functions or methods. | | ACFJPV | | CJP | |
| AvgCyclomaticStrict -- Average strict cyclomatic complexity for all nested functions or methods. | | ACJ | | CJP | |
| AvgEssential -- Average essential cyclomatic complexity for all nested functions or methods. | | ACFJ | | CJ | |
| AvgLine -- Average number of lines for all nested functions or methods. | | ACFPV | | CJ | |
| AvgLineBlank -- Average number of blank for all nested functions or methods. | | ACFPV | | CJ | |
| AvgLineCode -- Average number of lines containing source code for all nested functions or methods. | | ACFPV | | CJ | |
| AvgLineComment -- Average number of lines containing comment for all nested functions or methods. | | ACFPV | | CJ | |
| CountClassBase -- Number of immediate base classes. | | | | CJ | IFANIN |
| CountClassCoupled -- Number of other classes coupled to. | | | | CJ | CBO, Coupling between Object classes |
| CountClassDerived -- Number of immediate subclasses. | | | | CJ | NOC, Number Of Children |
| CountDeclClass -- Number of classes. | CJ | CJ | | | |
| CountDeclClassMethod -- Number of class methods. | | | | CJ | |
| CountDeclClassVariable -- Number of class variables. | | | | CJ | |
| CountDeclFile -- Number of files. | ACFJPV | | | | |
| CountDeclFileCode -- Number of code files. | C | | | | |
| CountDeclFileHeader -- Number of header files. | C | | | | |
| CountDeclFunction -- Number of functions. | CJ | CJ | | | |
| CountDeclInstanceMethod -- Number of instance methods. | | | | CJ | NIM |
| CountDeclInstanceVariable -- Number of instance variables. | | | | CJ | NIV |
| CountDeclInstanceVariablePrivate -- Number of private instance variables. | | | | C | |
| CountDeclInstanceVariableProtected -- Number of protected instance variables. | | | | C | |
| CountDeclInstanceVariablePublic -- Number of public instance variables. | | | | C | |
| CountDeclLibunit -- Number of library units. | A | | | | |
| CountDeclMethod -- Number of local methods. | | | | CJ | WMC |
| CountDeclMethodAll -- Number of methods, including inherited ones. | | | | CJ | RFC, Response For Class |
| CountDeclMethodConst -- Number of local const methods. | | | | C | |
| CountDeclMethodDefault -- Number of local default visibility methods. | | | | J | |
| CountDeclMethodFriend -- Number of local friend methods. | | | | C | NFM |
| CountDeclMethodPrivate -- Number of local private methods. | | | | CJ | NPRM |
| CountDeclMethodProtected -- Number of local protected methods. | | | | CJ | |
| CountDeclMethodPublic -- Number of local public methods. | | | | CJ | NPM |
| CountDeclModule -- Number of modules. | FP | FPV | F | | |
| CountDeclProgUnit -- Number of program units. | F | F | | | |
| CountDeclSubprogram -- Number of subprograms. | FPV | FPV | FPV | V | |
| CountInput -- Number of calling subprograms plus global variables read. | | | CJ | | FANIN |
| CountLine -- Number of all lines. | ACFJPV | ACFJPV | ACFJPV | ACJV | NL |
| CountLineBlank -- Number of blank lines. | ACFJPV | ACFJPV | ACFJPV | ACJV | BLOC |
| CountLineCode -- Number of lines containing source code. | ACFJPV | ACFJPV | ACFJPV | ACJV | LOC |
| CountLineCodeDecl -- Number of lines containing declarative source code. | AC | AC | AC | AC | |
| CountLineCodeExe -- Number of lines containing executable source code. | AC | AC | AC | AC | |
| CountLineComment -- Number of lines containing comment. | ACFJPV | ACFJPV | ACFJPV | ACJV | CLOC |
| CountLineInactive -- Number of inactive lines. | C | C | C | C | |
| CountLinePreprocessor -- Number of preprocessor lines. | C | C | C | C | |
| CountOutput -- Number of called subprograms plus global variables set. | | | CJ | | FANOUT |
| CountPath -- Number of possible paths, not counting abnormal exits or gotos. | | | CFJ | A | NPATH |
| CountSemicolon -- Number of semicolons. | ACJ | ACJ | ACJ | AJ | |
| CountStmt -- Number of declarative plus executable statements. | ACFJV | ACFJPV | ACFJPV | ACJV | |
| CountStmtDecl -- Number of declarative statements. | ACFJPV | ACFJPV | ACFJPV | ACJV | |
| CountStmtEmpty -- Number of empty statements. | C | C | C | C | |
| CountStmtExe -- Number of executable statements. | ACFJPV | ACFJPV | ACFJPV | ACJ | |
| Cyclomatic -- Cyclomatic complexity. | | | ACFJPV | A | |
| CyclomaticModified -- Modified cyclomatic complexity. | | | ACFJPV | A | |
| CyclomaticStrict -- Strict cyclomatic complexity. | | | ACJPV | A | |
| Essential -- Essential complexity. | | | ACFJ | A | ev(G) |
| Knots -- Measure of overlapping jumps. | | | AC | A | |
| MaxCyclomatic -- Maximum cyclomatic complexity of all nested functions or methods. | | CJ | | CJ | |
| MaxCyclomaticModified -- Maximum modified cyclomatic complexity of all nested functions or methods. | | CJ | | CJ | |
| MaxCyclomaticStrict -- Maximum strict cyclomatic complexity of all nested functions or methods. | | CJ | | CJ | |
| MaxEssentialKnots -- Maximum Knots after structured programming constructs have been removed. | | | AC | A | |
| MaxInheritanceTree -- Maximum depth of class in inheritance tree. | | | | CJ | DIT |
| MaxNesting -- Maximum nesting level of control constructs. | | | ACFJPV | A | |
| MinEssentialKnots -- Minimum Knots after structured programming constructs have been removed. | | | AC | A | |
| RatioCommentToCode -- Ratio of number of comment lines to number of code lines. | ACFJPV | ACJPV | ACFJPV | ACJV | |
| PercentLackOfCohesion -- 100% minus average cohesion for class data members. | | | | CJ | LCOM/LOCM |
| SumCyclomatic -- Sum of cyclomatic complexity of all nested functions or methods. | | CJ | | CJ | WMC |
| SumCyclomaticModified -- Sum of modified cyclomatic complexity of all nested functions or methods. | | CJ | | CJ | |
| SumCyclomaticStrict -- Sum of strict cyclomatic complexity of all nested functions or methods. | | CJ | | CJ | |
| SumEssential -- Sum of essential complexity of all nested functions or methods. | | CJ | | CJ | |