CAST Engineering Dashboard - Violations - No Violation - Avoid Nested Loops QR for ABAP
Purpose
Some violations are missing for this QR.
Applicable in CAST Version
| Release | Yes/No |
|---|---|
| 8.3.x | ✅ |
Applicable RDBMS
| RDBMS | Yes/No |
|---|---|
| CSS | ✅ |
Details
If the issue is for no violation for metric “Avoid Nested Loops” (ABAP), you can consider reviewing the code to see the level of nested loop the code has since the MAV3 metric computed for ABAP is with more than 3 levels. So any object with level of nesting <= 3 will not be considered for violations.
For example, the below code is from a customer code where the Function and Function pool were not in violation despite having nested loops as the level of nesting was only 2.

Note: A documentation issue has been reported for R&D to update the metric name and the description to something relevant. Since the current description and metric can be confusing as it does not give any idea of the level of nested loops. This has been seen with 7.0.16 version and ABAP technology.
Notes/comments
Related Pages
CAST Engineering Dashboard - Violations - False violation or no violation