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 252258
CollapsibleIfStatements These nested if statements could be combined 15191522
CollapsibleIfStatements These nested if statements could be combined 20802082
org/codehaus/modello/plugin/java/javasource/JClass.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 245249
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 205209
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 261262
UnnecessarySemicolon Unnecessary semicolon 263
EmptyCatchBlock Avoid empty catch blocks 274275
UnnecessarySemicolon Unnecessary semicolon 276
EmptyCatchBlock Avoid empty catch blocks 287288
UnnecessarySemicolon Unnecessary semicolon 289
EmptyCatchBlock Avoid empty catch blocks 300301
UnnecessarySemicolon Unnecessary semicolon 302
EmptyCatchBlock Avoid empty catch blocks 313314
UnnecessarySemicolon Unnecessary semicolon 315
EmptyCatchBlock Avoid empty catch blocks 327328
EmptyCatchBlock Avoid empty catch blocks 341342
UnnecessarySemicolon Unnecessary semicolon 343
EmptyCatchBlock Avoid empty catch blocks 354355
UnnecessarySemicolon Unnecessary semicolon 356
EmptyCatchBlock Avoid empty catch blocks 367368
UnnecessarySemicolon Unnecessary semicolon 369
EmptyCatchBlock Avoid empty catch blocks 382383
UnnecessarySemicolon Unnecessary semicolon 384
EmptyCatchBlock Avoid empty catch blocks 390391
UnnecessarySemicolon Unnecessary semicolon 392
EmptyCatchBlock Avoid empty catch blocks 400401
UnnecessarySemicolon Unnecessary semicolon 402
EmptyCatchBlock Avoid empty catch blocks 412413
UnnecessarySemicolon Unnecessary semicolon 414
EmptyCatchBlock Avoid empty catch blocks 424425
UnnecessarySemicolon Unnecessary semicolon 426
EmptyCatchBlock Avoid empty catch blocks 437438
UnnecessarySemicolon Unnecessary semicolon 439
EmptyCatchBlock Avoid empty catch blocks 449450
UnnecessarySemicolon Unnecessary semicolon 451
EmptyCatchBlock Avoid empty catch blocks 480481
UnnecessarySemicolon Unnecessary semicolon 482
EmptyCatchBlock Avoid empty catch blocks 502503
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. 154161
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 252258
CollapsibleIfStatements These nested if statements could be combined 3 15191522
CollapsibleIfStatements These nested if statements could be combined 3 20802082

org/codehaus/modello/plugin/java/javasource/JClass.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 245249

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 205209

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 261262
UnnecessarySemicolon Unnecessary semicolon 3 263
EmptyCatchBlock Avoid empty catch blocks 3 274275
UnnecessarySemicolon Unnecessary semicolon 3 276
EmptyCatchBlock Avoid empty catch blocks 3 287288
UnnecessarySemicolon Unnecessary semicolon 3 289
EmptyCatchBlock Avoid empty catch blocks 3 300301
UnnecessarySemicolon Unnecessary semicolon 3 302
EmptyCatchBlock Avoid empty catch blocks 3 313314
UnnecessarySemicolon Unnecessary semicolon 3 315
EmptyCatchBlock Avoid empty catch blocks 3 327328
EmptyCatchBlock Avoid empty catch blocks 3 341342
UnnecessarySemicolon Unnecessary semicolon 3 343
EmptyCatchBlock Avoid empty catch blocks 3 354355
UnnecessarySemicolon Unnecessary semicolon 3 356
EmptyCatchBlock Avoid empty catch blocks 3 367368
UnnecessarySemicolon Unnecessary semicolon 3 369
EmptyCatchBlock Avoid empty catch blocks 3 382383
UnnecessarySemicolon Unnecessary semicolon 3 384
EmptyCatchBlock Avoid empty catch blocks 3 390391
UnnecessarySemicolon Unnecessary semicolon 3 392
EmptyCatchBlock Avoid empty catch blocks 3 400401
UnnecessarySemicolon Unnecessary semicolon 3 402
EmptyCatchBlock Avoid empty catch blocks 3 412413
UnnecessarySemicolon Unnecessary semicolon 3 414
EmptyCatchBlock Avoid empty catch blocks 3 424425
UnnecessarySemicolon Unnecessary semicolon 3 426
EmptyCatchBlock Avoid empty catch blocks 3 437438
UnnecessarySemicolon Unnecessary semicolon 3 439
EmptyCatchBlock Avoid empty catch blocks 3 449450
UnnecessarySemicolon Unnecessary semicolon 3 451
EmptyCatchBlock Avoid empty catch blocks 3 480481
UnnecessarySemicolon Unnecessary semicolon 3 482
EmptyCatchBlock Avoid empty catch blocks 3 502503
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 154161
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