PMD Results

The following document contains the results of PMD 7.7.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 110125
EmptyControlStatement Empty else statement 123125
EmptyControlStatement Empty if statement 179188
EmptyControlStatement Empty if statement 207220
EmptyControlStatement Empty if statement 254274
EmptyControlStatement Empty if statement 329336
EmptyControlStatement Empty if statement 349354
EmptyControlStatement Empty if statement 371376

org/codehaus/modello/model/Model.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 9091

org/codehaus/modello/model/ModelClass.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 203206

org/codehaus/modello/plugin/AbstractModelloGenerator.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 153154

Priority 4

org/codehaus/modello/model/Version.java

Rule Violation Line
UselessParentheses Useless parentheses. 184
UselessParentheses Useless parentheses. 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 110125
EmptyControlStatement Empty else statement 3 123125
EmptyControlStatement Empty if statement 3 179188
EmptyControlStatement Empty if statement 3 207220
EmptyControlStatement Empty if statement 3 254274
EmptyControlStatement Empty if statement 3 329336
EmptyControlStatement Empty if statement 3 349354
EmptyControlStatement Empty if statement 3 371376

org/codehaus/modello/model/Model.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 9091

org/codehaus/modello/model/ModelClass.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 203206

org/codehaus/modello/model/Version.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 184
UselessParentheses Useless parentheses. 4 184

org/codehaus/modello/plugin/AbstractModelloGenerator.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 153154

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