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 | 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 | These nested if statements could be combined | 203–206 |
org/codehaus/modello/plugin/AbstractModelloGenerator.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 121–122 |
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 | 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 | These nested if statements could be combined | 3 | 203–206 |
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 | 121–122 |
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 |