Fork me on GitHub

PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 3

stringhold-common - 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

stringhold-common - com/kohlschutter/stringhold/ReaderStringHolder.java

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

stringhold-common - com/kohlschutter/stringhold/StringHolder.java

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

Priority 4

stringhold-common - com/kohlschutter/stringhold/AbstractStringHolder.java

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

stringhold-common - com/kohlschutter/stringhold/LazyInitReader.java

Rule Violation Line
UselessParentheses Useless parentheses. 83

stringhold-common - com/kohlschutter/stringhold/StringHolder.java

Rule Violation Line
UselessParentheses Useless parentheses. 807

stringhold-common - com/kohlschutter/stringhold/SuppliedStringHolder.java

Rule Violation Line
UselessParentheses Useless parentheses. 235

stringhold-liqp - com/kohlschutter/stringhold/liqp/StringHolderRenderTransformer.java

Rule Violation Line
UselessParentheses Useless parentheses. 169

Files

stringhold-common - 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

stringhold-common - com/kohlschutter/stringhold/LazyInitReader.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 83

stringhold-common - com/kohlschutter/stringhold/ReaderStringHolder.java

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

stringhold-common - com/kohlschutter/stringhold/StringHolder.java

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

stringhold-common - com/kohlschutter/stringhold/SuppliedStringHolder.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 235

stringhold-liqp - com/kohlschutter/stringhold/liqp/StringHolderRenderTransformer.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 169

Suppressed Violations

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