PMD Results
The following document contains the results of PMD 5.0.5.
Files
org/apache/maven/archetype/DefaultArchetypeManager.java
Violation |
Line |
Avoid empty catch blocks |
239–241 |
org/apache/maven/archetype/common/DefaultArchetypeArtifactManager.java
Violation |
Line |
Unnecessary use of fully qualified name 'org.apache.maven.archetype.metadata.ArchetypeDescriptor' due to existing import 'org.apache.maven.archetype.metadata.ArchetypeDescriptor' |
320 |
Unnecessary use of fully qualified name 'org.apache.maven.archetype.metadata.ArchetypeDescriptor' due to existing import 'org.apache.maven.archetype.metadata.ArchetypeDescriptor' |
458 |
org/apache/maven/archetype/common/MavenJDOMWriter.java
Violation |
Line |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
256 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
384 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
440 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
496 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
552 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
608 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
664 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
720 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
776 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
832 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
888 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
944 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
1000 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
1056 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
1112 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
1168 |
Avoid unused local variables such as 'domIndex'. |
1233 |
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 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 |
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'. |
748 |
Avoid unused method parameters such as 'keepParent'. |
1033 |
Avoid unused method parameters such as 'directory'. |
1237 |
Avoid unused private methods such as 'removePackage(List,String)'. |
1284 |
Avoid unused method parameters such as 'archetypeDescriptor'. |
1303 |
org/apache/maven/archetype/old/DefaultOldArchetype.java
Violation |
Line |
These nested if statements could be combined |
296–325 |