Skip to main content
. 2024 Feb 29;10:e1838. doi: 10.7717/peerj-cs.1838

Table 1. Static metrics (Ferenc et al., 2019; Viszkok, Hegedus & Ferenc, 2021).

Metric Description
CC Number of Clone Coverage
CCL Number of Clone Classes
CCO Number of Clone Complexity
CI Number of Clone Instances
CLC Number of Clone Line Coverage
LDC Number of Lines of Duplicated Code
McCC and CYCL Number of Cyclomatic Complexity
NL Number of Nesting Level
NLE Number of Nesting Level without else-if
CD Number of Comment Density
TCD Total Comment Density
CLOC Number of Comment Lines of Code
TCLOC Total Comment Lines of Code
DLOC Number of Documentation Lines of Code
LLOC Number of Logical Lines of Code
TLLOC Total of Logical Lines of Code
LOC Number of Lines of Code
TLOC Total Lines of Code
NOS Number of Statements
TNOS Total Number of Statements
NUMPAR and PARAMS Number of Parameters
HOR D Number of Distinct Halstead Operators
HOR T Number of Total Halstead Operators
HON D Number of Distinct Halstead Operands
HON T Number of Total Halstead Operands
HLEN Halstead Length
HVOC Halstead Vocabulary Size
HDIFF Halstead Difficulty
HVOL Halstead Volume
HEFF Halstead Effort
HBUGS Number of Halstead Bugs
HTIME Halstead Time
CYCL_DENS Cyclomatic Density
WarningInfo ESLint Info priority Warnings
WarningMinor ESLint Minor priority Warnings
WarningMajor ESLint Major priority Warnings
WarningCritical ESLint Critical priority Warnings
WarningBlocker ESLint Blocker priority Warnings