Skip to Main Content Skip to Search
Accelerating the pace of engineering and science

Cyclomatic Complexity

Generating cyclomatic complexity metrics with Polyspace

Cyclomatic complexity metrics are an important aspect of determining the quality of software. It provides insight into the overall code complexity metrics of functions or software components by quantifying the number of linearly independent paths or decision logic. Cyclomatic complexity metrics are an important indicator of your source code’s readability, maintainability, and portability.

You can calculate cyclomatic complexity using static code analysis tools. Polyspace tools are static analysis tools that produce cyclomatic complexity and other code complexity metrics. You can generate these metrics for each version or build of software. You use a web-based dashboard to monitor cyclomatic and other code complexity metrics. You can drill down to the function level to obtain more detailed information about the software. You can also apply thresholds to check if certain software quality objectives have been met.

Contact sales
Trial software