- 18.07 (released) ...
CA010 - High complexity of nested branches and loops
When the number of nested branches or loops increases, the source code is less readable. This warning is controlled by a complexity threshold preference.
Scope feature Status Enabled Severity Suggestion Applicability All Score 60 Complexity threshold 5
Example of violation
Encapsulate some of the inner branches or loops into a reusable routine.
In the example, it can simply be: