PMD Results

The following document contains the results of PMD 4.2.5.

Files

org/apache/maven/archetype/DefaultArchetypeManager.java

ViolationLine
Avoid empty catch blocks243 - 245

org/apache/maven/archetype/common/DefaultPomManager.java

ViolationLine
Error while parsing /home/herve/projets/maven/trunks/archetype/target/checkout/archetype-common/src/main/java/org/apache/maven/archetype/common/DefaultPomManager.java: Encountered " "@" "@ "" at line 111, column 19. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "false" ... "float" ... "int" ... "long" ... "new" ... "null" ... "short" ... "super" ... "this" ... "true" ... "void" ... <INTEGER_LITERAL> ... <FLOATING_POINT_LITERAL> ... <HEX_FLOATING_POINT_LITERAL> ... <CHARACTER_LITERAL> ... <STRING_LITERAL> ... <IDENTIFIER> ... "(" ... "++" ... "--" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... 0

org/apache/maven/archetype/common/MavenJDOMWriter.java

ViolationLine
Avoid unused local variables such as 'domIndex'.1232

org/apache/maven/archetype/common/util/Format.java

ViolationLine
Avoid empty catch blocks500 - 502
Avoid empty catch blocks529 - 531

org/apache/maven/archetype/common/util/XMLOutputter.java

ViolationLine
Avoid empty if statements434 - 437
Avoid empty catch blocks604 - 606
Avoid empty catch blocks624 - 626
Avoid empty catch blocks644 - 646
Avoid empty catch blocks663 - 665
Avoid empty catch blocks683 - 685
Avoid empty catch blocks703 - 705
Avoid empty catch blocks724 - 726
Avoid empty catch blocks744 - 746
Avoid empty catch blocks764 - 766
Avoid empty if statements1160 - 1164
These nested if statements could be combined1231 - 1239
These nested if statements could be combined1234 - 1238

org/apache/maven/archetype/creator/FilesetArchetypeCreator.java

ViolationLine
Avoid unused method parameters such as 'directory'.792 - 816
Avoid unused method parameters such as 'keepParent'.1074 - 1176
Avoid unused method parameters such as 'directory'.1280 - 1325
Avoid unused private methods such as 'removePackage(List,String)'.1327
Avoid unused method parameters such as 'archetypeDescriptor'.1346 - 1366

org/apache/maven/archetype/old/DefaultOldArchetype.java

ViolationLine
These nested if statements could be combined295 - 324