PMD Results

The following document contains the results of PMD 4.1.

Files

org/apache/commons/ognl/ASTAdd.java

ViolationLine
These nested if statements could be combined275 - 282
These nested if statements could be combined294 - 307

org/apache/commons/ognl/ASTChain.java

ViolationLine
These nested if statements could be combined82 - 146
These nested if statements could be combined165 - 236

org/apache/commons/ognl/ASTMethod.java

ViolationLine
Avoid empty catch blocks410 - 413

org/apache/commons/ognl/ASTProperty.java

ViolationLine
Avoid empty catch blocks370 - 373

org/apache/commons/ognl/ASTStaticMethod.java

ViolationLine
Avoid empty catch blocks187 - 190

org/apache/commons/ognl/EvaluationPool.java

ViolationLine
Avoid unused constructor parameters such as 'initialSize'.38 - 42

org/apache/commons/ognl/ObjectPropertyAccessor.java

ViolationLine
Avoid empty catch blocks258 - 261

org/apache/commons/ognl/OgnlContext.java

ViolationLine
Avoid empty catch blocks125 - 128

org/apache/commons/ognl/OgnlException.java

ViolationLine
Avoid empty catch blocks45 - 48
Avoid empty catch blocks96 - 99

org/apache/commons/ognl/OgnlRuntime.java

ViolationLine
These nested if statements could be combined485 - 488
These nested if statements could be combined1161 - 1164
These nested if statements could be combined1202 - 1205
These nested if statements could be combined1299 - 1302
These nested if statements could be combined2037 - 2042
The null check here is misplaced; if the variable is null therell be a NullPointerException2038
The null check here is misplaced; if the variable is null therell be a NullPointerException2038
Avoid empty catch blocks2247 - 2250

org/apache/commons/ognl/SimpleNode.java

ViolationLine
Avoid empty catch blocks121 - 124
These nested if statements could be combined391 - 394

org/apache/commons/ognl/ToStringVisitor.java

ViolationLine
These nested if statements could be combined247 - 251

org/apache/commons/ognl/internal/ClassCacheHandler.java

ViolationLine
These nested if statements could be combined83 - 86

org/apache/commons/ognl/internal/ConcurrentHashMapCache.java

ViolationLine
These nested if statements could be combined71 - 74

org/apache/commons/ognl/internal/HashMapCache.java

ViolationLine
These nested if statements could be combined83 - 86

org/apache/commons/ognl/internal/ReentrantReadWriteLockCache.java

ViolationLine
These nested if statements could be combined117 - 120

org/apache/commons/ognl/internal/entry/PropertyDescriptorCacheEntryFactory.java

ViolationLine
These nested if statements could be combined166 - 182