The following document contains the results of PMD 6.13.0.
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | These nested if statements could be combined | 139–142 |
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryModifier | Unnecessary modifier 'final' on method 'showAnimationClass': the method is already in a final class | 186–190 |
| UnnecessaryModifier | Unnecessary modifier 'final' on method 'hideAnimationClass': the method is already in a final class | 197–201 |
| Rule | Violation | Line |
|---|---|---|
| EmptyTryBlock | Avoid empty try blocks | 600–602 |
| EmptyCatchBlock | Avoid empty catch blocks | 603–606 |
| CollapsibleIfStatements | These nested if statements could be combined | 1021–1024 |
| Rule | Violation | Line |
|---|---|---|
| UselessQualifiedThis | Useless qualified this usage in the same class. | 417 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 423 |
| UnusedLocalVariable | Avoid unused local variables such as 'rect'. | 429 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 432 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 832 |
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 137–140 |
| Rule | Violation | Line |
|---|---|---|
| UselessQualifiedThis | Useless qualified this usage in the same class. | 273 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 273 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 284 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 293 |
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses. | 72 |
| UselessParentheses | Useless parentheses. | 179 |
| Rule | Violation | Line |
|---|---|---|
| UnusedImports | Avoid unused imports such as 'nl.tudelft.simulation.naming.context.ContextInterface' | 63 |
| UnusedImports | Avoid unused imports such as 'nl.tudelft.simulation.naming.context.util.ContextUtil' | 64 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses. | 4 | 72 |
| UselessParentheses | Useless parentheses. | 4 | 179 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | These nested if statements could be combined | 3 | 139–142 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryModifier | Unnecessary modifier 'final' on method 'showAnimationClass': the method is already in a final class | 3 | 186–190 |
| UnnecessaryModifier | Unnecessary modifier 'final' on method 'hideAnimationClass': the method is already in a final class | 3 | 197–201 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyTryBlock | Avoid empty try blocks | 3 | 600–602 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 603–606 |
| CollapsibleIfStatements | These nested if statements could be combined | 3 | 1021–1024 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedImports | Avoid unused imports such as 'nl.tudelft.simulation.naming.context.ContextInterface' | 4 | 63 |
| UnusedImports | Avoid unused imports such as 'nl.tudelft.simulation.naming.context.util.ContextUtil' | 4 | 64 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 417 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 423 |
| UnusedLocalVariable | Avoid unused local variables such as 'rect'. | 3 | 429 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 432 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 832 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 137–140 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 273 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 273 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 284 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 293 |