PMD Results

The following document contains the results of PMD 7.17.0.

Violations By Priority

Priority 3

org/cyclopsgroup/jmxterm/cc/CommandCenter.java
Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'originalCommand'. 142
org/cyclopsgroup/jmxterm/cc/ConsoleCompletor.java
Rule Violation Line
UselessPureMethodCall Do not call pure method replaceFirst if the result is not used. 54
org/cyclopsgroup/jmxterm/cmd/BeanCommand.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 5758
EmptyCatchBlock Avoid empty catch blocks 5859
EmptyCatchBlock Avoid empty catch blocks 7172
EmptyCatchBlock Avoid empty catch blocks 7273
org/cyclopsgroup/jmxterm/cmd/GetCommand.java
Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 100104
org/cyclopsgroup/jmxterm/io/FileCommandOutput.java
Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 2830

Priority 4

org/cyclopsgroup/jmxterm/io/ValueOutputFormat.java
Rule Violation Line
UselessParentheses Useless parentheses around `(Collection<?>) value`. 106

Files

org/cyclopsgroup/jmxterm/cc/CommandCenter.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'originalCommand'. 3 142

org/cyclopsgroup/jmxterm/cc/ConsoleCompletor.java

Rule Violation Priority Line
UselessPureMethodCall Do not call pure method replaceFirst if the result is not used. 3 54

org/cyclopsgroup/jmxterm/cmd/BeanCommand.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 5758
EmptyCatchBlock Avoid empty catch blocks 3 5859
EmptyCatchBlock Avoid empty catch blocks 3 7172
EmptyCatchBlock Avoid empty catch blocks 3 7273

org/cyclopsgroup/jmxterm/cmd/GetCommand.java

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

org/cyclopsgroup/jmxterm/io/FileCommandOutput.java

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

org/cyclopsgroup/jmxterm/io/ValueOutputFormat.java

Rule Violation Priority Line
UselessParentheses Useless parentheses around `(Collection<?>) value`. 4 106