Apache Commons logo Commons Lang

PMD Results

The following document contains the results of PMD 5.3.2.

Files

org/apache/commons/lang3/CharSetUtils.java

Violation Line
Useless parentheses. 79
Useless parentheses. 79
Useless parentheses. 82
Useless parentheses. 82

org/apache/commons/lang3/JavaVersion.java

Violation Line
Avoid empty catch blocks 213215

org/apache/commons/lang3/LocaleUtils.java

Violation Line
Useless parentheses. 145

org/apache/commons/lang3/StringUtils.java

Violation Line
Avoid using a branching statement as the last in a loop. 2146

org/apache/commons/lang3/ThreadUtils.java

Violation Line
Avoid using java.lang.ThreadGroup; it is not thread safe 180
Avoid using java.lang.ThreadGroup; it is not thread safe 447

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

Violation Line
Useless parentheses. 325
Useless parentheses. 327
Useless parentheses. 473
Useless parentheses. 473
Useless parentheses. 473
Useless parentheses. 489
Useless parentheses. 489
Useless parentheses. 489
Useless parentheses. 505
Useless parentheses. 505
Useless parentheses. 505
Useless parentheses. 521
Useless parentheses. 521
Useless parentheses. 521
Useless parentheses. 537
Useless parentheses. 537
Useless parentheses. 537
Useless parentheses. 670
Useless parentheses. 710
Useless parentheses. 750
Useless parentheses. 790
Useless parentheses. 830
Useless parentheses. 870
Useless parentheses. 910
Useless parentheses. 950
Useless parentheses. 990

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

Violation Line
Useless parentheses. 424
Useless parentheses. 425

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

Violation Line
Useless parentheses. 197
Useless parentheses. 198
Ensure you override both equals() and hashCode() 1010

org/apache/commons/lang3/math/NumberUtils.java

Violation Line
Useless parentheses. 477
Useless parentheses. 480
Useless parentheses. 546
Useless parentheses. 560
Useless parentheses. 604
Useless parentheses. 614
Useless parentheses. 648
Useless parentheses. 1387
Useless parentheses. 1388
Useless parentheses. 1419

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

Violation Line
Avoid empty catch blocks 737739
Avoid empty catch blocks 739741

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

Violation Line
Useless parentheses. 165

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

Violation Line
Avoid using a branching statement as the last in a loop. 496

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

Violation Line
Avoid using a branching statement as the last in a loop. 2475
Avoid using a branching statement as the last in a loop. 2592

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

Violation Line
Avoid empty catch blocks 173175

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

Violation Line
Avoid empty catch blocks 382384

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

Violation Line
These nested if statements could be combined 246249
Avoid unused constructor parameters such as 'cal'. 843