PMD Results

The following document contains the results of PMD 6.46.0.

Violations By Priority

Priority 3

nl/tudelft/simulation/dsol/web/AbstractTestDemoServer.java

Rule Violation Line
EmptyControlStatement Empty if statement 401416
EmptyControlStatement Empty if statement 405416
EmptyControlStatement Empty if statement 409416
EmptyControlStatement Empty if statement 413416

nl/tudelft/simulation/dsol/web/DsolWebModel.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'dirtyControls'. 56
UnusedLocalVariable Avoid unused local variables such as 'params'. 210
SimplifiedTernary Ternary operators that can be simplified with || or && 233
SimplifiedTernary Ternary operators that can be simplified with || or && 254

nl/tudelft/simulation/dsol/web/DsolWebServer.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'dirtyControls'. 63
UnusedLocalVariable Avoid unused local variables such as 'params'. 269
SimplifiedTernary Ternary operators that can be simplified with || or && 292
SimplifiedTernary Ternary operators that can be simplified with || or && 313

nl/tudelft/simulation/dsol/web/animation/d2/HtmlAnimationPanel.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 180183
EmptyCatchBlock Avoid empty catch blocks 239242
EmptyCatchBlock Avoid empty catch blocks 305308

Files

nl/tudelft/simulation/dsol/web/AbstractTestDemoServer.java

Rule Violation Priority Line
EmptyControlStatement Empty if statement 3 401416
EmptyControlStatement Empty if statement 3 405416
EmptyControlStatement Empty if statement 3 409416
EmptyControlStatement Empty if statement 3 413416

nl/tudelft/simulation/dsol/web/DsolWebModel.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'dirtyControls'. 3 56
UnusedLocalVariable Avoid unused local variables such as 'params'. 3 210
SimplifiedTernary Ternary operators that can be simplified with || or && 3 233
SimplifiedTernary Ternary operators that can be simplified with || or && 3 254

nl/tudelft/simulation/dsol/web/DsolWebServer.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'dirtyControls'. 3 63
UnusedLocalVariable Avoid unused local variables such as 'params'. 3 269
SimplifiedTernary Ternary operators that can be simplified with || or && 3 292
SimplifiedTernary Ternary operators that can be simplified with || or && 3 313

nl/tudelft/simulation/dsol/web/animation/d2/HtmlAnimationPanel.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 180183
EmptyCatchBlock Avoid empty catch blocks 3 239242
EmptyCatchBlock Avoid empty catch blocks 3 305308