The following document contains the results of PMD 6.46.0.
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'dirtyControls'. | 58 |
UnusedLocalVariable | Avoid unused local variables such as 'params'. | 244 |
SimplifiedTernary | Ternary operators that can be simplified with || or && | 267 |
SimplifiedTernary | Ternary operators that can be simplified with || or && | 288 |
CollapsibleIfStatements | These nested if statements could be combined | 385–388 |
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'dirtyControls'. | 65 |
UnusedLocalVariable | Avoid unused local variables such as 'params'. | 277 |
SimplifiedTernary | Ternary operators that can be simplified with || or && | 300 |
SimplifiedTernary | Ternary operators that can be simplified with || or && | 321 |
CollapsibleIfStatements | These nested if statements could be combined | 418–421 |
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 402–417 |
EmptyControlStatement | Empty if statement | 406–417 |
EmptyControlStatement | Empty if statement | 410–417 |
EmptyControlStatement | Empty if statement | 414–417 |
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'gtuColorer'. | 95 |
SimplifiedTernary | Ternary operators that can be simplified with || or && | 164 |
CollapsibleIfStatements | These nested if statements could be combined | 188–191 |
EmptyCatchBlock | Avoid empty catch blocks | 310–313 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'showAnimationClass': the method is already in a final class | 105–108 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'hideAnimationClass': the method is already in a final class | 115–118 |
Rule | Violation | Line |
---|---|---|
UnnecessaryImport | Unused import 'nl.tudelft.simulation.dsol.simulators.SimulatorInterface' | 29 |
Rule | Violation | Line |
---|---|---|
UnnecessaryImport | Unused import 'nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface' | 46 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'dirtyControls'. | 3 | 58 |
UnusedLocalVariable | Avoid unused local variables such as 'params'. | 3 | 244 |
SimplifiedTernary | Ternary operators that can be simplified with || or && | 3 | 267 |
SimplifiedTernary | Ternary operators that can be simplified with || or && | 3 | 288 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 385–388 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'dirtyControls'. | 3 | 65 |
UnusedLocalVariable | Avoid unused local variables such as 'params'. | 3 | 277 |
SimplifiedTernary | Ternary operators that can be simplified with || or && | 3 | 300 |
SimplifiedTernary | Ternary operators that can be simplified with || or && | 3 | 321 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 418–421 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty if statement | 3 | 402–417 |
EmptyControlStatement | Empty if statement | 3 | 406–417 |
EmptyControlStatement | Empty if statement | 3 | 410–417 |
EmptyControlStatement | Empty if statement | 3 | 414–417 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryImport | Unused import 'nl.tudelft.simulation.dsol.simulators.SimulatorInterface' | 4 | 29 |
UnusedPrivateField | Avoid unused private fields such as 'gtuColorer'. | 3 | 95 |
SimplifiedTernary | Ternary operators that can be simplified with || or && | 3 | 164 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 188–191 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 310–313 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'showAnimationClass': the method is already in a final class | 3 | 105–108 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'hideAnimationClass': the method is already in a final class | 3 | 115–118 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryImport | Unused import 'nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface' | 4 | 46 |