PMD Results

The following document contains the results of PMD 6.4.0.

Files

nl/tudelft/simulation/dsol/Identifiable.java

Violation Priority Line
Avoid modifiers which are implied by the context 3 3135
Avoid modifiers which are implied by the context 3 4549

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

Violation Priority Line
Useless parentheses. 4 208
Useless parentheses. 4 223

nl/tudelft/simulation/dsol/formalisms/devs/ESDEVS/InputPortInterface.java

Violation Priority Line
Avoid modifiers which are implied by the context 3 6467
Avoid modifiers which are implied by the context 3 7477
Avoid modifiers which are implied by the context 3 8386
Avoid modifiers which are implied by the context 3 9295
Avoid modifiers which are implied by the context 3 101104
Avoid modifiers which are implied by the context 3 110113
Avoid modifiers which are implied by the context 3 119122
Avoid modifiers which are implied by the context 3 128131

nl/tudelft/simulation/dsol/formalisms/devs/ESDEVS/OutputPortInterface.java

Violation Priority Line
Avoid modifiers which are implied by the context 3 6568
Avoid modifiers which are implied by the context 3 7578
Avoid modifiers which are implied by the context 3 8487
Avoid modifiers which are implied by the context 3 9396
Avoid modifiers which are implied by the context 3 102105
Avoid modifiers which are implied by the context 3 111114
Avoid modifiers which are implied by the context 3 120123
Avoid modifiers which are implied by the context 3 129132

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

Violation Priority Line
Avoid modifiers which are implied by the context 3 6265
Avoid modifiers which are implied by the context 3 6871
Avoid modifiers which are implied by the context 3 7477
Avoid modifiers which are implied by the context 3 8083
Avoid modifiers which are implied by the context 3 8689
Avoid modifiers which are implied by the context 3 9295
Avoid modifiers which are implied by the context 3 98101
Avoid modifiers which are implied by the context 3 104107

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

Violation Priority Line
Avoid modifiers which are implied by the context 3 7174
Avoid modifiers which are implied by the context 3 7780
Avoid modifiers which are implied by the context 3 8386
Avoid modifiers which are implied by the context 3 8992
Avoid modifiers which are implied by the context 3 9598
Avoid modifiers which are implied by the context 3 101104
Avoid modifiers which are implied by the context 3 107110
Avoid modifiers which are implied by the context 3 113116

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

Violation Priority Line
Unnecessary use of fully qualified name 'nl.tudelft.simulation.naming.context.ContextUtil.resolveKey' due to existing import 'nl.tudelft.simulation.naming.context.ContextUtil' 4 118

nl/tudelft/simulation/dsol/model/DSOLModel.java

Violation Priority Line
Avoid modifiers which are implied by the context 3 7982
Avoid modifiers which are implied by the context 3 8891
Avoid modifiers which are implied by the context 3 97100
Avoid modifiers which are implied by the context 3 106110
Avoid modifiers which are implied by the context 3 116120
Avoid modifiers which are implied by the context 3 126130
Avoid modifiers which are implied by the context 3 136140
Avoid modifiers which are implied by the context 3 146150

nl/tudelft/simulation/dsol/model/inputparameters/InputParameterDouble.java

Violation Priority Line
Useless parentheses. 4 85
Useless parentheses. 4 86

nl/tudelft/simulation/dsol/model/inputparameters/InputParameterDoubleScalar.java

Violation Priority Line
Useless parentheses. 4 170
Useless parentheses. 4 171

nl/tudelft/simulation/dsol/model/inputparameters/InputParameterFloat.java

Violation Priority Line
Useless parentheses. 4 85
Useless parentheses. 4 86

nl/tudelft/simulation/dsol/model/inputparameters/InputParameterFloatScalar.java

Violation Priority Line
Useless parentheses. 4 170
Useless parentheses. 4 171

nl/tudelft/simulation/dsol/model/inputparameters/reader/ReadInputParameters.java

Violation Priority Line
Useless parentheses. 4 214
Useless parentheses. 4 214

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

Violation Priority Line
Avoid modifiers which are implied by the context 3 6669
Avoid modifiers which are implied by the context 3 7275
Avoid modifiers which are implied by the context 3 7881
Avoid modifiers which are implied by the context 3 8488
Avoid modifiers which are implied by the context 3 9195
Avoid modifiers which are implied by the context 3 98102
Avoid modifiers which are implied by the context 3 105109
Avoid modifiers which are implied by the context 3 112116

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

Violation Priority Line
Avoid modifiers which are implied by the context 3 5054
Avoid modifiers which are implied by the context 3 5761
Avoid modifiers which are implied by the context 3 6468
Avoid modifiers which are implied by the context 3 7175
Avoid modifiers which are implied by the context 3 7882
Avoid modifiers which are implied by the context 3 8589
Avoid modifiers which are implied by the context 3 9296
Avoid modifiers which are implied by the context 3 99103

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

Violation Priority Line
Avoid modifiers which are implied by the context 3 287290
Avoid modifiers which are implied by the context 3 293296
Avoid modifiers which are implied by the context 3 299302
Avoid modifiers which are implied by the context 3 305309
Avoid modifiers which are implied by the context 3 312316
Avoid modifiers which are implied by the context 3 319323
Avoid modifiers which are implied by the context 3 326330
Avoid modifiers which are implied by the context 3 333337

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

Violation Priority Line
Avoid modifiers which are implied by the context 3 173176
Avoid modifiers which are implied by the context 3 179182
Avoid modifiers which are implied by the context 3 185188
Avoid modifiers which are implied by the context 3 191194
Avoid modifiers which are implied by the context 3 197200
Avoid modifiers which are implied by the context 3 203206
Avoid modifiers which are implied by the context 3 209212
Avoid modifiers which are implied by the context 3 215218

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

Violation Priority Line
Unnecessary use of fully qualified name 'nl.tudelft.simulation.naming.context.ContextUtil.resolveKey' due to existing import 'nl.tudelft.simulation.naming.context.ContextUtil' 4 160

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

Violation Priority Line
Useless parentheses. 4 36
Useless parentheses. 4 36

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

Violation Priority Line
Useless parentheses. 4 46
Useless parentheses. 4 46

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

Violation Priority Line
Useless parentheses. 4 40
Useless parentheses. 4 40
Useless parentheses. 4 40

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

Violation Priority Line
Useless parentheses. 4 172

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

Violation Priority Line
Useless parentheses. 4 48
Useless parentheses. 4 48

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

Violation Priority Line
Useless parentheses. 4 40
Useless parentheses. 4 40

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

Violation Priority Line
Useless parentheses. 4 38
Useless parentheses. 4 38

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

Violation Priority Line
Useless parentheses. 4 43
Useless parentheses. 4 43
Useless parentheses. 4 43

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

Violation Priority Line
Useless parentheses. 4 42
Useless parentheses. 4 42

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

Violation Priority Line
Useless parentheses. 4 49
Useless parentheses. 4 49
Useless parentheses. 4 49
Useless parentheses. 4 78

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

Violation Priority Line
Useless parentheses. 4 38
Useless parentheses. 4 38

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

Violation Priority Line
Useless parentheses. 4 46
Useless parentheses. 4 46
Useless parentheses. 4 48
Useless parentheses. 4 48
Useless parentheses. 4 49
Useless parentheses. 4 49

nl/tudelft/simulation/jstats/statistics/Persistent.java

Violation Priority Line
Useless parentheses. 4 159

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

Violation Priority Line
Useless parentheses. 4 97
Useless parentheses. 4 136