PMD Rulesets index: Current Rulesets
List of rulesets and rules contained in each ruleset.
- Basic Velocity: The Basic Velocity ruleset contains basic rules for Apache Velocity pages.
Basic Velocity (vm)
- AvoidDeeplyNestedIfStmts: Avoid creating deeply nested if-then statements since they are harder to read and error-prone to maintain.
- CollapsibleIfStatements: Sometimes two consecutive ‘if’ statements can be consolidated by separating their conditions with a boolean short-circuit operator.