PMD Results
The following document contains the results of PMD 7.3.0.
Violations By Priority
Priority 3
nl/tudelft/simulation/dsol/demo/visualization/VisualizationDemo.java
nl/tudelft/simulation/examples/dsol/terminal/ExperimentRunnerTerminal.java
nl/tudelft/simulation/examples/dsol/timesharedcomputer/Job.java
Priority 4
nl/tudelft/simulation/dsol/demo/visualization/VisualizationDemo.java
nl/tudelft/simulation/dsol/tutorial/section25/Customer.java
Rule |
Violation |
Line |
UnnecessaryImport |
Duplicate import 'nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEvent' |
4 |
nl/tudelft/simulation/dsol/tutorial/section42/Retailer.java
nl/tudelft/simulation/examples/dsol/animation/Ball.java
nl/tudelft/simulation/examples/dsol/terminal/IntResource.java
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 |
nl/tudelft/simulation/examples/dsol/terminal/Terminal.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'Terminal': 'READY_EVENT' is already in scope because it is declared in an enclosing type |
125 |
nl/tudelft/simulation/examples/dsol/timesharedcomputer/Terminal.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'FlowObject': 'RELEASE_EVENT' is already in scope because it is inherited by an enclosing type |
80 |
Files
nl/tudelft/simulation/dsol/demo/visualization/VisualizationDemo.java
nl/tudelft/simulation/dsol/tutorial/section25/Customer.java
Rule |
Violation |
Priority |
Line |
UnnecessaryImport |
Duplicate import 'nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEvent' |
4 |
4 |
nl/tudelft/simulation/dsol/tutorial/section42/Retailer.java
nl/tudelft/simulation/examples/dsol/animation/Ball.java
nl/tudelft/simulation/examples/dsol/terminal/ExperimentRunnerTerminal.java
nl/tudelft/simulation/examples/dsol/terminal/IntResource.java
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 |
nl/tudelft/simulation/examples/dsol/terminal/Terminal.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'Terminal': 'READY_EVENT' is already in scope because it is declared in an enclosing type |
4 |
125 |
nl/tudelft/simulation/examples/dsol/timesharedcomputer/Job.java
Rule |
Violation |
Priority |
Line |
UnusedPrivateField |
Avoid unused private fields such as 'creationTime'. |
3 |
17 |
nl/tudelft/simulation/examples/dsol/timesharedcomputer/Terminal.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'FlowObject': 'RELEASE_EVENT' is already in scope because it is inherited by an enclosing type |
4 |
80 |