GlobalVarInitRule
What this rule checks
Declares at least one global variable with an initializer (e.g. int score = 0, not just int score)
Configuration
When off, this rule is excluded from pipeline runs. Changes apply immediately.
Code Examples
Overview
| Category | Topic Variables |
| Level | Basic |
| Type | Custom Zita |
| Priority | 3 (1 = highest, 5 = lowest) |
| Status | Active |
PMD Configuration
| Java class | nl.utwente.processing.pmd.rules.GlobalVarInitRule |
| Message template | No global variable is declared with an initializer. |