Metrics Glossary


Cyclomatic:The measure of the complexity of a function's decision structure. The cyclomatic complexity is also the number of basis, or independent, paths through a module. Sometimes also called the "McCabe Complexity" after its originator.
For a precise definition see:
NIST Special Publication 500-235 Structured Testing:
A Testing Methodology Using the Cyclomatic Complexity Metric
http://hissa.ncsl.nist.gov/sw_assurance/strtest.html

Declarations: total number of declarations

Lines: total lines (in a function or file or project)

Lines Blank: total lines without any code/comment

Lines Code: total lines that have any code on them

Lines Comment: total lines that have comments on them

Lines Declarative: total lines that have declarative Ada code on them

Lines Executable: total lines that have executable Ada code on them

Ratio Comment/Code: comment lines / code lines

Modified: cyclomatic except each case statement is not counted;the entire switch counts as 1

Strict: Cyclomatic complexity except each short-circuit operator adds 1 to the complexity.

Essential: Essential complexity of a program unit. Measures amount of unstructured code in a module

Statements executable: total statements in executable Ada code

Statements declarative: total statements in declarative Ada code

Note, code+comment+blank != lines, as some lines might have both code and comment