PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 3

org/codehaus/modello/core/DefaultModelloCore.java
Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'model'. 102
UnusedFormalParameter Avoid unused method parameters such as 'modelReader'. 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 These nested if statements could be combined 203206
org/codehaus/modello/plugin/AbstractModelloGenerator.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 121122

Priority 4

org/codehaus/modello/model/ModelField.java
Rule Violation Line
UselessParentheses Useless parentheses. 221
org/codehaus/modello/model/Version.java
Rule Violation Line
UselessParentheses Useless parentheses. 184
UselessParentheses Useless parentheses. 184
org/codehaus/modello/plugin/AbstractModelloGenerator.java
Rule Violation Line
UselessParentheses Useless parentheses. 113
UselessParentheses Useless parentheses. 183

Files

org/codehaus/modello/core/DefaultModelloCore.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'model'. 3 102
UnusedFormalParameter Avoid unused method parameters such as 'modelReader'. 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 These nested if statements could be combined 3 203206

org/codehaus/modello/model/ModelField.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 221

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
UselessParentheses Useless parentheses. 4 113
EmptyCatchBlock Avoid empty catch blocks 3 121122
UselessParentheses Useless parentheses. 4 183

Suppressed Violations

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