PMD Results
The following document contains the results of PMD 4.2.5.
Files
org/apache/jcs/auxiliary/disk/AbstractDiskCache.java
| Violation | Line |
|---|
| These nested if statements could be combined | 264 - 267 |
| These nested if statements could be combined | 730 - 733 |
org/apache/jcs/auxiliary/disk/AbstractDiskCacheAttributes.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 131 - 134 |
org/apache/jcs/auxiliary/disk/block/BlockDisk.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 496 - 499 |
org/apache/jcs/auxiliary/disk/block/BlockDiskKeyStore.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 277 - 280 |
org/apache/jcs/auxiliary/disk/file/FileDiskCache.java
| Violation | Line |
|---|
| These nested if statements could be combined | 409 - 437 |
org/apache/jcs/auxiliary/disk/file/FileDiskCacheAttributes.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 54 - 57 |
org/apache/jcs/auxiliary/disk/indexed/IndexedDiskCacheAttributes.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 179 - 182 |
org/apache/jcs/auxiliary/disk/jdbc/JDBCDiskCache.java
| Violation | Line |
|---|
| These nested if statements could be combined | 276 - 280 |
| Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. | 543 |
| These nested if statements could be combined | 598 - 602 |
| These nested if statements could be combined | 704 - 708 |
org/apache/jcs/auxiliary/disk/jdbc/mysql/MySQLDiskCache.java
| Violation | Line |
|---|
| These nested if statements could be combined | 84 - 87 |
| These nested if statements could be combined | 104 - 107 |
| These nested if statements could be combined | 141 - 144 |
| These nested if statements could be combined | 163 - 166 |
org/apache/jcs/auxiliary/disk/jdbc/mysql/MySQLTableOptimizer.java
| Violation | Line |
|---|
| Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. | 156 |
org/apache/jcs/auxiliary/lateral/LateralCache.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 390 - 393 |
org/apache/jcs/auxiliary/lateral/LateralCacheAttributes.java
| Violation | Line |
|---|
| Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! | 54 |
| Avoid empty catch blocks | 262 - 265 |
org/apache/jcs/auxiliary/lateral/LateralCacheMonitor.java
| Violation | Line |
|---|
| These nested if statements could be combined | 216 - 219 |
org/apache/jcs/auxiliary/lateral/LateralCacheNoWaitFacade.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 301 - 304 |
org/apache/jcs/auxiliary/lateral/socket/tcp/LateralTCPListener.java
| Violation | Line |
|---|
| These nested if statements could be combined | 215 - 219 |
| These nested if statements could be combined | 243 - 246 |
| These nested if statements could be combined | 287 - 291 |
| These nested if statements could be combined | 316 - 320 |
| These nested if statements could be combined | 597 - 620 |
org/apache/jcs/auxiliary/lateral/socket/tcp/LateralTCPSender.java
| Violation | Line |
|---|
| These nested if statements could be combined | 178 - 181 |
org/apache/jcs/auxiliary/lateral/socket/tcp/LateralTCPService.java
| Violation | Line |
|---|
| These nested if statements could be combined | 117 - 120 |
org/apache/jcs/auxiliary/lateral/socket/tcp/TCPLateralCacheAttributes.java
| Violation | Line |
|---|
| Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! | 38 |
| Avoid empty catch blocks | 296 - 299 |
org/apache/jcs/auxiliary/lateral/socket/tcp/utils/SocketOpener.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 93 - 96 |
org/apache/jcs/auxiliary/remote/AbstractRemoteAuxiliaryCache.java
| Violation | Line |
|---|
| These nested if statements could be combined | 192 - 196 |
| Avoid empty if statements | 571 - 573 |
| Avoid empty catch blocks | 643 - 646 |
org/apache/jcs/auxiliary/remote/RemoteCache.java
| Violation | Line |
|---|
| Avoid empty if statements | 93 - 95 |
org/apache/jcs/auxiliary/remote/RemoteCacheAttributes.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 205 - 208 |
org/apache/jcs/auxiliary/remote/RemoteCacheFailoverRunner.java
| Violation | Line |
|---|
| These nested if statements could be combined | 170 - 174 |
org/apache/jcs/auxiliary/remote/http/client/RemoteHttpCacheDispatcher.java
| Violation | Line |
|---|
| These nested if statements could be combined | 146 - 150 |
org/apache/jcs/auxiliary/remote/http/server/RemoteHttpCacheServerAttributes.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 52 - 55 |
org/apache/jcs/auxiliary/remote/http/server/RemoteHttpCacheServlet.java
| Violation | Line |
|---|
| These nested if statements could be combined | 203 - 206 |
org/apache/jcs/auxiliary/remote/server/RemoteCacheServer.java
| Violation | Line |
|---|
| Avoid unnecessary return statements | 1512 |
org/apache/jcs/auxiliary/remote/server/RemoteCacheServerAttributes.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 163 - 166 |
org/apache/jcs/auxiliary/remote/server/RemoteCacheServerFactory.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 403 - 406 |
org/apache/jcs/auxiliary/remote/server/RemoteCacheStartupServlet.java
| Violation | Line |
|---|
| Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! | 139 |
org/apache/jcs/engine/CacheAdaptor.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 96 - 99 |
org/apache/jcs/engine/ElementAttributes.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 178 - 181 |
| Avoid empty catch blocks | 182 - 185 |
org/apache/jcs/engine/control/CompositeCache.java
| Violation | Line |
|---|
| Avoid unused private fields such as 'auxHitCountByIndex'. | 111 |
| Avoid empty catch blocks | 392 - 395 |
| Avoid empty catch blocks | 1112 - 1115 |
org/apache/jcs/engine/control/CompositeCacheConfigurator.java
| Violation | Line |
|---|
| These nested if statements could be combined | 350 - 353 |
org/apache/jcs/engine/control/CompositeCacheManager.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 264 - 267 |
| These nested if statements could be combined | 613 - 617 |
org/apache/jcs/engine/memory/shrinking/ShrinkerThread.java
| Violation | Line |
|---|
| These nested if statements could be combined | 116 - 119 |
org/apache/jcs/utils/config/IUtilConstants.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 77 - 80 |
org/apache/jcs/utils/discovery/UDPDiscoveryAttributes.java
| Violation | Line |
|---|
| Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! | 47 |
org/apache/jcs/utils/discovery/UDPDiscoveryMessage.java
| Violation | Line |
|---|
| Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! | 57 |
org/apache/jcs/utils/discovery/UDPDiscoveryService.java
| Violation | Line |
|---|
| Avoid unused constructor parameters such as 'cacheEventLogger'. | 88 - 138 |
| These nested if statements could be combined | 211 - 214 |
| These nested if statements could be combined | 271 - 277 |
| These nested if statements could be combined | 273 - 276 |
org/apache/jcs/utils/net/AddressUtil.java
| Violation | Line |
|---|
| Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! | 18 |
org/apache/jcs/utils/props/PropertyLoader.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 144 - 147 |
org/apache/jcs/utils/struct/SortedPreferentialArray.java
| Violation | Line |
|---|
| These nested if statements could be combined | 156 - 169 |
| These nested if statements could be combined | 248 - 251 |