PMD Results
The following document contains the results of PMD 5.1.2.
Files
org/apache/commons/jcs/jcache/JCSCache.java
Violation |
Line |
Avoid unused method parameters such as 'now'. |
204 |
Avoid unused private methods such as 'close(Object)'. |
955 |
org/apache/commons/jcs/jcache/JCSCachingManager.java
Violation |
Line |
Overriding method merely calls super |
86–88 |
Avoid empty catch blocks |
184–187 |
Useless parentheses. |
362 |
Useless parentheses. |
363 |
org/apache/commons/jcs/jcache/JCSListener.java
Violation |
Line |
Avoid unused private fields such as 'oldValue'. |
37 |
Avoid unused private fields such as 'synchronous'. |
38 |
org/apache/commons/jcs/jcache/cdi/CDIJCacheHelper.java
Violation |
Line |
Avoid using a branching statement as the last in a loop. |
273 |
Useless parentheses. |
468 |
Useless parentheses. |
468 |
org/apache/commons/jcs/jcache/cdi/CacheMethodDetailsImpl.java
Violation |
Line |
Avoid unused imports such as 'java.util.HashSet' |
25 |
Avoid unused imports such as 'java.util.Arrays.asList' |
28 |
org/apache/commons/jcs/jcache/cdi/CachePutInterceptor.java
Violation |
Line |
These nested if statements could be combined |
74–77 |
org/apache/commons/jcs/jcache/cdi/CacheRemoveAllInterceptor.java
Violation |
Line |
These nested if statements could be combined |
70–73 |
org/apache/commons/jcs/jcache/cdi/CacheRemoveInterceptor.java
Violation |
Line |
These nested if statements could be combined |
74–77 |
org/apache/commons/jcs/jcache/cdi/CacheResultInterceptor.java
Violation |
Line |
Avoid unused imports such as 'java.lang.reflect.Method' |
22 |
org/apache/commons/jcs/jcache/jmx/JMXs.java
Violation |
Line |
Avoid empty catch blocks |
58–61 |
org/apache/commons/jcs/jcache/lang/Subsitutor.java
Violation |
Line |
Avoid modifiers which are implied by the context |
26–52 |
Avoid empty catch blocks |
42–45 |
|