PMD Results

The following document contains the results of PMD 7.0.0.

Violations By Priority

Priority 3

nl/tudelft/simulation/dsol/formalisms/Resource.java
Rule Violation Line
UnnecessarySemicolon Unnecessary semicolon 97
nl/tudelft/simulation/dsol/formalisms/devs/esdevs/InputPort.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 7477
nl/tudelft/simulation/dsol/formalisms/flow/statistics/Utilization.java
Rule Violation Line
UnnecessaryReturn Unnecessary return statement 75
nl/tudelft/simulation/dsol/simulators/ErrorStrategy.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on method 'getDefaultLogLevel': the method is already in a final class 68
nl/tudelft/simulation/dsol/simulators/Simulator.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 145148
EmptyCatchBlock Avoid empty catch blocks 194197
EmptyCatchBlock Avoid empty catch blocks 286289
EmptyCatchBlock Avoid empty catch blocks 359362
nl/tudelft/simulation/dsol/statistics/SimCounter.java
Rule Violation Line
UnnecessaryReturn Unnecessary return statement 157
nl/tudelft/simulation/dsol/statistics/SimPersistent.java
Rule Violation Line
UnnecessaryReturn Unnecessary return statement 151
nl/tudelft/simulation/dsol/statistics/SimTally.java
Rule Violation Line
UnnecessaryReturn Unnecessary return statement 136

Priority 4

nl/tudelft/simulation/dsol/animation/Editable.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Editable': 'editables' is already in scope because it is declared in an enclosing type 46
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Editable': 'editables' is already in scope because it is declared in an enclosing type 84
nl/tudelft/simulation/dsol/experiment/Experiment.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Experiment': 'START_EXPERIMENT_EVENT' is already in scope because it is declared in an enclosing type 178
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Experiment': 'END_EXPERIMENT_EVENT' is already in scope because it is declared in an enclosing type 207
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Thread': 'interrupted' is already in scope 485
nl/tudelft/simulation/dsol/formalisms/Resource.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Resource': 'UTILIZATION_EVENT' is already in scope because it is declared in an enclosing type 163
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Resource': 'DEFAULT_REQUEST_PRIORITY' is already in scope because it is declared in an enclosing type 194
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Resource': 'QUEUE_LENGTH_EVENT' is already in scope because it is declared in an enclosing type 223
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Resource': 'QUEUE_LENGTH_EVENT' is already in scope because it is declared in an enclosing type 256
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Resource': 'counter' is already in scope because it is declared in an enclosing type 333
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Resource': 'counter' is already in scope because it is declared in an enclosing type 334
nl/tudelft/simulation/dsol/formalisms/devs/esdevs/AbstractDevsModel.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'atomicFields' is already in scope because it is declared in an enclosing type 83
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'coupledFields' is already in scope because it is declared in an enclosing type 84
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'entityFields' is already in scope because it is declared in an enclosing type 85
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'abstractDEVSFields' is already in scope because it is declared in an enclosing type 86
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'stateFieldMap' is already in scope because it is declared in an enclosing type 107
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'stateFieldMap' is already in scope because it is declared in an enclosing type 111
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'atomicFields' is already in scope because it is declared in an enclosing type 182
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'coupledFields' is already in scope because it is declared in an enclosing type 186
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'entityFields' is already in scope because it is declared in an enclosing type 190
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'abstractDEVSFields' is already in scope because it is declared in an enclosing type 194
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'stateFieldMap' is already in scope because it is declared in an enclosing type 200
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'STATE_UPDATE' is already in scope because it is declared in an enclosing type 219
nl/tudelft/simulation/dsol/formalisms/devs/esdevs/AtomicModel.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AtomicModel': 'INTERNAL_FIRST' is already in scope because it is declared in an enclosing type 65
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AtomicModel': 'INTERNAL_FIRST' is already in scope because it is declared in an enclosing type 87
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AtomicModel': 'INTERNAL_FIRST' is already in scope because it is declared in an enclosing type 99
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AtomicModel': 'INTERNAL_FIRST' is already in scope because it is declared in an enclosing type 109
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AtomicModel': 'INTERNAL_FIRST' is already in scope because it is declared in an enclosing type 118
UselessParentheses Useless parentheses. 201
UselessParentheses Useless parentheses. 216217
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AtomicModel': 'INTERNAL_FIRST' is already in scope because it is declared in an enclosing type 255
nl/tudelft/simulation/dsol/formalisms/devs/esdevs/CoupledModel.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'STATE_UPDATE' is already in scope because it is inherited by an enclosing type 280
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'STATE_UPDATE' is already in scope because it is inherited by an enclosing type 289
nl/tudelft/simulation/dsol/formalisms/eventscheduling/AbstractSimEvent.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimEvent': 'SimEventInterface::NORMAL_PRIORITY' is already in scope because it is inherited by an enclosing type 37
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimEvent': 'SimEventInterface::NORMAL_PRIORITY' is already in scope because it is inherited by an enclosing type 49
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimEvent': 'SimEventInterface::MIN_PRIORITY' is already in scope because it is inherited by an enclosing type 60
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimEvent': 'SimEventInterface::MAX_PRIORITY' is already in scope because it is inherited by an enclosing type 60
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimEvent': 'SimEventInterface::MIN_PRIORITY' is already in scope because it is inherited by an enclosing type 62
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimEvent': 'SimEventInterface::MAX_PRIORITY' is already in scope because it is inherited by an enclosing type 63
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractSimEvent': 'constructorCounter' is already in scope because it is declared in an enclosing type 66
nl/tudelft/simulation/dsol/formalisms/eventscheduling/LambdaSimEvent.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimEvent': 'SimEventInterface::NORMAL_PRIORITY' is already in scope because it is inherited by an enclosing type 36
nl/tudelft/simulation/dsol/formalisms/eventscheduling/SimEvent.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimEvent': 'SimEventInterface::NORMAL_PRIORITY' is already in scope because it is inherited by an enclosing type 54
nl/tudelft/simulation/dsol/formalisms/flow/Create.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Create': 'CREATE_EVENT' is already in scope because it is declared in an enclosing type 194
nl/tudelft/simulation/dsol/formalisms/flow/Duplicate.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'FlowObject': 'RELEASE_EVENT' is already in scope because it is inherited by an enclosing type 64
nl/tudelft/simulation/dsol/formalisms/flow/Seize.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Seize': 'QUEUE_LENGTH_EVENT' is already in scope because it is declared in an enclosing type 103
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Seize': 'QUEUE_LENGTH_EVENT' is already in scope because it is declared in an enclosing type 150
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Seize': 'DELAY_TIME' is already in scope because it is declared in an enclosing type 152
nl/tudelft/simulation/dsol/simulators/DessSimulator.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 77
nl/tudelft/simulation/dsol/simulators/DevDessAnimator.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AnimatorInterface': 'UPDATE_ANIMATION_EVENT' is already in scope because it is inherited by an enclosing type 61
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 104
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 128
nl/tudelft/simulation/dsol/simulators/DevDessSimulator.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 93
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 116
nl/tudelft/simulation/dsol/simulators/DevsAnimator.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AnimatorInterface': 'DEFAULT_ANIMATION_DELAY' is already in scope because it is inherited by an enclosing type 37
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AnimatorInterface': 'UPDATE_ANIMATION_EVENT' is already in scope because it is inherited by an enclosing type 58
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 87
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 107
nl/tudelft/simulation/dsol/simulators/DevsRealTimeAnimator.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 153
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 158
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 240
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 249
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 267
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 285
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 293
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 317
nl/tudelft/simulation/dsol/simulators/DevsSimulator.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 231
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 260
nl/tudelft/simulation/dsol/simulators/Simulator.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'STARTING_EVENT' is already in scope because it is inherited by an enclosing type 182
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'START_EVENT' is already in scope because it is inherited by an enclosing type 260
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'STOP_EVENT' is already in scope because it is inherited by an enclosing type 266
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'STOPPING_EVENT' is already in scope because it is inherited by an enclosing type 298
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Thread': 'NORM_PRIORITY' is already in scope because it is inherited by an enclosing type 571
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'START_EVENT' is already in scope because it is inherited by an enclosing type 623
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'STOP_EVENT' is already in scope because it is inherited by an enclosing type 626
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Thread': 'interrupted' is already in scope 644
nl/tudelft/simulation/dsol/statistics/SimPersistent.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'LocalEventProducer': 'EventProducer::FIRST_POSITION' is already in scope because it is inherited by an enclosing type 70
UselessParentheses Useless parentheses. 167
nl/tudelft/simulation/dsol/statistics/SimTally.java
Rule Violation Line
UselessParentheses Useless parentheses. 144
nl/tudelft/simulation/jstats/distributions/DistBeta.java
Rule Violation Line
UselessParentheses Useless parentheses. 72
nl/tudelft/simulation/jstats/distributions/DistErlang.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DistErlang': 'GAMMATHRESHOLD' is already in scope because it is declared in an enclosing type 66
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DistErlang': 'GAMMATHRESHOLD' is already in scope because it is declared in an enclosing type 73
nl/tudelft/simulation/jstats/distributions/DistExponential.java
Rule Violation Line
UselessParentheses Useless parentheses. 61
nl/tudelft/simulation/jstats/distributions/DistGamma.java
Rule Violation Line
UselessParentheses Useless parentheses. 142
nl/tudelft/simulation/jstats/distributions/DistGeometric.java
Rule Violation Line
UselessParentheses Useless parentheses. 55
nl/tudelft/simulation/jstats/distributions/DistNegBinomial.java
Rule Violation Line
UselessParentheses Useless parentheses. 63
nl/tudelft/simulation/jstats/distributions/DistNormalTrunc.java
Rule Violation Line
UselessParentheses Useless parentheses. 194
nl/tudelft/simulation/jstats/distributions/DistPoisson.java
Rule Violation Line
UselessParentheses Useless parentheses. 68
nl/tudelft/simulation/jstats/filters/MaxDiffFilter.java
Rule Violation Line
UselessParentheses Useless parentheses. 56
nl/tudelft/simulation/jstats/math/ProbMath.java
Rule Violation Line
UselessParentheses Useless parentheses. 315
UselessParentheses Useless parentheses. 316
UselessParentheses Useless parentheses. 317
UselessParentheses Useless parentheses. 318
UselessParentheses Useless parentheses. 319
UselessParentheses Useless parentheses. 320
UselessParentheses Useless parentheses. 321
UselessParentheses Useless parentheses. 322
UnnecessaryFullyQualifiedName Unnecessary qualifier 'ProbMath': 'factorial' is already in scope 346
UselessParentheses Useless parentheses. 405
nl/tudelft/simulation/jstats/ode/integrators/Gill.java
Rule Violation Line
UselessParentheses Useless parentheses. 63
nl/tudelft/simulation/jstats/streams/DX120Generator.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DX120Generator': 'K' is already in scope because it is declared in an enclosing type 66
UselessParentheses Useless parentheses. 113
nl/tudelft/simulation/jstats/streams/MersenneTwister.java
Rule Violation Line
UselessParentheses Useless parentheses. 126
nl/tudelft/simulation/jstats/streams/RandomNumberGenerator.java
Rule Violation Line
UselessParentheses Useless parentheses. 77
UselessParentheses Useless parentheses. 111

Files

nl/tudelft/simulation/dsol/animation/Editable.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Editable': 'editables' is already in scope because it is declared in an enclosing type 4 46
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Editable': 'editables' is already in scope because it is declared in an enclosing type 4 84

nl/tudelft/simulation/dsol/experiment/Experiment.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Experiment': 'START_EXPERIMENT_EVENT' is already in scope because it is declared in an enclosing type 4 178
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Experiment': 'END_EXPERIMENT_EVENT' is already in scope because it is declared in an enclosing type 4 207
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Thread': 'interrupted' is already in scope 4 485

nl/tudelft/simulation/dsol/formalisms/Resource.java

Rule Violation Priority Line
UnnecessarySemicolon Unnecessary semicolon 3 97
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Resource': 'UTILIZATION_EVENT' is already in scope because it is declared in an enclosing type 4 163
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Resource': 'DEFAULT_REQUEST_PRIORITY' is already in scope because it is declared in an enclosing type 4 194
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Resource': 'QUEUE_LENGTH_EVENT' is already in scope because it is declared in an enclosing type 4 223
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Resource': 'QUEUE_LENGTH_EVENT' is already in scope because it is declared in an enclosing type 4 256
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Resource': 'counter' is already in scope because it is declared in an enclosing type 4 333
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Resource': 'counter' is already in scope because it is declared in an enclosing type 4 334

nl/tudelft/simulation/dsol/formalisms/devs/esdevs/AbstractDevsModel.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'atomicFields' is already in scope because it is declared in an enclosing type 4 83
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'coupledFields' is already in scope because it is declared in an enclosing type 4 84
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'entityFields' is already in scope because it is declared in an enclosing type 4 85
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'abstractDEVSFields' is already in scope because it is declared in an enclosing type 4 86
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'stateFieldMap' is already in scope because it is declared in an enclosing type 4 107
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'stateFieldMap' is already in scope because it is declared in an enclosing type 4 111
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'atomicFields' is already in scope because it is declared in an enclosing type 4 182
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'coupledFields' is already in scope because it is declared in an enclosing type 4 186
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'entityFields' is already in scope because it is declared in an enclosing type 4 190
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'abstractDEVSFields' is already in scope because it is declared in an enclosing type 4 194
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'stateFieldMap' is already in scope because it is declared in an enclosing type 4 200
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'STATE_UPDATE' is already in scope because it is declared in an enclosing type 4 219

nl/tudelft/simulation/dsol/formalisms/devs/esdevs/AtomicModel.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AtomicModel': 'INTERNAL_FIRST' is already in scope because it is declared in an enclosing type 4 65
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AtomicModel': 'INTERNAL_FIRST' is already in scope because it is declared in an enclosing type 4 87
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AtomicModel': 'INTERNAL_FIRST' is already in scope because it is declared in an enclosing type 4 99
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AtomicModel': 'INTERNAL_FIRST' is already in scope because it is declared in an enclosing type 4 109
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AtomicModel': 'INTERNAL_FIRST' is already in scope because it is declared in an enclosing type 4 118
UselessParentheses Useless parentheses. 4 201
UselessParentheses Useless parentheses. 4 216217
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AtomicModel': 'INTERNAL_FIRST' is already in scope because it is declared in an enclosing type 4 255

nl/tudelft/simulation/dsol/formalisms/devs/esdevs/CoupledModel.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'STATE_UPDATE' is already in scope because it is inherited by an enclosing type 4 280
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractDevsModel': 'STATE_UPDATE' is already in scope because it is inherited by an enclosing type 4 289

nl/tudelft/simulation/dsol/formalisms/devs/esdevs/InputPort.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 7477

nl/tudelft/simulation/dsol/formalisms/eventscheduling/AbstractSimEvent.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimEvent': 'SimEventInterface::NORMAL_PRIORITY' is already in scope because it is inherited by an enclosing type 4 37
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimEvent': 'SimEventInterface::NORMAL_PRIORITY' is already in scope because it is inherited by an enclosing type 4 49
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimEvent': 'SimEventInterface::MIN_PRIORITY' is already in scope because it is inherited by an enclosing type 4 60
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimEvent': 'SimEventInterface::MAX_PRIORITY' is already in scope because it is inherited by an enclosing type 4 60
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimEvent': 'SimEventInterface::MIN_PRIORITY' is already in scope because it is inherited by an enclosing type 4 62
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimEvent': 'SimEventInterface::MAX_PRIORITY' is already in scope because it is inherited by an enclosing type 4 63
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractSimEvent': 'constructorCounter' is already in scope because it is declared in an enclosing type 4 66

nl/tudelft/simulation/dsol/formalisms/eventscheduling/LambdaSimEvent.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimEvent': 'SimEventInterface::NORMAL_PRIORITY' is already in scope because it is inherited by an enclosing type 4 36

nl/tudelft/simulation/dsol/formalisms/eventscheduling/SimEvent.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimEvent': 'SimEventInterface::NORMAL_PRIORITY' is already in scope because it is inherited by an enclosing type 4 54

nl/tudelft/simulation/dsol/formalisms/flow/Create.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Create': 'CREATE_EVENT' is already in scope because it is declared in an enclosing type 4 194

nl/tudelft/simulation/dsol/formalisms/flow/Duplicate.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'FlowObject': 'RELEASE_EVENT' is already in scope because it is inherited by an enclosing type 4 64

nl/tudelft/simulation/dsol/formalisms/flow/Seize.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Seize': 'QUEUE_LENGTH_EVENT' is already in scope because it is declared in an enclosing type 4 103
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Seize': 'QUEUE_LENGTH_EVENT' is already in scope because it is declared in an enclosing type 4 150
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Seize': 'DELAY_TIME' is already in scope because it is declared in an enclosing type 4 152

nl/tudelft/simulation/dsol/formalisms/flow/statistics/Utilization.java

Rule Violation Priority Line
UnnecessaryReturn Unnecessary return statement 3 75

nl/tudelft/simulation/dsol/simulators/DessSimulator.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 4 77

nl/tudelft/simulation/dsol/simulators/DevDessAnimator.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AnimatorInterface': 'UPDATE_ANIMATION_EVENT' is already in scope because it is inherited by an enclosing type 4 61
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 4 104
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 4 128

nl/tudelft/simulation/dsol/simulators/DevDessSimulator.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 4 93
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 4 116

nl/tudelft/simulation/dsol/simulators/DevsAnimator.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AnimatorInterface': 'DEFAULT_ANIMATION_DELAY' is already in scope because it is inherited by an enclosing type 4 37
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AnimatorInterface': 'UPDATE_ANIMATION_EVENT' is already in scope because it is inherited by an enclosing type 4 58
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 4 87
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 4 107

nl/tudelft/simulation/dsol/simulators/DevsRealTimeAnimator.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 4 153
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 4 158
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 4 240
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 4 249
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 4 267
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 4 285
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 4 293
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 4 317

nl/tudelft/simulation/dsol/simulators/DevsSimulator.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 4 231
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'TIME_CHANGED_EVENT' is already in scope because it is inherited by an enclosing type 4 260

nl/tudelft/simulation/dsol/simulators/ErrorStrategy.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on method 'getDefaultLogLevel': the method is already in a final class 3 68

nl/tudelft/simulation/dsol/simulators/Simulator.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 145148
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'STARTING_EVENT' is already in scope because it is inherited by an enclosing type 4 182
EmptyCatchBlock Avoid empty catch blocks 3 194197
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'START_EVENT' is already in scope because it is inherited by an enclosing type 4 260
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'STOP_EVENT' is already in scope because it is inherited by an enclosing type 4 266
EmptyCatchBlock Avoid empty catch blocks 3 286289
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'STOPPING_EVENT' is already in scope because it is inherited by an enclosing type 4 298
EmptyCatchBlock Avoid empty catch blocks 3 359362
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Thread': 'NORM_PRIORITY' is already in scope because it is inherited by an enclosing type 4 571
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'START_EVENT' is already in scope because it is inherited by an enclosing type 4 623
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SimulatorInterface': 'STOP_EVENT' is already in scope because it is inherited by an enclosing type 4 626
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Thread': 'interrupted' is already in scope 4 644

nl/tudelft/simulation/dsol/statistics/SimCounter.java

Rule Violation Priority Line
UnnecessaryReturn Unnecessary return statement 3 157

nl/tudelft/simulation/dsol/statistics/SimPersistent.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'LocalEventProducer': 'EventProducer::FIRST_POSITION' is already in scope because it is inherited by an enclosing type 4 70
UnnecessaryReturn Unnecessary return statement 3 151
UselessParentheses Useless parentheses. 4 167

nl/tudelft/simulation/dsol/statistics/SimTally.java

Rule Violation Priority Line
UnnecessaryReturn Unnecessary return statement 3 136
UselessParentheses Useless parentheses. 4 144

nl/tudelft/simulation/jstats/distributions/DistBeta.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 72

nl/tudelft/simulation/jstats/distributions/DistErlang.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DistErlang': 'GAMMATHRESHOLD' is already in scope because it is declared in an enclosing type 4 66
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DistErlang': 'GAMMATHRESHOLD' is already in scope because it is declared in an enclosing type 4 73

nl/tudelft/simulation/jstats/distributions/DistExponential.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 61

nl/tudelft/simulation/jstats/distributions/DistGamma.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 142

nl/tudelft/simulation/jstats/distributions/DistGeometric.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 55

nl/tudelft/simulation/jstats/distributions/DistNegBinomial.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 63

nl/tudelft/simulation/jstats/distributions/DistNormalTrunc.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 194

nl/tudelft/simulation/jstats/distributions/DistPoisson.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 68

nl/tudelft/simulation/jstats/filters/MaxDiffFilter.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 56

nl/tudelft/simulation/jstats/math/ProbMath.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 315
UselessParentheses Useless parentheses. 4 316
UselessParentheses Useless parentheses. 4 317
UselessParentheses Useless parentheses. 4 318
UselessParentheses Useless parentheses. 4 319
UselessParentheses Useless parentheses. 4 320
UselessParentheses Useless parentheses. 4 321
UselessParentheses Useless parentheses. 4 322
UnnecessaryFullyQualifiedName Unnecessary qualifier 'ProbMath': 'factorial' is already in scope 4 346
UselessParentheses Useless parentheses. 4 405

nl/tudelft/simulation/jstats/ode/integrators/Gill.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 63

nl/tudelft/simulation/jstats/streams/DX120Generator.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DX120Generator': 'K' is already in scope because it is declared in an enclosing type 4 66
UselessParentheses Useless parentheses. 4 113

nl/tudelft/simulation/jstats/streams/MersenneTwister.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 126

nl/tudelft/simulation/jstats/streams/RandomNumberGenerator.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 77
UselessParentheses Useless parentheses. 4 111