PMD Results

The following document contains the results of PMD 5.3.2.

Files

com/helger/jcodemodel/JCodeModel.java

Violation Line
Avoid empty catch blocks 175176
Unnecessary final modifier in final class 205208
Avoid empty catch blocks 614617
Avoid empty catch blocks 624627
Avoid empty catch blocks 671674
Overriding method merely calls super 950954

com/helger/jcodemodel/JDefinedClass.java

Violation Line
These nested if statements could be combined 564565

com/helger/jcodemodel/JExpr.java

Violation Line
Useless parentheses. 410
Useless parentheses. 410

com/helger/jcodemodel/JFieldVar.java

Violation Line
Do not use if statements that are always true or always false 129

com/helger/jcodemodel/JFormatter.java

Violation Line
Do not use if statements that are always true or always false 138
Useless parentheses. 365
Useless parentheses. 365
Useless parentheses. 379
Useless parentheses. 379
Useless parentheses. 381
Useless parentheses. 381
Useless parentheses. 387
Useless parentheses. 387
Useless parentheses. 387
Useless parentheses. 387
Do not use if statements that are always true or always false 534
These nested if statements could be combined 748749

com/helger/jcodemodel/JOp.java

Violation Line
Useless parentheses. 67
Useless parentheses. 67

com/helger/jcodemodel/TypedAnnotationWriter.java

Violation Line
These nested if statements could be combined 147148

com/helger/jcodemodel/util/JCEqualsHelper.java

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

com/helger/jcodemodel/writer/FileCodeWriter.java

Violation Line
These nested if statements could be combined 122123