PMD Results
The following document contains the results of PMD 5.0.2.
Files
org/jadira/scanner/Scanner.java
Violation |
Line |
Avoid unused private methods such as 'jtypeToClass(JType...)'. |
99 |
org/jadira/scanner/classfile/ClassFileResolver.java
Violation |
Line |
Avoid empty catch blocks |
111 - 113 |
Avoid empty catch blocks |
140 - 142 |
org/jadira/scanner/classpath/ClasspathResolver.java
Violation |
Line |
This usage of the Collection.toArray() method will throw a ClassCastException. |
80 |
Avoid empty catch blocks |
176 - 178 |
org/jadira/scanner/classpath/projector/ClasspathProjector.java
Violation |
Line |
These nested if statements could be combined |
44 - 46 |
Avoid empty catch blocks |
139 - 141 |
Avoid empty catch blocks |
162 - 164 |
org/jadira/scanner/classpath/types/JClass.java
Violation |
Line |
Useless parentheses. |
140 |
Useless parentheses. |
144 |
org/jadira/scanner/classpath/types/JInterface.java
Violation |
Line |
Useless parentheses. |
51 |
org/jadira/scanner/classpath/types/JOperation.java
Violation |
Line |
Unnecessary use of fully qualified name 'javassist.bytecode.annotation.Annotation' due to existing import 'javassist.bytecode.annotation.Annotation' |
81 |
Unnecessary use of fully qualified name 'javassist.bytecode.annotation.Annotation' due to existing import 'javassist.bytecode.annotation.Annotation' |
89 |
org/jadira/scanner/classpath/types/JPackage.java
Violation |
Line |
Useless parentheses. |
71 |
Useless parentheses. |
72 |
Useless parentheses. |
72 - 73 |
Useless parentheses. |
73 |
Useless parentheses. |
85 |
Useless parentheses. |
98 |
Unnecessary use of fully qualified name 'java.lang.annotation.Annotation' due to existing import 'java.lang.annotation.Annotation' |
130 |
Useless parentheses. |
135 |
org/jadira/scanner/classpath/types/JType.java
Violation |
Line |
Useless parentheses. |
52 |
org/jadira/scanner/classpath/types/JVariable.java
Violation |
Line |
Useless parentheses. |
46 |
org/jadira/scanner/core/helper/FileUtils.java
Violation |
Line |
Avoid empty catch blocks |
113 - 114 |
Avoid empty catch blocks |
119 - 120 |
org/jadira/scanner/core/helper/filenamefilter/AntPathFilter.java
Violation |
Line |
Useless parentheses. |
105 |
Useless parentheses. |
105 |
org/jadira/scanner/core/spi/AbstractResolver.java
Violation |
Line |
Useless parentheses. |
118 |
org/jadira/scanner/core/utils/reflection/ClassLoaderUtils.java
Violation |
Line |
Avoid empty catch blocks |
73 - 75 |
org/jadira/scanner/file/projector/AntPathProjector.java
Violation |
Line |
Useless parentheses. |
51 |
Useless parentheses. |
63 |