Apache Commons logo Commons Lang

PMD Results

The following document contains the results of PMD 6.4.0.

Files

org/apache/commons/lang3/ArrayUtils.java

Violation Priority Line
Useless parentheses. 4 4302
Useless parentheses. 4 4370
Useless parentheses. 4 4438
Useless parentheses. 4 4506
Useless parentheses. 4 4574
Useless parentheses. 4 4642
Useless parentheses. 4 4710
Useless parentheses. 4 4811
Useless parentheses. 4 4832
Useless parentheses. 4 8054

org/apache/commons/lang3/StringUtils.java

Violation Priority Line
Avoid using a branching statement as the last in a loop. 2 2311
Useless parentheses. 4 8867

org/apache/commons/lang3/ThreadUtils.java

Violation Priority Line
Avoid using java.lang.ThreadGroup; it is not thread safe 3 172
Avoid using java.lang.ThreadGroup; it is not thread safe 3 431

org/apache/commons/lang3/builder/HashCodeBuilder.java

Violation Priority Line
Ensure you override both equals() and hashCode() 3 989

org/apache/commons/lang3/reflect/MethodUtils.java

Violation Priority Line
Useless parentheses. 4 905906
Useless parentheses. 4 910
Useless parentheses. 4 960961

org/apache/commons/lang3/reflect/TypeUtils.java

Violation Priority Line
Useless parentheses. 4 200
Avoid using a branching statement as the last in a loop. 2 500
Useless parentheses. 4 1831
These nested if statements could be combined 3 18311833

org/apache/commons/lang3/text/StrBuilder.java

Violation Priority Line
Useless parentheses. 4 1510
Useless parentheses. 4 1557
Useless parentheses. 4 1865
Useless parentheses. 4 1883
Useless parentheses. 4 1958
Useless parentheses. 4 2012
Useless parentheses. 4 2014
Useless parentheses. 4 2032
Useless parentheses. 4 2036
Useless parentheses. 4 2119
Useless parentheses. 4 2423
Useless parentheses. 4 2459
Avoid using a branching statement as the last in a loop. 2 2482
Useless parentheses. 4 2514
Useless parentheses. 4 2547
Useless parentheses. 4 2582
Avoid using a branching statement as the last in a loop. 2 2599
Useless parentheses. 4 2635

org/apache/commons/lang3/text/StrLookup.java

Violation Priority Line
Avoid empty catch blocks 3 177179

org/apache/commons/lang3/time/DateUtils.java

Violation Priority Line
Avoid empty catch blocks 3 383385