PMD Results
The following document contains the results of PMD 4.2.5.
Files
org/apache/maven/archetype/DefaultArchetypeManager.java
Violation | Line |
---|
Avoid empty catch blocks | 243 - 245 |
org/apache/maven/archetype/common/DefaultPomManager.java
Violation | Line |
---|
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
Violation | Line |
---|
Avoid unused local variables such as 'domIndex'. | 1232 |
org/apache/maven/archetype/common/util/Format.java
Violation | Line |
---|
Avoid empty catch blocks | 500 - 502 |
Avoid empty catch blocks | 529 - 531 |
org/apache/maven/archetype/common/util/XMLOutputter.java
Violation | Line |
---|
Avoid empty if statements | 434 - 437 |
Avoid empty catch blocks | 604 - 606 |
Avoid empty catch blocks | 624 - 626 |
Avoid empty catch blocks | 644 - 646 |
Avoid empty catch blocks | 663 - 665 |
Avoid empty catch blocks | 683 - 685 |
Avoid empty catch blocks | 703 - 705 |
Avoid empty catch blocks | 724 - 726 |
Avoid empty catch blocks | 744 - 746 |
Avoid empty catch blocks | 764 - 766 |
Avoid empty if statements | 1160 - 1164 |
These nested if statements could be combined | 1231 - 1239 |
These nested if statements could be combined | 1234 - 1238 |
org/apache/maven/archetype/creator/FilesetArchetypeCreator.java
Violation | Line |
---|
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
Violation | Line |
---|
These nested if statements could be combined | 295 - 324 |