Pattern: Cyclomatic complexity is too high
Issue: -
Cyclomatic complexity is a measure of code complexity. Enforcing a maximum complexity per function helps to keep code readable and maintainable.
(int) the maximum function complexity
[rule.cyclomatic]
arguments =[3]