PMD Results

The following document contains the results of PMD.

Summary

FilesErrors
1424

Files

FilesViolations
org/apache/bcel/classfile/JavaClass.java 1
org/apache/bcel/generic/Instruction.java 1
org/apache/bcel/generic/InstructionList.java 1
org/apache/bcel/generic/MethodGen.java 3
org/apache/bcel/util/Class2HTML.java 2
org/apache/bcel/util/ClassPath.java 1
org/apache/bcel/util/CodeHTML.java 5
org/apache/bcel/util/InstructionFinder.java 2
org/apache/bcel/util/SyntheticRepository.java 1
org/apache/bcel/verifier/statics/Pass1Verifier.java 1
org/apache/bcel/verifier/statics/Pass2Verifier.java 1
org/apache/bcel/verifier/statics/Pass3aVerifier.java 2
org/apache/bcel/verifier/structurals/ControlFlowGraph.java 1
org/apache/bcel/verifier/structurals/InstConstraintVisitor.java 2

org/apache/bcel/classfile/JavaClass.java

ViolationLine
Avoid empty catch blocks 468

org/apache/bcel/generic/Instruction.java

ViolationLine
Ensure you override both equals() and hashCode() 289

org/apache/bcel/generic/InstructionList.java

ViolationLine
Avoid unused local variables such as 'ctargets' 1073

org/apache/bcel/generic/MethodGen.java

ViolationLine
Avoid empty catch blocks 438
Avoid empty catch blocks 504
Avoid empty catch blocks 556

org/apache/bcel/util/Class2HTML.java

ViolationLine
Avoid unused local variables such as 'method_html' 88
Avoid empty catch blocks 203

org/apache/bcel/util/ClassPath.java

ViolationLine
Avoid empty catch blocks 181

org/apache/bcel/util/CodeHTML.java

ViolationLine
Avoid unused private fields such as 'methods' 46
Avoid unused local variables such as 'nargs' 255
Avoid unused local variables such as 'reserved' 256
Avoid unused formal parameters such as 'method' 365
Avoid unused local variables such as 'match' 429

org/apache/bcel/util/InstructionFinder.java

ViolationLine
Avoid unused imports such as 'Instruction' 29
Avoid unused private methods such as 'pattern2string' 451

org/apache/bcel/util/SyntheticRepository.java

ViolationLine
Avoid unused private fields such as 'DEFAULT_PATH' 50

org/apache/bcel/verifier/statics/Pass1Verifier.java

ViolationLine
Avoid empty catch blocks 61

org/apache/bcel/verifier/statics/Pass2Verifier.java

ViolationLine
Avoid unused formal parameters such as 'name' 1289

org/apache/bcel/verifier/statics/Pass3aVerifier.java

ViolationLine
Avoid unused local variables such as 'f_type' 593
Avoid unused local variables such as 'o_type' 594

org/apache/bcel/verifier/structurals/ControlFlowGraph.java

ViolationLine
Avoid unused private fields such as 'method_gen' 394

org/apache/bcel/verifier/structurals/InstConstraintVisitor.java

ViolationLine
Avoid empty 'if' statements 459
Avoid empty 'if' statements 1223