PMD Results

The following document contains the results of PMD 5.5.1.

Files

com/helger/jcodemodel/AbstractCodeWriter.java

Violation Line
Avoid empty catch blocks 116119

com/helger/jcodemodel/JCodeModel.java

Violation Line
Avoid empty catch blocks 117120
Avoid empty catch blocks 809812
Avoid empty catch blocks 819822
Avoid empty catch blocks 869872

com/helger/jcodemodel/JDefinedClass.java

Violation Line
These nested if statements could be combined 580581

com/helger/jcodemodel/JExpr.java

Violation Line
Useless parentheses. 402
Useless parentheses. 402

com/helger/jcodemodel/JFieldVar.java

Violation Line
Overriding method merely calls super 133137

com/helger/jcodemodel/JFormatter.java

Violation Line
Do not use if statements that are always true or always false 139
Useless parentheses. 495
Useless parentheses. 495
Useless parentheses. 509
Useless parentheses. 509
Useless parentheses. 511
Useless parentheses. 511
Useless parentheses. 517
Useless parentheses. 517
Useless parentheses. 517
Useless parentheses. 517
These nested if statements could be combined 877878

com/helger/jcodemodel/JMethod.java

Violation Line
Useless parentheses. 588

com/helger/jcodemodel/JOp.java

Violation Line
Useless parentheses. 67
Useless parentheses. 67

com/helger/jcodemodel/JReferencedClass.java

Violation Line
Overriding method merely calls super 196200

com/helger/jcodemodel/TypedAnnotationWriter.java

Violation Line
These nested if statements could be combined 150151

com/helger/jcodemodel/util/JCEqualsHelper.java

Violation Line
Useless parentheses. 91
Useless parentheses. 91
Useless parentheses. 108
Useless parentheses. 108

com/helger/jcodemodel/util/JCValueEnforcer.java

Violation Line
These nested if statements could be combined 111112
These nested if statements could be combined 143144
These nested if statements could be combined 190195
These nested if statements could be combined 214215
These nested if statements could be combined 235236
These nested if statements could be combined 268269
These nested if statements could be combined 307308
These nested if statements could be combined 347348
These nested if statements could be combined 383384
These nested if statements could be combined 419420
These nested if statements could be combined 455456
These nested if statements could be combined 491492
These nested if statements could be combined 527528
These nested if statements could be combined 563564
These nested if statements could be combined 599600
These nested if statements could be combined 635636
These nested if statements could be combined 677678
These nested if statements could be combined 719720
These nested if statements could be combined 759760
These nested if statements could be combined 804813
These nested if statements could be combined 858871
These nested if statements could be combined 915924
These nested if statements could be combined 12261231
These nested if statements could be combined 12781284
These nested if statements could be combined 13321338
These nested if statements could be combined 13861392
These nested if statements could be combined 14321438
These nested if statements could be combined 14771483
These nested if statements could be combined 15221528
These nested if statements could be combined 15391543
These nested if statements could be combined 15551559
These nested if statements could be combined 15711575
These nested if statements could be combined 15871591
These nested if statements could be combined 16031607
These nested if statements could be combined 16201624
These nested if statements could be combined 16371641
These nested if statements could be combined 16531657
These nested if statements could be combined 16691673
These nested if statements could be combined 16851689
These nested if statements could be combined 17011705
These nested if statements could be combined 17171721
These nested if statements could be combined 17341738
These nested if statements could be combined 17511755
These nested if statements could be combined 17671771
These nested if statements could be combined 17831787
These nested if statements could be combined 17991803
These nested if statements could be combined 18151819
These nested if statements could be combined 18311835
These nested if statements could be combined 18481852
These nested if statements could be combined 18651869
These nested if statements could be combined 18811885
These nested if statements could be combined 18971901
These nested if statements could be combined 19131917
These nested if statements could be combined 19291933
These nested if statements could be combined 19451949
These nested if statements could be combined 19621966
These nested if statements could be combined 19791983
These nested if statements could be combined 20292037
These nested if statements could be combined 20832091
These nested if statements could be combined 21372145
These nested if statements could be combined 21912199
These nested if statements could be combined 22452253
These nested if statements could be combined 23022310
These nested if statements could be combined 23592367
These nested if statements could be combined 24132421
These nested if statements could be combined 24672475
These nested if statements could be combined 25212529
These nested if statements could be combined 25752583
These nested if statements could be combined 26292637
These nested if statements could be combined 26862694
These nested if statements could be combined 27432751
These nested if statements could be combined 27622769

com/helger/jcodemodel/writer/FileCodeWriter.java

Violation Line
These nested if statements could be combined 139140