PMD Results
The following document contains the results of PMD 7.7.0.
Violations By Priority
Priority 3
nl/tudelft/simulation/dsol/web/AbstractTestDemoServer.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 398–413 |
EmptyControlStatement | Empty if statement | 402–413 |
EmptyControlStatement | Empty if statement | 406–413 |
EmptyControlStatement | Empty if statement | 410–413 |
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'. | 209 |
SimplifiedTernary | This conditional expression can be simplified with || or && | 232 |
SimplifiedTernary | This conditional expression can be simplified with || or && | 253 |
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'. | 268 |
SimplifiedTernary | This conditional expression can be simplified with || or && | 291 |
SimplifiedTernary | This conditional expression can be simplified with || or && | 312 |
nl/tudelft/simulation/dsol/web/animation/d2/HtmlAnimationPanel.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 178–181 |
EmptyCatchBlock | Avoid empty catch blocks | 236–239 |
EmptyCatchBlock | Avoid empty catch blocks | 302–305 |
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 | 36 |
Files
nl/tudelft/simulation/dsol/web/AbstractTestDemoServer.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty if statement | 3 | 398–413 |
EmptyControlStatement | Empty if statement | 3 | 402–413 |
EmptyControlStatement | Empty if statement | 3 | 406–413 |
EmptyControlStatement | Empty if statement | 3 | 410–413 |
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 | 209 |
SimplifiedTernary | This conditional expression can be simplified with || or && | 3 | 232 |
SimplifiedTernary | This conditional expression can be simplified with || or && | 3 | 253 |
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 | 268 |
SimplifiedTernary | This conditional expression can be simplified with || or && | 3 | 291 |
SimplifiedTernary | This conditional expression can be simplified with || or && | 3 | 312 |
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 | 36 |
nl/tudelft/simulation/dsol/web/animation/d2/HtmlAnimationPanel.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 178–181 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 236–239 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 302–305 |