PMD Results

The following document contains the results of PMD 7.17.0.

Violations By Priority

Priority 3

org/codehaus/modello/core/DefaultModelloCore.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'modelReader'. 102
UnusedFormalParameter Avoid unused method parameters such as 'model'. 102

org/codehaus/modello/core/io/ModelReader.java

Rule Violation Line
EmptyControlStatement Empty if statement 110–125
EmptyControlStatement Empty else statement 123–125
EmptyControlStatement Empty if statement 179–188
EmptyControlStatement Empty if statement 207–220
EmptyControlStatement Empty if statement 254–274
EmptyControlStatement Empty if statement 329–336
EmptyControlStatement Empty if statement 349–354
EmptyControlStatement Empty if statement 371–376

org/codehaus/modello/model/Model.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 90–91

org/codehaus/modello/model/ModelClass.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 203–206

org/codehaus/modello/plugin/AbstractModelloGenerator.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 154–155

Priority 4

org/codehaus/modello/model/Version.java

Rule Violation Line
UselessParentheses Useless parentheses around `this.greaterThan(range.getFromVersion())`. 184
UselessParentheses Useless parentheses around `this.lesserThan(range.getToVersion())`. 184

Files

org/codehaus/modello/core/DefaultModelloCore.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'modelReader'. 3 102
UnusedFormalParameter Avoid unused method parameters such as 'model'. 3 102

org/codehaus/modello/core/io/ModelReader.java

Rule Violation Priority Line
EmptyControlStatement Empty if statement 3 110–125
EmptyControlStatement Empty else statement 3 123–125
EmptyControlStatement Empty if statement 3 179–188
EmptyControlStatement Empty if statement 3 207–220
EmptyControlStatement Empty if statement 3 254–274
EmptyControlStatement Empty if statement 3 329–336
EmptyControlStatement Empty if statement 3 349–354
EmptyControlStatement Empty if statement 3 371–376

org/codehaus/modello/model/Model.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 90–91

org/codehaus/modello/model/ModelClass.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 203–206

org/codehaus/modello/model/Version.java

Rule Violation Priority Line
UselessParentheses Useless parentheses around `this.greaterThan(range.getFromVersion())`. 4 184
UselessParentheses Useless parentheses around `this.lesserThan(range.getToVersion())`. 4 184

org/codehaus/modello/plugin/AbstractModelloGenerator.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 154–155

Suppressed Violations

Filename Rule message Suppression type Reason
org/codehaus/modello/core/DefaultModelloCore.java Avoid unused private methods such as 'upgradeModifiedAttribute(String, Map<String, String>, Map<String, String>, String)'. @suppresswarnings