The rule checks whether more than 3 nested If clauses are used in the file or project.
Avoid nested If clauses to improve readability. Refactor to use non-nested If's, flowcharts or switch. Read more about Workflow Design.
In the Project Settings window, select the Workflow Analyzer tab. Find the rule and select the rule, as in the image below:
To modify the threshold simply type in a number and select OK.
The default threshold for ST-MRD-007 is
To reset the value to default right-click the rule in the Project Settings window, and then click Reset to default.
Updated 2 months ago
|About Workflow Analyzer|
|Maintainability and Readability Rules|
|Performance and Reusability Rules|