Excessive McCabe Cyclomatic Complexity

Incomplete Base
Structure: Simple
Description

The code contains McCabe cyclomatic complexity that exceeds a desirable maximum.

Extended Description

This issue makes it more difficult to understand and/or maintain the product, which indirectly affects security by making it more difficult or time-consuming to find and/or fix vulnerabilities. It also might make it easier to introduce vulnerabilities.

References 3
Providing a Framework for Effective Software Quality Assessment
Robert A. Martin and Lawrence H. Shafer
07-1996
ID: REF-963
Cyclomatic Complexity
Wikipedia
13-04-2018
ID: REF-964
Automated Source Code Maintainability Measure (ASCMM)
Object Management Group (OMG)
01-2016
ID: REF-960
Related Weaknesses
Taxonomy Mapping
  • OMG ASCMM