Back to all rules
What this rule checks
Parameter list within limits (5)
Configuration
When off, this rule is excluded from pipeline runs. Changes apply immediately.
Code Examples
PASS — this code satisfies the rule
void drawBall(int x, int y, int size) { }
FAIL — this code triggers the rule
void drawBall(int x, int y, int w, int h,
    int r, int g, int b) { } // 7 params — too many
Overview
Category PDPS
Type Custom Zita
Priority 3 (1 = highest, 5 = lowest)
Status Active
PMD Configuration
Java class nl.utwente.processing.pmd.rules.LongParameterListRule
Message template The function {0} has too many parameters.