Apache Commons logo

Commons JCS™

PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 2

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

Priority 3

org/apache/commons/jcs3/admin/JCSAdminBean.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 231234

org/apache/commons/jcs3/auxiliary/disk/block/BlockDisk.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 499502

org/apache/commons/jcs3/auxiliary/disk/block/BlockDiskKeyStore.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 451454

org/apache/commons/jcs3/auxiliary/lateral/LateralCache.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 350353

org/apache/commons/jcs3/auxiliary/lateral/LateralCacheAttributes.java

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

org/apache/commons/jcs3/auxiliary/lateral/socket/tcp/TCPLateralCacheAttributes.java

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

org/apache/commons/jcs3/auxiliary/remote/AbstractRemoteAuxiliaryCache.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 556559

org/apache/commons/jcs3/auxiliary/remote/RemoteCacheFailoverRunner.java

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

org/apache/commons/jcs3/auxiliary/remote/server/RegistryKeepAliveRunner.java

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

org/apache/commons/jcs3/auxiliary/remote/server/RemoteCacheServerFactory.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 351354

org/apache/commons/jcs3/engine/CacheAdaptor.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 9295

org/apache/commons/jcs3/engine/CacheElementSerialized.java

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

org/apache/commons/jcs3/engine/control/CompositeCacheManager.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 653656

org/apache/commons/jcs3/utils/discovery/UDPDiscoveryAttributes.java

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

org/apache/commons/jcs3/utils/discovery/UDPDiscoveryMessage.java

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

Files

org/apache/commons/jcs3/admin/JCSAdminBean.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 231234

org/apache/commons/jcs3/auxiliary/disk/block/BlockDisk.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 499502

org/apache/commons/jcs3/auxiliary/disk/block/BlockDiskKeyStore.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 451454

org/apache/commons/jcs3/auxiliary/lateral/LateralCache.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 350353

org/apache/commons/jcs3/auxiliary/lateral/LateralCacheAttributes.java

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

org/apache/commons/jcs3/auxiliary/lateral/socket/tcp/TCPLateralCacheAttributes.java

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

org/apache/commons/jcs3/auxiliary/remote/AbstractRemoteAuxiliaryCache.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 556559

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

org/apache/commons/jcs3/auxiliary/remote/RemoteCacheFailoverRunner.java

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

org/apache/commons/jcs3/auxiliary/remote/server/RegistryKeepAliveRunner.java

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

org/apache/commons/jcs3/auxiliary/remote/server/RemoteCacheServerFactory.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 351354

org/apache/commons/jcs3/engine/CacheAdaptor.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 9295

org/apache/commons/jcs3/engine/CacheElementSerialized.java

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

org/apache/commons/jcs3/engine/control/CompositeCacheManager.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 653656

org/apache/commons/jcs3/utils/discovery/UDPDiscoveryAttributes.java

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

org/apache/commons/jcs3/utils/discovery/UDPDiscoveryMessage.java

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