We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c25dfa commit 38e0e55Copy full SHA for 38e0e55
rules/S134/apex/rule.adoc
@@ -17,11 +17,11 @@ if (i == 1) // Compliant - depth = 1
17
for (Integer j = 0; j < 10; j++) { // Compliant - depth = 2
18
/* ... */
19
Integer k = j + 1;
20
- if (k == 3){ // Compliant - depth = 3, not exceeding the limit
+ if (k == 3) { // Compliant - depth = 3, not exceeding the limit
21
22
- while (k < 10){ // Noncompliant - depth = 4
+ while (k < 10) { // Noncompliant - depth = 4
23
24
- if (k == 1){ // Depth = 5, exceeding the limit, but issues are only reported on depth = 4
+ if (k == 1) { // Depth = 5, exceeding the limit, but issues are only reported on depth = 4
25
26
}
27
0 commit comments