View Categories

Avoid Excessive Standard Cyclomatic Complexity

Table of Contents
Impact Area

Manageability

 

Severity

Medium

 

Affected Element

Apex Trigger

Apex  Class

 

Rule ID #

SF-0044

Impact #

Excessive cyclomatic complexity makes the code hard to understand, debug, and maintain. Standard cyclomatic complexity excludes boolean operators from the calculation.

Remediation #

Refactor the code to reduce the complexity of your methods.

Time to fix

60 min

Powered by BetterDocs