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 169172
Unnecessary final modifier in final class 218221
Avoid empty catch blocks 801804
Avoid empty catch blocks 811814
Avoid empty catch blocks 858861

com/helger/jcodemodel/JDefinedClass.java

Violation Line
These nested if statements could be combined 584585

com/helger/jcodemodel/JEnumConstant.java

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

com/helger/jcodemodel/JExpr.java

Violation Line
Useless parentheses. 410
Useless parentheses. 410

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. 468
Useless parentheses. 468
Useless parentheses. 482
Useless parentheses. 482
Useless parentheses. 484
Useless parentheses. 484
Useless parentheses. 490
Useless parentheses. 490
Useless parentheses. 490
Useless parentheses. 490
These nested if statements could be combined 851852

com/helger/jcodemodel/JMethod.java

Violation Line
Useless parentheses. 593

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 185189

com/helger/jcodemodel/TypedAnnotationWriter.java

Violation Line
These nested if statements could be combined 148149

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 140141