Apache Commons logo

Commons JCS™

PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 2

Apache Commons JCS :: Core - org/apache/commons/jcs3/auxiliary/remote/AbstractRemoteCacheNoWaitFacade.java

Rule Violation Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 109
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 128
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 148

Apache Commons JCS :: JCache - org/apache/commons/jcs3/jcache/cdi/CDIJCacheHelper.java

Rule Violation Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 271

Priority 3

Apache Commons JCS :: Core - org/apache/commons/jcs3/admin/JCSAdminBean.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 231234

Apache Commons JCS :: Core - org/apache/commons/jcs3/auxiliary/disk/block/BlockDisk.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 499502

Apache Commons JCS :: Core - org/apache/commons/jcs3/auxiliary/disk/block/BlockDiskKeyStore.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 451454

Apache Commons JCS :: Core - org/apache/commons/jcs3/auxiliary/lateral/LateralCache.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 350353

Apache Commons JCS :: Core - org/apache/commons/jcs3/auxiliary/lateral/LateralCacheAttributes.java

Rule Violation Line
AvoidUsingHardCodedIP Do not hard code the IP address 48

Apache Commons JCS :: Core - org/apache/commons/jcs3/auxiliary/lateral/socket/tcp/TCPLateralCacheAttributes.java

Rule Violation Line
AvoidUsingHardCodedIP Do not hard code the IP address 37

Apache Commons JCS :: Core - org/apache/commons/jcs3/auxiliary/remote/AbstractRemoteAuxiliaryCache.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 556559

Apache Commons JCS :: Core - org/apache/commons/jcs3/auxiliary/remote/RemoteCacheFailoverRunner.java

Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'cacheFactory'. 57

Apache Commons JCS :: Core - org/apache/commons/jcs3/auxiliary/remote/server/RegistryKeepAliveRunner.java

Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'serviceName'. 60

Apache Commons JCS :: Core - org/apache/commons/jcs3/auxiliary/remote/server/RemoteCacheServerFactory.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 351354

Apache Commons JCS :: Core - org/apache/commons/jcs3/engine/CacheAdaptor.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 9295

Apache Commons JCS :: Core - org/apache/commons/jcs3/engine/CacheElementSerialized.java

Rule Violation Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 66

Apache Commons JCS :: Core - org/apache/commons/jcs3/engine/control/CompositeCacheManager.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 653656

Apache Commons JCS :: Core - org/apache/commons/jcs3/utils/discovery/UDPDiscoveryAttributes.java

Rule Violation Line
AvoidUsingHardCodedIP Do not hard code the IP address 46

Apache Commons JCS :: Core - org/apache/commons/jcs3/utils/discovery/UDPDiscoveryMessage.java

Rule Violation Line
AvoidUsingHardCodedIP Do not hard code the IP address 60

Apache Commons JCS :: JCache - org/apache/commons/jcs3/jcache/JCSCache.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'now'. 204

Apache Commons JCS :: JCache - org/apache/commons/jcs3/jcache/jmx/JMXs.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 5861

Apache Commons JCS :: JCache - org/apache/commons/jcs3/jcache/lang/Subsitutor.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 4144

Files

Apache Commons JCS :: Core - org/apache/commons/jcs3/admin/JCSAdminBean.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 231234

Apache Commons JCS :: Core - org/apache/commons/jcs3/auxiliary/disk/block/BlockDisk.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 499502

Apache Commons JCS :: Core - org/apache/commons/jcs3/auxiliary/disk/block/BlockDiskKeyStore.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 451454

Apache Commons JCS :: Core - org/apache/commons/jcs3/auxiliary/lateral/LateralCache.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 350353

Apache Commons JCS :: Core - org/apache/commons/jcs3/auxiliary/lateral/LateralCacheAttributes.java

Rule Violation Priority Line
AvoidUsingHardCodedIP Do not hard code the IP address 3 48

Apache Commons JCS :: Core - org/apache/commons/jcs3/auxiliary/lateral/socket/tcp/TCPLateralCacheAttributes.java

Rule Violation Priority Line
AvoidUsingHardCodedIP Do not hard code the IP address 3 37

Apache Commons JCS :: Core - org/apache/commons/jcs3/auxiliary/remote/AbstractRemoteAuxiliaryCache.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 556559

Apache Commons JCS :: Core - org/apache/commons/jcs3/auxiliary/remote/AbstractRemoteCacheNoWaitFacade.java

Rule Violation Priority Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 109
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 128
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 148

Apache Commons JCS :: Core - org/apache/commons/jcs3/auxiliary/remote/RemoteCacheFailoverRunner.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'cacheFactory'. 3 57

Apache Commons JCS :: Core - org/apache/commons/jcs3/auxiliary/remote/server/RegistryKeepAliveRunner.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'serviceName'. 3 60

Apache Commons JCS :: Core - org/apache/commons/jcs3/auxiliary/remote/server/RemoteCacheServerFactory.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 351354

Apache Commons JCS :: Core - org/apache/commons/jcs3/engine/CacheAdaptor.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 9295

Apache Commons JCS :: Core - org/apache/commons/jcs3/engine/CacheElementSerialized.java

Rule Violation Priority Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 3 66

Apache Commons JCS :: Core - org/apache/commons/jcs3/engine/control/CompositeCacheManager.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 653656

Apache Commons JCS :: Core - org/apache/commons/jcs3/utils/discovery/UDPDiscoveryAttributes.java

Rule Violation Priority Line
AvoidUsingHardCodedIP Do not hard code the IP address 3 46

Apache Commons JCS :: Core - org/apache/commons/jcs3/utils/discovery/UDPDiscoveryMessage.java

Rule Violation Priority Line
AvoidUsingHardCodedIP Do not hard code the IP address 3 60

Apache Commons JCS :: JCache - org/apache/commons/jcs3/jcache/JCSCache.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'now'. 3 204

Apache Commons JCS :: JCache - org/apache/commons/jcs3/jcache/cdi/CDIJCacheHelper.java

Rule Violation Priority Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 271

Apache Commons JCS :: JCache - org/apache/commons/jcs3/jcache/jmx/JMXs.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 5861

Apache Commons JCS :: JCache - org/apache/commons/jcs3/jcache/lang/Subsitutor.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 4144