Avoid excessive cyclomatic complexity
Impact area
Manageability
Severity
Medium
Affected element
Apex Class
Apex Trigger
Rule ID
SF-0013
Impact
Excessive cyclomatic complexity makes the code hard to understand, debug, and maintain. It is determined by the number of decision points in a method plus one for the method entry.
Remediation
Refactor the code to reduce its complexity.
Time to fix
60 min