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:
Back to Rules
cached: 03/22/2023 2:51:23.000 AM