Fork me on GitHub

PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 3

com/kohlschutter/stringhold/AbstractStringHolder.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 318320
UselessQualifiedThis Useless qualified this usage in the same class. 591

com/kohlschutter/stringhold/ReaderStringHolder.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 156158
EmptyCatchBlock Avoid empty catch blocks 166168

com/kohlschutter/stringhold/StringHolder.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 806809

Priority 4

com/kohlschutter/stringhold/AbstractStringHolder.java

Rule Violation Line
UselessParentheses Useless parentheses. 125
UselessParentheses Useless parentheses. 137
UselessParentheses Useless parentheses. 137

com/kohlschutter/stringhold/LazyInitReader.java

Rule Violation Line
UselessParentheses Useless parentheses. 83

com/kohlschutter/stringhold/StringHolder.java

Rule Violation Line
UselessParentheses Useless parentheses. 807

com/kohlschutter/stringhold/SuppliedStringHolder.java

Rule Violation Line
UselessParentheses Useless parentheses. 235

Files

com/kohlschutter/stringhold/AbstractStringHolder.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 125
UselessParentheses Useless parentheses. 4 137
UselessParentheses Useless parentheses. 4 137
CollapsibleIfStatements These nested if statements could be combined 3 318320
UselessQualifiedThis Useless qualified this usage in the same class. 3 591

com/kohlschutter/stringhold/LazyInitReader.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 83

com/kohlschutter/stringhold/ReaderStringHolder.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 156158
EmptyCatchBlock Avoid empty catch blocks 3 166168

com/kohlschutter/stringhold/StringHolder.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 806809
UselessParentheses Useless parentheses. 4 807

com/kohlschutter/stringhold/SuppliedStringHolder.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 235

Suppressed Violations

Filename Rule message Suppression type Reason
com/kohlschutter/stringhold/StringHolderSequence.java Ensure you override both equals() and hashCode() nopmd .OverrideBothEqualsAndHashcode