PMD Results

The following document contains the results of PMD 5.1.2.

Files

org/codehaus/plexus/metadata/ClassComponentDescriptorExtractor.java

Violation Line
Avoid unused local variables such as 'url'. 109

org/codehaus/plexus/metadata/gleaner/AnnotationComponentGleaner.java

Violation Line
Avoid unused method parameters such as 'annClass'. 196
Avoid unused method parameters such as 'cl'. 257
Avoid unused method parameters such as 'c'. 257

org/codehaus/plexus/metadata/gleaner/QDoxComponentGleaner.java

Violation Line
Avoid unused method parameters such as 'tagName'. 503
Avoid unused local variables such as 's'. 505

org/codehaus/plexus/metadata/merge/MXParser.java

Violation Line
These nested if statements could be combined 11601163
Avoid unused local variables such as 'name'. 1758
These nested if statements could be combined 19271929
Avoid unused local variables such as 'prefix'. 1947
These nested if statements could be combined 24422467
Avoid unused local variables such as 'standaloneStart'. 2673
These nested if statements could be combined 28202830
These nested if statements could be combined 28212829
These nested if statements could be combined 28962898

org/codehaus/plexus/metadata/merge/support/AbstractMergeableElement.java

Violation Line
Avoid unused imports such as 'java.util.Iterator' 29

org/codehaus/plexus/metadata/merge/support/AbstractMergeableElementList.java

Violation Line
Avoid unused imports such as 'java.util.Iterator' 28