CAST Engineering Dashboard - Violations - False Violation - Avoid Artifacts with High Depth of Code
Purpose
Violation for quality rule ‘Avoid Artifacts with High Depth of Code’ seems to be not correct
Applicable in CAST Version
| Release | Yes/No |
|---|---|
| 8.3.x | ✅ |
Applicable RDBMS
| RDBMS | Yes/No |
|---|---|
| CSS | ✅ |
Action Plan
Although the source code seems to have only 2 levels of if/else and no loops,
- Check the source code not for levels of nesting but for the branches. This Quality rule is not dependent on levels but on the control flow.
- In the code check if there are more than 5 branches to if/else.
Notes/comments
Related Pages
CAST Engineering Dashboard - Violations - False violation or no violation