PMD Results

The following document contains the results of PMD 7.3.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 This conditional expression can be simplified with || or && 233
SimplifiedTernary This conditional expression 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 This conditional expression can be simplified with || or && 292
SimplifiedTernary This conditional expression can be simplified with || or && 313

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

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 180183
EmptyCatchBlock Avoid empty catch blocks 239242
EmptyCatchBlock Avoid empty catch blocks 305308

Priority 4

nl/tudelft/simulation/dsol/web/animation/HtmlDevice.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'GraphicsDevice': 'TYPE_RASTER_SCREEN' is already in scope because it is inherited by an enclosing type 37

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 This conditional expression can be simplified with || or && 3 233
SimplifiedTernary This conditional expression 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 This conditional expression can be simplified with || or && 3 292
SimplifiedTernary This conditional expression can be simplified with || or && 3 313

nl/tudelft/simulation/dsol/web/animation/HtmlDevice.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'GraphicsDevice': 'TYPE_RASTER_SCREEN' is already in scope because it is inherited by an enclosing type 4 37

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

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 180183
EmptyCatchBlock Avoid empty catch blocks 3 239242
EmptyCatchBlock Avoid empty catch blocks 3 305308