PMD Results

The following document contains the results of PMD 7.17.0.

Violations By Priority

Priority 3

org/codehaus/plexus/classworlds/ClassWorld.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 124125

org/codehaus/plexus/classworlds/launcher/Launcher.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 157159
CollapsibleIfStatements This if statement could be combined with its parent 179181

org/codehaus/plexus/classworlds/realm/ClassRealm.java

Rule Violation Line
UselessOverridingMethod Overriding method merely calls super 251
UselessOverridingMethod Overriding method merely calls super 261

Priority 4

org/codehaus/plexus/classworlds/launcher/ConfigurationParser.java

Rule Violation Line
UselessParentheses Useless parentheses around `new File("")`. 387
UselessParentheses Useless parentheses around `line.isEmpty() || line.startsWith("#")`. 412

org/codehaus/plexus/classworlds/realm/Entry.java

Rule Violation Line
UselessParentheses Useless parentheses around `getPackageName().compareTo(that.getPackageName())`. 158

Files

org/codehaus/plexus/classworlds/ClassWorld.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 124125

org/codehaus/plexus/classworlds/launcher/ConfigurationParser.java

Rule Violation Priority Line
UselessParentheses Useless parentheses around `new File("")`. 4 387
UselessParentheses Useless parentheses around `line.isEmpty() || line.startsWith("#")`. 4 412

org/codehaus/plexus/classworlds/launcher/Launcher.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 157159
CollapsibleIfStatements This if statement could be combined with its parent 3 179181

org/codehaus/plexus/classworlds/realm/ClassRealm.java

Rule Violation Priority Line
UselessOverridingMethod Overriding method merely calls super 3 251
UselessOverridingMethod Overriding method merely calls super 3 261

org/codehaus/plexus/classworlds/realm/Entry.java

Rule Violation Priority Line
UselessParentheses Useless parentheses around `getPackageName().compareTo(that.getPackageName())`. 4 158