Apache Commons logo Commons Pool

PMD Results

The following document contains the results of PMD 6.21.0.

Violations By Priority

Priority 3

org/apache/commons/pool2/PoolUtils.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 794796
EmptyCatchBlock Avoid empty catch blocks 810812
EmptyCatchBlock Avoid empty catch blocks 883885
EmptyCatchBlock Avoid empty catch blocks 971973
EmptyCatchBlock Avoid empty catch blocks 987989
EmptyCatchBlock Avoid empty catch blocks 11031105
EmptyCatchBlock Avoid empty catch blocks 15031505
EmptyCatchBlock Avoid empty catch blocks 15151517
EmptyCatchBlock Avoid empty catch blocks 15601562
EmptyCatchBlock Avoid empty catch blocks 16721674
EmptyCatchBlock Avoid empty catch blocks 16951697
EmptyCatchBlock Avoid empty catch blocks 17651767

org/apache/commons/pool2/impl/BaseGenericObjectPool.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 984986

org/apache/commons/pool2/impl/DefaultPooledObject.java

Rule Violation Line
EmptyIfStmt Avoid empty if statements 173175

org/apache/commons/pool2/impl/EvictionTimer.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 115125

org/apache/commons/pool2/impl/GenericKeyedObjectPool.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 380382
EmptyCatchBlock Avoid empty catch blocks 404406
EmptyIfStmt Avoid empty if statements 966969

org/apache/commons/pool2/impl/GenericObjectPool.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 462464
EmptyCatchBlock Avoid empty catch blocks 486488
EmptyIfStmt Avoid empty if statements 804807

org/apache/commons/pool2/impl/SoftReferenceObjectPool.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 225227
EmptyCatchBlock Avoid empty catch blocks 300302
EmptyCatchBlock Avoid empty catch blocks 341343
EmptyWhileStmt Avoid empty while statements 382384

Priority 4

org/apache/commons/pool2/impl/DefaultEvictionPolicy.java

Rule Violation Line
UselessParentheses Useless parentheses. 4849

org/apache/commons/pool2/impl/GenericObjectPool.java

Rule Violation Line
UselessParentheses Useless parentheses. 411
UselessParentheses Useless parentheses. 412
UselessParentheses Useless parentheses. 887888
UselessParentheses Useless parentheses. 964

Files

org/apache/commons/pool2/PoolUtils.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 794796
EmptyCatchBlock Avoid empty catch blocks 3 810812
EmptyCatchBlock Avoid empty catch blocks 3 883885
EmptyCatchBlock Avoid empty catch blocks 3 971973
EmptyCatchBlock Avoid empty catch blocks 3 987989
EmptyCatchBlock Avoid empty catch blocks 3 11031105
EmptyCatchBlock Avoid empty catch blocks 3 15031505
EmptyCatchBlock Avoid empty catch blocks 3 15151517
EmptyCatchBlock Avoid empty catch blocks 3 15601562
EmptyCatchBlock Avoid empty catch blocks 3 16721674
EmptyCatchBlock Avoid empty catch blocks 3 16951697
EmptyCatchBlock Avoid empty catch blocks 3 17651767

org/apache/commons/pool2/impl/BaseGenericObjectPool.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 984986

org/apache/commons/pool2/impl/DefaultEvictionPolicy.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 4849

org/apache/commons/pool2/impl/DefaultPooledObject.java

Rule Violation Priority Line
EmptyIfStmt Avoid empty if statements 3 173175

org/apache/commons/pool2/impl/EvictionTimer.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 115125

org/apache/commons/pool2/impl/GenericKeyedObjectPool.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 380382
EmptyCatchBlock Avoid empty catch blocks 3 404406
EmptyIfStmt Avoid empty if statements 3 966969

org/apache/commons/pool2/impl/GenericObjectPool.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 411
UselessParentheses Useless parentheses. 4 412
EmptyCatchBlock Avoid empty catch blocks 3 462464
EmptyCatchBlock Avoid empty catch blocks 3 486488
EmptyIfStmt Avoid empty if statements 3 804807
UselessParentheses Useless parentheses. 4 887888
UselessParentheses Useless parentheses. 4 964

org/apache/commons/pool2/impl/SoftReferenceObjectPool.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 225227
EmptyCatchBlock Avoid empty catch blocks 3 300302
EmptyCatchBlock Avoid empty catch blocks 3 341343
EmptyWhileStmt Avoid empty while statements 3 382384