PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 3

org/opentrafficsim/swing/graphs/SwingPlot.java

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

org/opentrafficsim/swing/gui/OTSAnimationPanel.java

Rule Violation Line
UselessQualifiedThis Useless qualified this usage in the same class. 250
EmptyTryBlock Avoid empty try blocks 577579
EmptyCatchBlock Avoid empty catch blocks 580583
CollapsibleIfStatements These nested if statements could be combined 994997

org/opentrafficsim/swing/gui/OTSControlPanel.java

Rule Violation Line
UselessQualifiedThis Useless qualified this usage in the same class. 430
UselessQualifiedThis Useless qualified this usage in the same class. 436
UselessQualifiedThis Useless qualified this usage in the same class. 444
UselessQualifiedThis Useless qualified this usage in the same class. 850

org/opentrafficsim/swing/gui/OTSSwingApplication.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 137140

org/opentrafficsim/swing/script/AbstractSimulationScript.java

Rule Violation Line
UselessQualifiedThis Useless qualified this usage in the same class. 276
UselessQualifiedThis Useless qualified this usage in the same class. 276
UselessQualifiedThis Useless qualified this usage in the same class. 287
UselessQualifiedThis Useless qualified this usage in the same class. 296

Priority 4

org/opentrafficsim/swing/graphs/SwingFundamentalDiagram.java

Rule Violation Line
UselessParentheses Useless parentheses. 72
UselessParentheses Useless parentheses. 179

Files

org/opentrafficsim/swing/graphs/SwingFundamentalDiagram.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 72
UselessParentheses Useless parentheses. 4 179

org/opentrafficsim/swing/graphs/SwingPlot.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 139142

org/opentrafficsim/swing/gui/OTSAnimationPanel.java

Rule Violation Priority Line
UselessQualifiedThis Useless qualified this usage in the same class. 3 250
EmptyTryBlock Avoid empty try blocks 3 577579
EmptyCatchBlock Avoid empty catch blocks 3 580583
CollapsibleIfStatements These nested if statements could be combined 3 994997

org/opentrafficsim/swing/gui/OTSControlPanel.java

Rule Violation Priority Line
UselessQualifiedThis Useless qualified this usage in the same class. 3 430
UselessQualifiedThis Useless qualified this usage in the same class. 3 436
UselessQualifiedThis Useless qualified this usage in the same class. 3 444
UselessQualifiedThis Useless qualified this usage in the same class. 3 850

org/opentrafficsim/swing/gui/OTSSwingApplication.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 137140

org/opentrafficsim/swing/script/AbstractSimulationScript.java

Rule Violation Priority Line
UselessQualifiedThis Useless qualified this usage in the same class. 3 276
UselessQualifiedThis Useless qualified this usage in the same class. 3 276
UselessQualifiedThis Useless qualified this usage in the same class. 3 287
UselessQualifiedThis Useless qualified this usage in the same class. 3 296