ArrayLoopSelfUpdateRule
What this rule checks
A for loop updates an array element from its own array (e.g. a[i] = a[i] + 1, a[i] += 5, a[i]++)
Configuration
When off, this rule is excluded from pipeline runs. Changes apply immediately.
Code Examples
Overview
| Category | Topic Arrays |
| Level | Advanced |
| Type | Custom Zita |
| Priority | 3 (1 = highest, 5 = lowest) |
| Status | Active |
PMD Configuration
| Java class | nl.utwente.processing.pmd.rules.ArrayLoopSelfUpdateRule |
| Message template | No for loop updates an array element from its own array (e.g. a[i] = a[i] + 1). |