PMD Results
The following document contains the results of PMD 4.2.2.
Files
org/apache/xbean/spring/context/ClassPathXmlApplicationContext.java
Violation |
Line |
Avoid unused imports such as 'java.lang.reflect.Constructor' |
20 |
Avoid unused imports such as 'org.springframework.beans.factory.support.BeanDefinitionRegistry' |
26 |
Avoid unused imports such as 'org.springframework.core.SpringVersion' |
31 |
org/apache/xbean/spring/context/XmlWebApplicationContext.java
Violation |
Line |
No need to import a type that lives in the same package |
23 |
org/apache/xbean/spring/context/impl/PropertyEditorHelper.java
Violation |
Line |
Avoid empty catch blocks |
66 - 67 |
Avoid empty catch blocks |
68 - 69 |
org/apache/xbean/spring/context/impl/QNameReflectionHelper.java
Violation |
Line |
Avoid empty catch blocks |
82 - 84 |
org/apache/xbean/spring/context/impl/XBeanHelper.java
Violation |
Line |
Avoid unused local variables such as 'spring20Clazz'. |
36 |
org/apache/xbean/spring/context/v2/XBeanNamespaceHandlerResolver.java
Violation |
Line |
Avoid empty catch blocks |
33 - 35 |
org/apache/xbean/spring/context/v2c/XBeanBeanDefinitionParserDelegate.java
Violation |
Line |
Avoid unused imports such as 'org.apache.xbean.spring.context.impl.PropertyEditorHelper' |
22 |
org/apache/xbean/spring/context/v2c/XBeanNamespaceHandler.java
Violation |
Line |
Avoid empty if statements |
697 - 699 |
These nested if statements could be combined |
799 - 806 |
Avoid empty catch blocks |
830 - 832 |
org/apache/xbean/spring/context/v2c/XBeanQNameHelper.java
Violation |
Line |
Avoid empty catch blocks |
96 - 97 |
Avoid empty catch blocks |
104 - 105 |
org/apache/xbean/spring/generator/Type.java
Violation |
Line |
Overriding method merely calls super |
80 - 82 |
Overriding method merely calls super |
84 - 86 |
org/apache/xbean/spring/generator/Utils.java
Violation |
Line |
Avoid empty catch blocks |
85 - 86 |
org/apache/xbean/spring/generator/WikiDocumentationGenerator.java
Violation |
Line |
Avoid unused method parameters such as 'namespaceMapping'. |
136 - 153 |
Avoid unused method parameters such as 'refercencedTypes'. |
155 - 163 |
Avoid unused method parameters such as 'namespaceMapping'. |
172 - 190 |
org/apache/xbean/spring/generator/XsdGenerator.java
Violation |
Line |
Avoid unused method parameters such as 'namespaceMapping'. |
134 - 142 |