BCEL
Front Page
News and Status
Downloads
Documentation
Manual
FAQ
Get Involved
Projects
Project Documentation
About jakarta-bcel
Project Info
Project Reports
Project License
Change Log
Changes
Developer Activity
JavaDocs
JavaDoc Report
JavaDoc Warnings Report
Source Xref
PMD Report
Development Process

### PMD Results

The following document contains the results of PMD.

### Summary

Files | Errors
--- | ---
14 | 24

### Files

Files | Violations
--- | ---
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

Violation | Line
--- | ---
Avoid empty catch blocks | 468

#### org/apache/bcel/generic/Instruction.java

Violation | Line
--- | ---
Ensure you override both equals() and hashCode() | 289

#### org/apache/bcel/generic/InstructionList.java

Violation | Line
--- | ---
Avoid unused local variables such as 'ctargets' | 1073

#### org/apache/bcel/generic/MethodGen.java

Violation | Line
--- | ---
Avoid empty catch blocks | 438
Avoid empty catch blocks | 504
Avoid empty catch blocks | 556

#### org/apache/bcel/util/Class2HTML.java

Violation | Line
--- | ---
Avoid unused local variables such as 'method_html' | 88
Avoid empty catch blocks | 203

#### org/apache/bcel/util/ClassPath.java

Violation | Line
--- | ---
Avoid empty catch blocks | 181

#### org/apache/bcel/util/CodeHTML.java

Violation | Line
--- | ---
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

Violation | Line
--- | ---
Avoid unused imports such as 'Instruction' | 29
Avoid unused private methods such as 'pattern2string' | 451

#### org/apache/bcel/util/SyntheticRepository.java

Violation | Line
--- | ---
Avoid unused private fields such as 'DEFAULT_PATH' | 50

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

Violation | Line
--- | ---
Avoid empty catch blocks | 61

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

Violation | Line
--- | ---
Avoid unused formal parameters such as 'name' | 1289

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

Violation | Line
--- | ---
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

Violation | Line
--- | ---
Avoid unused private fields such as 'method_gen' | 394

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

Violation | Line
--- | ---
Avoid empty 'if' statements | 459
Avoid empty 'if' statements | 1223