Apache Commons logo Commons Pool

PMD Results

The following document contains the results of PMD 6.29.0.

Violations By Priority

Priority 3

org/apache/commons/pool2/PoolUtils.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 207209
EmptyCatchBlock Avoid empty catch blocks 271273
EmptyCatchBlock Avoid empty catch blocks 310312
EmptyCatchBlock Avoid empty catch blocks 388390
EmptyCatchBlock Avoid empty catch blocks 416418
EmptyCatchBlock Avoid empty catch blocks 453455
EmptyCatchBlock Avoid empty catch blocks 787789
EmptyCatchBlock Avoid empty catch blocks 859861
EmptyCatchBlock Avoid empty catch blocks 875877
EmptyCatchBlock Avoid empty catch blocks 11091111
EmptyCatchBlock Avoid empty catch blocks 11531155
EmptyCatchBlock Avoid empty catch blocks 11691171

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

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 14741476

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

Rule Violation Line
EmptyIfStmt Avoid empty if statements 130132

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

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 467469
EmptyCatchBlock Avoid empty catch blocks 491493
EmptyIfStmt Avoid empty if statements 10571060

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

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 336338
EmptyCatchBlock Avoid empty catch blocks 359361
EmptyIfStmt Avoid empty if statements 749752

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

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 133135
EmptyCatchBlock Avoid empty catch blocks 242244
EmptyWhileStmt Avoid empty while statements 359361
EmptyCatchBlock Avoid empty catch blocks 432434

Priority 4

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

Rule Violation Line
UselessParentheses Useless parentheses. 4849

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

Rule Violation Line
UselessParentheses Useless parentheses. 416
UselessParentheses Useless parentheses. 417

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

Rule Violation Line
UselessParentheses Useless parentheses. 289
UselessParentheses Useless parentheses. 290
UselessParentheses Useless parentheses. 553554
UselessParentheses Useless parentheses. 626

Files

org/apache/commons/pool2/PoolUtils.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 207209
EmptyCatchBlock Avoid empty catch blocks 3 271273
EmptyCatchBlock Avoid empty catch blocks 3 310312
EmptyCatchBlock Avoid empty catch blocks 3 388390
EmptyCatchBlock Avoid empty catch blocks 3 416418
EmptyCatchBlock Avoid empty catch blocks 3 453455
EmptyCatchBlock Avoid empty catch blocks 3 787789
EmptyCatchBlock Avoid empty catch blocks 3 859861
EmptyCatchBlock Avoid empty catch blocks 3 875877
EmptyCatchBlock Avoid empty catch blocks 3 11091111
EmptyCatchBlock Avoid empty catch blocks 3 11531155
EmptyCatchBlock Avoid empty catch blocks 3 11691171

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

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 14741476

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 130132

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 416
UselessParentheses Useless parentheses. 4 417
EmptyCatchBlock Avoid empty catch blocks 3 467469
EmptyCatchBlock Avoid empty catch blocks 3 491493
EmptyIfStmt Avoid empty if statements 3 10571060

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 289
UselessParentheses Useless parentheses. 4 290
EmptyCatchBlock Avoid empty catch blocks 3 336338
EmptyCatchBlock Avoid empty catch blocks 3 359361
UselessParentheses Useless parentheses. 4 553554
UselessParentheses Useless parentheses. 4 626
EmptyIfStmt Avoid empty if statements 3 749752

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

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 133135
EmptyCatchBlock Avoid empty catch blocks 3 242244
EmptyWhileStmt Avoid empty while statements 3 359361
EmptyCatchBlock Avoid empty catch blocks 3 432434