Complexity Reports
The Complexity Reports show the complexity and maintainability of the code within an
application landscape with Cyclomatic (McCabe), Halstead, Heuristic, and Maintainability Index
reports. When you conduct a code review, you can use this function to assess code complexity before
and after code changes to improve maintainability.
Cyclomatic Complexity Report
The Cyclomatic complexity Report (or the McCabe Complexity Report) presents Cyclomatic complexity (a broad measure of soundness and confidence for a program) for the selected project entity. Cyclomatic complexity measures the number of linearly-independent paths through a program module.
Halstead Complexity Report
The Halstead Complexity Report generates software metrics that are computed statically without program execution. Halstead complexity can be used to compare the complexity between two programs or two applications.
Heuristic Complexity Report
The Heuristic complexity Report determines the complexity of an application by assigning values to each type of statement available in the programming language. In the setup screen, the statements are arranged in groups to allow giving a value to all statements within the group.
Maintainability Index Report
The Maintainability Index Report is a measurement that is intended to track maintainability and to indicate when it becomes cheaper or less risky to rewrite code instead of changing it. The Maintainability Index report presents the combined maintainability, McCabe, and Halstead complexity measurements for the current project.