The following document contains the results of PMD 6.13.0.
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'dirtyControls'. | 55 |
| UnusedLocalVariable | Avoid unused local variables such as 'params'. | 241 |
| SimplifiedTernary | Ternary operators that can be simplified with || or && | 264 |
| SimplifiedTernary | Ternary operators that can be simplified with || or && | 285 |
| CollapsibleIfStatements | These nested if statements could be combined | 379–382 |
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'dirtyControls'. | 62 |
| UnusedLocalVariable | Avoid unused local variables such as 'params'. | 275 |
| SimplifiedTernary | Ternary operators that can be simplified with || or && | 298 |
| SimplifiedTernary | Ternary operators that can be simplified with || or && | 319 |
| CollapsibleIfStatements | These nested if statements could be combined | 413–416 |
| Rule | Violation | Line |
|---|---|---|
| EmptyIfStmt | Avoid empty if statements | 403–405 |
| EmptyIfStmt | Avoid empty if statements | 407–409 |
| EmptyIfStmt | Avoid empty if statements | 411–413 |
| EmptyIfStmt | Avoid empty if statements | 415–417 |
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'gtuColorer'. | 99 |
| CollapsibleIfStatements | These nested if statements could be combined | 184–187 |
| EmptyCatchBlock | Avoid empty catch blocks | 303–306 |
| 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 |
|---|---|---|
| EmptyStatementBlock | Avoid empty block statements. | 123–125 |
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses. | 357 |
| UselessParentheses | Useless parentheses. | 357 |
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses. | 391 |
| UselessParentheses | Useless parentheses. | 391 |
| Rule | Violation | Line |
|---|---|---|
| UnusedImports | Avoid unused imports such as 'nl.tudelft.simulation.dsol.simulators.AnimatorInterface' | 29 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'dirtyControls'. | 3 | 55 |
| UnusedLocalVariable | Avoid unused local variables such as 'params'. | 3 | 241 |
| SimplifiedTernary | Ternary operators that can be simplified with || or && | 3 | 264 |
| SimplifiedTernary | Ternary operators that can be simplified with || or && | 3 | 285 |
| UselessParentheses | Useless parentheses. | 4 | 357 |
| UselessParentheses | Useless parentheses. | 4 | 357 |
| CollapsibleIfStatements | These nested if statements could be combined | 3 | 379–382 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'dirtyControls'. | 3 | 62 |
| UnusedLocalVariable | Avoid unused local variables such as 'params'. | 3 | 275 |
| SimplifiedTernary | Ternary operators that can be simplified with || or && | 3 | 298 |
| SimplifiedTernary | Ternary operators that can be simplified with || or && | 3 | 319 |
| UselessParentheses | Useless parentheses. | 4 | 391 |
| UselessParentheses | Useless parentheses. | 4 | 391 |
| CollapsibleIfStatements | These nested if statements could be combined | 3 | 413–416 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyIfStmt | Avoid empty if statements | 3 | 403–405 |
| EmptyIfStmt | Avoid empty if statements | 3 | 407–409 |
| EmptyIfStmt | Avoid empty if statements | 3 | 411–413 |
| EmptyIfStmt | Avoid empty if statements | 3 | 415–417 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedImports | Avoid unused imports such as 'nl.tudelft.simulation.dsol.simulators.AnimatorInterface' | 4 | 29 |
| UnusedPrivateField | Avoid unused private fields such as 'gtuColorer'. | 3 | 99 |
| CollapsibleIfStatements | These nested if statements could be combined | 3 | 184–187 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 303–306 |
| 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 |
|---|---|---|---|
| EmptyStatementBlock | Avoid empty block statements. | 3 | 123–125 |