PMD Results

The following document contains the results of PMD 5.3.2.

Files

org/codehaus/modello/plugin/java/JavaModelloGenerator.java

Violation Line
These nested if statements could be combined 266273
These nested if statements could be combined 15271531
These nested if statements could be combined 22152218

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

Violation Line
These nested if statements could be combined 287292

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

Violation Line
Useless parentheses. 321
Useless parentheses. 382
Useless parentheses. 387
Useless parentheses. 387
Useless parentheses. 387
Useless parentheses. 392
Useless parentheses. 392
Useless parentheses. 392

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

Violation Line
Useless parentheses. 289
Useless parentheses. 289
Useless parentheses. 414
Useless parentheses. 414

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

Violation Line
These nested if statements could be combined 203204

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

Violation Line
Useless parentheses. 167
Useless parentheses. 383

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

Violation Line
Useless parentheses. 142
Useless parentheses. 142
These nested if statements could be combined 232237

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

Violation Line
Avoid modifiers which are implied by the context 91
Avoid modifiers which are implied by the context 97
Avoid modifiers which are implied by the context 99

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

Violation Line
Useless parentheses. 148
Useless parentheses. 148

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

Violation Line
Useless parentheses. 127
Useless parentheses. 127

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

Violation Line
Useless parentheses. 221
Useless parentheses. 230
Useless parentheses. 239
Useless parentheses. 248

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

Violation Line
Useless parentheses. 166
Useless parentheses. 166

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

Violation Line
Avoid empty catch blocks 289291
An empty statement (semicolon) not part of a loop 292
Avoid empty catch blocks 307309
An empty statement (semicolon) not part of a loop 310
Avoid empty catch blocks 325327
An empty statement (semicolon) not part of a loop 328
Avoid empty catch blocks 343345
An empty statement (semicolon) not part of a loop 346
Avoid empty catch blocks 362364
An empty statement (semicolon) not part of a loop 365
Avoid empty catch blocks 382384
Avoid empty catch blocks 401403
An empty statement (semicolon) not part of a loop 404
Avoid empty catch blocks 419421
An empty statement (semicolon) not part of a loop 422
Avoid empty catch blocks 437439
An empty statement (semicolon) not part of a loop 440
Avoid empty catch blocks 457459
An empty statement (semicolon) not part of a loop 460
Avoid empty catch blocks 470472
An empty statement (semicolon) not part of a loop 473
Avoid empty catch blocks 486488
An empty statement (semicolon) not part of a loop 489
Avoid empty catch blocks 504506
An empty statement (semicolon) not part of a loop 507
Avoid empty catch blocks 521523
An empty statement (semicolon) not part of a loop 524
Avoid empty catch blocks 540542
An empty statement (semicolon) not part of a loop 543
Avoid empty catch blocks 558560
An empty statement (semicolon) not part of a loop 561
Avoid empty catch blocks 596598
An empty statement (semicolon) not part of a loop 599
Avoid empty catch blocks 626628
An empty statement (semicolon) not part of a loop 629

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

Violation Line
Useless parentheses. 379
Useless parentheses. 379
Useless parentheses. 706
Useless parentheses. 706
Useless parentheses. 860

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

Violation Line
Useless parentheses. 165172
Useless parentheses. 165
Useless parentheses. 166
Useless parentheses. 167
Useless parentheses. 168
Useless parentheses. 169
Useless parentheses. 170
Useless parentheses. 171
Useless parentheses. 172
Useless parentheses. 214
Useless parentheses. 214

org/codehaus/modello/plugin/java/metadata/JavaMetadataPlugin.java

Violation Line
Useless parentheses. 130