Cyclomatic complexity is
one measure of structural complexity. Other metrics bring out other facets of
complexity, including both structural and computational complexity, as shown in
Table.
Table : Other Facets of Complexity
Complexity Measurement |
Primary Measure of |
Halstead Complexity Measures |
Algorithmic complexity, measured by
counting operators and operands |
Henry and Kafura metrics |
Coupling between modules (parameters,
global variables, calls) |
Bowles metrics |
Module and system complexity; coupling
via parameters and global variables |
Troy and Zweben metrics |
Modularity or coupling; complexity of
structure (maximum depth of structure chart); calls-to and called-by |
Ligier metrics |
Modularity of the structure chart |