PMD Results
The following document contains the results of PMD 6.55.0.
Violations By Priority
Priority 3
org/codehaus/modello/plugin/java/JavaModelloGenerator.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 252–258 |
CollapsibleIfStatements | These nested if statements could be combined | 1519–1522 |
CollapsibleIfStatements | These nested if statements could be combined | 2080–2082 |
org/codehaus/modello/plugin/java/javasource/JClass.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 245–249 |
org/codehaus/modello/plugin/java/javasource/JConstructor.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty for statement | 186 |
org/codehaus/modello/plugin/java/javasource/JDocComment.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 186 |
org/codehaus/modello/plugin/java/javasource/JInterface.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 205–209 |
org/codehaus/modello/plugin/java/javasource/JMember.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getModifiers': the method is declared in an interface type | 89 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getName': the method is declared in an interface type | 95 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getAnnotations': the method is declared in an interface type | 97 |
org/codehaus/modello/plugin/java/javasource/JSourceWriter.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 261–262 |
UnnecessarySemicolon | Unnecessary semicolon | 263 |
EmptyCatchBlock | Avoid empty catch blocks | 274–275 |
UnnecessarySemicolon | Unnecessary semicolon | 276 |
EmptyCatchBlock | Avoid empty catch blocks | 287–288 |
UnnecessarySemicolon | Unnecessary semicolon | 289 |
EmptyCatchBlock | Avoid empty catch blocks | 300–301 |
UnnecessarySemicolon | Unnecessary semicolon | 302 |
EmptyCatchBlock | Avoid empty catch blocks | 313–314 |
UnnecessarySemicolon | Unnecessary semicolon | 315 |
EmptyCatchBlock | Avoid empty catch blocks | 327–328 |
EmptyCatchBlock | Avoid empty catch blocks | 341–342 |
UnnecessarySemicolon | Unnecessary semicolon | 343 |
EmptyCatchBlock | Avoid empty catch blocks | 354–355 |
UnnecessarySemicolon | Unnecessary semicolon | 356 |
EmptyCatchBlock | Avoid empty catch blocks | 367–368 |
UnnecessarySemicolon | Unnecessary semicolon | 369 |
EmptyCatchBlock | Avoid empty catch blocks | 382–383 |
UnnecessarySemicolon | Unnecessary semicolon | 384 |
EmptyCatchBlock | Avoid empty catch blocks | 390–391 |
UnnecessarySemicolon | Unnecessary semicolon | 392 |
EmptyCatchBlock | Avoid empty catch blocks | 400–401 |
UnnecessarySemicolon | Unnecessary semicolon | 402 |
EmptyCatchBlock | Avoid empty catch blocks | 412–413 |
UnnecessarySemicolon | Unnecessary semicolon | 414 |
EmptyCatchBlock | Avoid empty catch blocks | 424–425 |
UnnecessarySemicolon | Unnecessary semicolon | 426 |
EmptyCatchBlock | Avoid empty catch blocks | 437–438 |
UnnecessarySemicolon | Unnecessary semicolon | 439 |
EmptyCatchBlock | Avoid empty catch blocks | 449–450 |
UnnecessarySemicolon | Unnecessary semicolon | 451 |
EmptyCatchBlock | Avoid empty catch blocks | 480–481 |
UnnecessarySemicolon | Unnecessary semicolon | 482 |
EmptyCatchBlock | Avoid empty catch blocks | 502–503 |
UnnecessarySemicolon | Unnecessary semicolon | 504 |
Priority 4
org/codehaus/modello/plugin/java/javasource/JComment.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 292 |
UselessParentheses | Useless parentheses. | 342 |
UselessParentheses | Useless parentheses. | 346 |
UselessParentheses | Useless parentheses. | 346 |
UselessParentheses | Useless parentheses. | 346 |
UselessParentheses | Useless parentheses. | 350 |
UselessParentheses | Useless parentheses. | 350 |
UselessParentheses | Useless parentheses. | 350 |
org/codehaus/modello/plugin/java/javasource/JCompUnit.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 270 |
UselessParentheses | Useless parentheses. | 270 |
UselessParentheses | Useless parentheses. | 377 |
UselessParentheses | Useless parentheses. | 377 |
org/codehaus/modello/plugin/java/javasource/JDocDescriptor.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 157 |
UselessParentheses | Useless parentheses. | 349 |
org/codehaus/modello/plugin/java/javasource/JInterface.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 133 |
UselessParentheses | Useless parentheses. | 133 |
org/codehaus/modello/plugin/java/javasource/JMethod.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 142 |
UselessParentheses | Useless parentheses. | 142 |
org/codehaus/modello/plugin/java/javasource/JMethodSignature.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 128 |
UselessParentheses | Useless parentheses. | 128 |
org/codehaus/modello/plugin/java/javasource/JModifiers.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 207 |
UselessParentheses | Useless parentheses. | 215 |
UselessParentheses | Useless parentheses. | 223 |
UselessParentheses | Useless parentheses. | 231 |
org/codehaus/modello/plugin/java/javasource/JNaming.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 158 |
UselessParentheses | Useless parentheses. | 158 |
org/codehaus/modello/plugin/java/javasource/JStructure.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 356 |
UselessParentheses | Useless parentheses. | 356 |
UselessParentheses | Useless parentheses. | 643 |
UselessParentheses | Useless parentheses. | 643 |
org/codehaus/modello/plugin/java/javasource/JType.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 154–161 |
UselessParentheses | Useless parentheses. | 154 |
UselessParentheses | Useless parentheses. | 155 |
UselessParentheses | Useless parentheses. | 156 |
UselessParentheses | Useless parentheses. | 157 |
UselessParentheses | Useless parentheses. | 158 |
UselessParentheses | Useless parentheses. | 159 |
UselessParentheses | Useless parentheses. | 160 |
UselessParentheses | Useless parentheses. | 161 |
UselessParentheses | Useless parentheses. | 196 |
UselessParentheses | Useless parentheses. | 196 |
org/codehaus/modello/plugin/java/metadata/JavaMetadataPlugin.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 128 |
Files
org/codehaus/modello/plugin/java/JavaModelloGenerator.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 252–258 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1519–1522 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2080–2082 |
org/codehaus/modello/plugin/java/javasource/JClass.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 245–249 |
org/codehaus/modello/plugin/java/javasource/JComment.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 292 |
UselessParentheses | Useless parentheses. | 4 | 342 |
UselessParentheses | Useless parentheses. | 4 | 346 |
UselessParentheses | Useless parentheses. | 4 | 346 |
UselessParentheses | Useless parentheses. | 4 | 346 |
UselessParentheses | Useless parentheses. | 4 | 350 |
UselessParentheses | Useless parentheses. | 4 | 350 |
UselessParentheses | Useless parentheses. | 4 | 350 |
org/codehaus/modello/plugin/java/javasource/JCompUnit.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 270 |
UselessParentheses | Useless parentheses. | 4 | 270 |
UselessParentheses | Useless parentheses. | 4 | 377 |
UselessParentheses | Useless parentheses. | 4 | 377 |
org/codehaus/modello/plugin/java/javasource/JConstructor.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty for statement | 3 | 186 |
org/codehaus/modello/plugin/java/javasource/JDocComment.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 186 |
org/codehaus/modello/plugin/java/javasource/JDocDescriptor.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 157 |
UselessParentheses | Useless parentheses. | 4 | 349 |
org/codehaus/modello/plugin/java/javasource/JInterface.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 133 |
UselessParentheses | Useless parentheses. | 4 | 133 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 205–209 |
org/codehaus/modello/plugin/java/javasource/JMember.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getModifiers': the method is declared in an interface type | 3 | 89 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getName': the method is declared in an interface type | 3 | 95 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getAnnotations': the method is declared in an interface type | 3 | 97 |
org/codehaus/modello/plugin/java/javasource/JMethod.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 142 |
UselessParentheses | Useless parentheses. | 4 | 142 |
org/codehaus/modello/plugin/java/javasource/JMethodSignature.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 128 |
UselessParentheses | Useless parentheses. | 4 | 128 |
org/codehaus/modello/plugin/java/javasource/JModifiers.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 207 |
UselessParentheses | Useless parentheses. | 4 | 215 |
UselessParentheses | Useless parentheses. | 4 | 223 |
UselessParentheses | Useless parentheses. | 4 | 231 |
org/codehaus/modello/plugin/java/javasource/JNaming.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 158 |
UselessParentheses | Useless parentheses. | 4 | 158 |
org/codehaus/modello/plugin/java/javasource/JSourceWriter.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 261–262 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 263 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 274–275 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 276 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 287–288 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 289 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 300–301 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 302 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 313–314 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 315 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 327–328 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 341–342 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 343 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 354–355 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 356 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 367–368 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 369 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 382–383 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 384 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 390–391 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 392 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 400–401 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 402 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 412–413 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 414 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 424–425 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 426 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 437–438 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 439 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 449–450 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 451 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 480–481 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 482 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 502–503 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 504 |
org/codehaus/modello/plugin/java/javasource/JStructure.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 356 |
UselessParentheses | Useless parentheses. | 4 | 356 |
UselessParentheses | Useless parentheses. | 4 | 643 |
UselessParentheses | Useless parentheses. | 4 | 643 |
org/codehaus/modello/plugin/java/javasource/JType.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 154–161 |
UselessParentheses | Useless parentheses. | 4 | 154 |
UselessParentheses | Useless parentheses. | 4 | 155 |
UselessParentheses | Useless parentheses. | 4 | 156 |
UselessParentheses | Useless parentheses. | 4 | 157 |
UselessParentheses | Useless parentheses. | 4 | 158 |
UselessParentheses | Useless parentheses. | 4 | 159 |
UselessParentheses | Useless parentheses. | 4 | 160 |
UselessParentheses | Useless parentheses. | 4 | 161 |
UselessParentheses | Useless parentheses. | 4 | 196 |
UselessParentheses | Useless parentheses. | 4 | 196 |
org/codehaus/modello/plugin/java/metadata/JavaMetadataPlugin.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 128 |