scitools.com

← Metric catalog

Modified Cyclomatic Complexity is one of the source-code metrics Understand computes across 17+ languages — browse them in the GUI, export and track them, or script them with the Python API.

Modified Cyclomatic Complexity

API ID: CyclomaticModified
Also Known As: Modified Cyclomatic Complexity (CC3)
Languages: Ada, Assembly, Basic, C#, C++, Fortran, Java, Jovial, Pascal, Python, Rust, VHDL, Web
Targets: Files, Functions, Modules, Packages, Subprograms

Modified McCabe Cyclomatic complexity.

The Cyclomatic Complexity except that each decision in a multi-decision structure (switch in C/Java, Case in Ada, computed Goto and arithmetic if in FORTRAN) statement is not counted and instead the entire multi-way decision structure counts as 1.

Also known as McCabe - Modified Cyclomatic Complexity (CC3).


Targets By Language: Configuration: