The following document contains the results of PMD 7.0.0.
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 113–116 |
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 70–73 |
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'creationTime'. | 17 |
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Thread': 'sleep' is already in scope | 111 |
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryImport | Duplicate import 'nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEvent' | 4 |
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses. | 135 |
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Ball': 'RADIUS' is already in scope because it is declared in an enclosing type | 46 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Ball': 'RADIUS' is already in scope because it is declared in an enclosing type | 46 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Ball': 'RADIUS' is already in scope because it is declared in an enclosing type | 46 |
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IntResource': 'UTILIZATION_EVENT' is already in scope because it is declared in an enclosing type | 144 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IntResource': 'DEFAULT_REQUEST_PRIORITY' is already in scope because it is declared in an enclosing type | 175 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IntResource': 'RESOURCE_REQUESTED_QUEUE_LENGTH' is already in scope because it is declared in an enclosing type | 204 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IntResource': 'RESOURCE_REQUESTED_QUEUE_LENGTH' is already in scope because it is declared in an enclosing type | 237 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IntResource': 'counter' is already in scope because it is declared in an enclosing type | 313 |
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Terminal': 'READY_EVENT' is already in scope because it is declared in an enclosing type | 125 |
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'FlowObject': 'RELEASE_EVENT' is already in scope because it is inherited by an enclosing type | 80 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Thread': 'sleep' is already in scope | 4 | 111 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 113–116 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryImport | Duplicate import 'nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEvent' | 4 | 4 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses. | 4 | 135 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Ball': 'RADIUS' is already in scope because it is declared in an enclosing type | 4 | 46 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Ball': 'RADIUS' is already in scope because it is declared in an enclosing type | 4 | 46 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Ball': 'RADIUS' is already in scope because it is declared in an enclosing type | 4 | 46 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 70–73 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IntResource': 'UTILIZATION_EVENT' is already in scope because it is declared in an enclosing type | 4 | 144 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IntResource': 'DEFAULT_REQUEST_PRIORITY' is already in scope because it is declared in an enclosing type | 4 | 175 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IntResource': 'RESOURCE_REQUESTED_QUEUE_LENGTH' is already in scope because it is declared in an enclosing type | 4 | 204 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IntResource': 'RESOURCE_REQUESTED_QUEUE_LENGTH' is already in scope because it is declared in an enclosing type | 4 | 237 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IntResource': 'counter' is already in scope because it is declared in an enclosing type | 4 | 313 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Terminal': 'READY_EVENT' is already in scope because it is declared in an enclosing type | 4 | 125 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'creationTime'. | 3 | 17 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'FlowObject': 'RELEASE_EVENT' is already in scope because it is inherited by an enclosing type | 4 | 80 |