Apache Commons logo Commons Text

PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 2

org/apache/commons/text/StrBuilder.java
Rule Violation Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2038
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2379
org/apache/commons/text/TextStringBuilder.java
Rule Violation Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2135
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2468

Files

org/apache/commons/text/StrBuilder.java

Rule Violation Priority Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 2038
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 2379

org/apache/commons/text/TextStringBuilder.java

Rule Violation Priority Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 2135
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 2468

Suppressed Violations

Filename Rule message Suppression type Reason
org/apache/commons/text/ExtendedMessageFormat.java Avoid empty catch blocks nopmd
org/apache/commons/text/diff/StringsComparator.java These nested if statements could be combined nopmd
org/apache/commons/text/diff/StringsComparator.java These nested if statements could be combined nopmd