PMD Results
The following document contains the results of PMD 4.1.
Files
org/apache/commons/cache/adt/Listable.java
Violation |
Line |
Avoid unused imports such as 'java.util.LinkedList' |
18 |
org/apache/commons/cache/CacheSingleton.java
Violation |
Line |
Avoid unused imports such as 'java.io.File' |
19 |
org/apache/commons/cache/FileStash.java
Violation |
Line |
Avoid unused imports such as 'java.util.StringTokenizer' |
21 |
Avoid empty catch blocks |
178 |
Avoid empty catch blocks |
179 |
Avoid empty catch blocks |
192 |
Avoid empty catch blocks |
254 |
Avoid empty catch blocks |
256 |
Avoid empty catch blocks |
259 |
Avoid empty catch blocks |
266 |
Avoid empty catch blocks |
273 - 275 |
org/apache/commons/cache/LRUEvictionPolicy.java
Violation |
Line |
Avoid unused imports such as 'org.apache.commons.cache.adt.Listable' |
25 |
org/apache/commons/cache/remote/Ack.java
Violation |
Line |
Avoid unused imports such as 'java.io.Serializable' |
18 |
Ensure you override both equals() and hashCode() |
34 |
org/apache/commons/cache/remote/BooleanResponse.java
Violation |
Line |
Avoid unused imports such as 'java.io.Serializable' |
18 |
Ensure you override both equals() and hashCode() |
45 |
org/apache/commons/cache/remote/CacheStatResponse.java
Violation |
Line |
Avoid unused imports such as 'java.io.Serializable' |
18 |
Ensure you override both equals() and hashCode() |
60 |
Avoid empty catch blocks |
68 - 70 |
org/apache/commons/cache/remote/ClearAllRequest.java
Violation |
Line |
Avoid unused imports such as 'java.io.Serializable' |
18 |
Ensure you override both equals() and hashCode() |
34 |
org/apache/commons/cache/remote/ClearGroupRequest.java
Violation |
Line |
Ensure you override both equals() and hashCode() |
41 |
org/apache/commons/cache/remote/ClearRequest.java
Violation |
Line |
Ensure you override both equals() and hashCode() |
41 |
org/apache/commons/cache/remote/ClosingConnection.java
Violation |
Line |
Avoid unused imports such as 'java.io.Serializable' |
18 |
Ensure you override both equals() and hashCode() |
34 |
org/apache/commons/cache/remote/ContainsRequest.java
Violation |
Line |
Ensure you override both equals() and hashCode() |
41 |
org/apache/commons/cache/remote/GetCacheStatRequest.java
Violation |
Line |
Avoid unused imports such as 'java.io.Serializable' |
18 |
Ensure you override both equals() and hashCode() |
61 |
Avoid empty catch blocks |
69 - 71 |
org/apache/commons/cache/remote/GetKeysForGroupRequest.java
Violation |
Line |
Ensure you override both equals() and hashCode() |
41 |
org/apache/commons/cache/remote/ObjectArrayResponse.java
Violation |
Line |
Ensure you override both equals() and hashCode() |
64 |
Avoid empty catch blocks |
72 - 74 |
org/apache/commons/cache/remote/ObjectResponse.java
Violation |
Line |
Ensure you override both equals() and hashCode() |
41 |
org/apache/commons/cache/remote/OkResponse.java
Violation |
Line |
Avoid unused imports such as 'java.io.Serializable' |
18 |
Ensure you override both equals() and hashCode() |
34 |
org/apache/commons/cache/remote/ProtocolErrorResponse.java
Violation |
Line |
Avoid unused imports such as 'java.io.Serializable' |
18 |
Ensure you override both equals() and hashCode() |
45 |
org/apache/commons/cache/remote/RetrieveRequest.java
Violation |
Line |
Ensure you override both equals() and hashCode() |
41 |
org/apache/commons/cache/remote/StoreRequest.java
Violation |
Line |
Ensure you override both equals() and hashCode() |
79 |
org/apache/commons/cache/remote/ThrowableResponse.java
Violation |
Line |
Avoid unused imports such as 'java.io.Serializable' |
18 |
Ensure you override both equals() and hashCode() |
41 |
org/apache/commons/cache/ShareableFileStash.java
Violation |
Line |
Avoid unused imports such as 'java.util.StringTokenizer' |
18 |
Avoid empty catch blocks |
98 - 99 |
Avoid empty catch blocks |
102 - 103 |
Avoid empty catch blocks |
118 - 119 |
Avoid empty catch blocks |
189 - 190 |
Avoid empty catch blocks |
194 - 195 |
Avoid empty catch blocks |
200 - 201 |
Avoid empty catch blocks |
233 - 235 |
Avoid empty catch blocks |
262 - 264 |
org/apache/commons/cache/SimpleCache.java
Violation |
Line |
Avoid empty catch blocks |
119 |
Avoid empty catch blocks |
135 |
These nested if statements could be combined |
154 - 156 |
Avoid empty catch blocks |
173 |
Avoid empty catch blocks |
174 |
Avoid unused local variables such as 'cfile'. |
250 |
Avoid empty catch blocks |
261 |
Avoid empty catch blocks |
291 |
org/apache/commons/cache/StaleObjectEvictor.java
Violation |
Line |
These nested if statements could be combined |
88 - 94 |
Avoid empty catch blocks |
91 - 93 |
org/apache/commons/cache/tagext/CacheTag.java
Violation |
Line |
Avoid unused imports such as 'java.util.Hashtable' |
23 |
Avoid unused private fields such as 'VERBOSE_DEBUG'. |
34 |
Avoid unused private fields such as 'CHECKING'. |
35 |
org/apache/commons/cache/tagext/ClearCacheTag.java
Violation |
Line |
Avoid unused imports such as 'javax.servlet.jsp.JspTagException' |
18 |