PMD Results

The following document contains the results of PMD 4.2.5.

Files

org/apache/jcs/auxiliary/disk/AbstractDiskCache.java

ViolationLine
These nested if statements could be combined264 - 267
These nested if statements could be combined730 - 733

org/apache/jcs/auxiliary/disk/AbstractDiskCacheAttributes.java

ViolationLine
Avoid empty catch blocks131 - 134

org/apache/jcs/auxiliary/disk/block/BlockDisk.java

ViolationLine
Avoid empty catch blocks496 - 499

org/apache/jcs/auxiliary/disk/block/BlockDiskKeyStore.java

ViolationLine
Avoid empty catch blocks277 - 280

org/apache/jcs/auxiliary/disk/file/FileDiskCache.java

ViolationLine
These nested if statements could be combined409 - 437

org/apache/jcs/auxiliary/disk/file/FileDiskCacheAttributes.java

ViolationLine
Avoid empty catch blocks54 - 57

org/apache/jcs/auxiliary/disk/indexed/IndexedDiskCacheAttributes.java

ViolationLine
Avoid empty catch blocks179 - 182

org/apache/jcs/auxiliary/disk/jdbc/JDBCDiskCache.java

ViolationLine
These nested if statements could be combined276 - 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 combined598 - 602
These nested if statements could be combined704 - 708

org/apache/jcs/auxiliary/disk/jdbc/mysql/MySQLDiskCache.java

ViolationLine
These nested if statements could be combined84 - 87
These nested if statements could be combined104 - 107
These nested if statements could be combined141 - 144
These nested if statements could be combined163 - 166

org/apache/jcs/auxiliary/disk/jdbc/mysql/MySQLTableOptimizer.java

ViolationLine
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

ViolationLine
Avoid empty catch blocks390 - 393

org/apache/jcs/auxiliary/lateral/LateralCacheAttributes.java

ViolationLine
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 !54
Avoid empty catch blocks262 - 265

org/apache/jcs/auxiliary/lateral/LateralCacheMonitor.java

ViolationLine
These nested if statements could be combined216 - 219

org/apache/jcs/auxiliary/lateral/LateralCacheNoWaitFacade.java

ViolationLine
Avoid empty catch blocks301 - 304

org/apache/jcs/auxiliary/lateral/socket/tcp/LateralTCPListener.java

ViolationLine
These nested if statements could be combined215 - 219
These nested if statements could be combined243 - 246
These nested if statements could be combined287 - 291
These nested if statements could be combined316 - 320
These nested if statements could be combined597 - 620

org/apache/jcs/auxiliary/lateral/socket/tcp/LateralTCPSender.java

ViolationLine
These nested if statements could be combined178 - 181

org/apache/jcs/auxiliary/lateral/socket/tcp/LateralTCPService.java

ViolationLine
These nested if statements could be combined117 - 120

org/apache/jcs/auxiliary/lateral/socket/tcp/TCPLateralCacheAttributes.java

ViolationLine
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 !38
Avoid empty catch blocks296 - 299

org/apache/jcs/auxiliary/lateral/socket/tcp/utils/SocketOpener.java

ViolationLine
Avoid empty catch blocks93 - 96

org/apache/jcs/auxiliary/remote/AbstractRemoteAuxiliaryCache.java

ViolationLine
These nested if statements could be combined192 - 196
Avoid empty if statements571 - 573
Avoid empty catch blocks643 - 646

org/apache/jcs/auxiliary/remote/RemoteCache.java

ViolationLine
Avoid empty if statements93 - 95

org/apache/jcs/auxiliary/remote/RemoteCacheAttributes.java

ViolationLine
Avoid empty catch blocks205 - 208

org/apache/jcs/auxiliary/remote/RemoteCacheFailoverRunner.java

ViolationLine
These nested if statements could be combined170 - 174

org/apache/jcs/auxiliary/remote/http/client/RemoteHttpCacheDispatcher.java

ViolationLine
These nested if statements could be combined146 - 150

org/apache/jcs/auxiliary/remote/http/server/RemoteHttpCacheServerAttributes.java

ViolationLine
Avoid empty catch blocks52 - 55

org/apache/jcs/auxiliary/remote/http/server/RemoteHttpCacheServlet.java

ViolationLine
These nested if statements could be combined203 - 206

org/apache/jcs/auxiliary/remote/server/RemoteCacheServer.java

ViolationLine
Avoid unnecessary return statements1512

org/apache/jcs/auxiliary/remote/server/RemoteCacheServerAttributes.java

ViolationLine
Avoid empty catch blocks163 - 166

org/apache/jcs/auxiliary/remote/server/RemoteCacheServerFactory.java

ViolationLine
Avoid empty catch blocks403 - 406

org/apache/jcs/auxiliary/remote/server/RemoteCacheStartupServlet.java

ViolationLine
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 !139

org/apache/jcs/engine/CacheAdaptor.java

ViolationLine
Avoid empty catch blocks96 - 99

org/apache/jcs/engine/ElementAttributes.java

ViolationLine
Avoid empty catch blocks178 - 181
Avoid empty catch blocks182 - 185

org/apache/jcs/engine/control/CompositeCache.java

ViolationLine
Avoid unused private fields such as 'auxHitCountByIndex'.111
Avoid empty catch blocks392 - 395
Avoid empty catch blocks1112 - 1115

org/apache/jcs/engine/control/CompositeCacheConfigurator.java

ViolationLine
These nested if statements could be combined350 - 353

org/apache/jcs/engine/control/CompositeCacheManager.java

ViolationLine
Avoid empty catch blocks264 - 267
These nested if statements could be combined613 - 617

org/apache/jcs/engine/memory/shrinking/ShrinkerThread.java

ViolationLine
These nested if statements could be combined116 - 119

org/apache/jcs/utils/config/IUtilConstants.java

ViolationLine
Avoid empty catch blocks77 - 80

org/apache/jcs/utils/discovery/UDPDiscoveryAttributes.java

ViolationLine
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 !47

org/apache/jcs/utils/discovery/UDPDiscoveryMessage.java

ViolationLine
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 !57

org/apache/jcs/utils/discovery/UDPDiscoveryService.java

ViolationLine
Avoid unused constructor parameters such as 'cacheEventLogger'.88 - 138
These nested if statements could be combined211 - 214
These nested if statements could be combined271 - 277
These nested if statements could be combined273 - 276

org/apache/jcs/utils/net/AddressUtil.java

ViolationLine
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 !18

org/apache/jcs/utils/props/PropertyLoader.java

ViolationLine
Avoid empty catch blocks144 - 147

org/apache/jcs/utils/struct/SortedPreferentialArray.java

ViolationLine
These nested if statements could be combined156 - 169
These nested if statements could be combined248 - 251