SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.8.6

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
274 289 0 0

Files

Class Bugs
nl.tudelft.simulation.dsol.animation.Editable 5
nl.tudelft.simulation.dsol.eventlists.TableModelEventList 2
nl.tudelft.simulation.dsol.experiment.Experiment 10
nl.tudelft.simulation.dsol.experiment.Experiment$ExperimentThread 1
nl.tudelft.simulation.dsol.experiment.ExperimentReplication 4
nl.tudelft.simulation.dsol.experiment.ExperimentRunControl 1
nl.tudelft.simulation.dsol.experiment.Replication 4
nl.tudelft.simulation.dsol.experiment.RunControl 1
nl.tudelft.simulation.dsol.experiment.SingleReplication 2
nl.tudelft.simulation.dsol.experiment.StreamInformation 3
nl.tudelft.simulation.dsol.experiment.StreamSeedInformation 1
nl.tudelft.simulation.dsol.experiment.StreamSeedUpdater 1
nl.tudelft.simulation.dsol.formalisms.Resource 5
nl.tudelft.simulation.dsol.formalisms.Resource$RequestComparator 1
nl.tudelft.simulation.dsol.formalisms.dess.DifferentialEquation 6
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.AbstractDevsModel 5
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.AbstractDevsPortModel 2
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.AtomicModel 2
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.CoupledModel 6
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.ExternalInputCoupling 1
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.ExternalOutputCoupling 1
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.InputPort 4
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.InternalCoupling 1
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.OutputPort 3
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.Phase 1
nl.tudelft.simulation.dsol.formalisms.eventscheduling.AbstractSimEvent 2
nl.tudelft.simulation.dsol.formalisms.eventscheduling.LambdaSimEvent 3
nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEvent 4
nl.tudelft.simulation.dsol.formalisms.flow.Create 14
nl.tudelft.simulation.dsol.formalisms.flow.Delay 2
nl.tudelft.simulation.dsol.formalisms.flow.Duplicate 1
nl.tudelft.simulation.dsol.formalisms.flow.Entity 2
nl.tudelft.simulation.dsol.formalisms.flow.FlowObject 7
nl.tudelft.simulation.dsol.formalisms.flow.Release 1
nl.tudelft.simulation.dsol.formalisms.flow.Seize 6
nl.tudelft.simulation.dsol.formalisms.flow.Seize$Request 2
nl.tudelft.simulation.dsol.logger.DefaultSimTimeFormatter 2
nl.tudelft.simulation.dsol.logger.SimLogger 3
nl.tudelft.simulation.dsol.model.AbstractDsolModel 8
nl.tudelft.simulation.dsol.model.inputparameters.AbstractInputParameter 3
nl.tudelft.simulation.dsol.model.inputparameters.AbstractInputParameterMap 1
nl.tudelft.simulation.dsol.model.inputparameters.AbstractInputParameterMap$InputParameterComparator 1
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuous 4
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection 4
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Beta 1
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Constant 1
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Erlang 1
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Exponential 1
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Gamma 1
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$LogNormal 1
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Normal 1
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Pearson5 1
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Pearson6 1
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Triangular 1
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Uniform 1
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Weibull 1
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscrete 4
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection 4
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$Bernoulli 1
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$Binomial 1
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$DiscreteConstant 1
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$DiscreteUniform 1
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$Geometric 1
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$NegBinomial 1
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$Poisson 1
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDouble 1
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDoubleScalar 3
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterFloat 1
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterFloatScalar 3
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterInteger 1
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterLong 1
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterMapDistContinuous 3
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterMapDistDiscrete 3
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionList 5
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionMap 7
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterString 1
nl.tudelft.simulation.dsol.model.inputparameters.reader.ReadInputParameters 4
nl.tudelft.simulation.dsol.simulators.AnimatorInterface$AnimationThread 1
nl.tudelft.simulation.dsol.simulators.DessSimulator 1
nl.tudelft.simulation.dsol.simulators.DevDessSimulator 1
nl.tudelft.simulation.dsol.simulators.DevsRealTimeAnimator 3
nl.tudelft.simulation.dsol.simulators.DevsSimulator 3
nl.tudelft.simulation.dsol.simulators.Simulator 11
nl.tudelft.simulation.dsol.statistics.SimCounter 3
nl.tudelft.simulation.dsol.statistics.SimPersistent 3
nl.tudelft.simulation.dsol.statistics.SimTally 3
nl.tudelft.simulation.dsol.statistics.table.CounterTableModel 1
nl.tudelft.simulation.dsol.statistics.table.PersistentTableModel 1
nl.tudelft.simulation.dsol.statistics.table.StatisticsTableModel 1
nl.tudelft.simulation.dsol.statistics.table.TallyTableModel 1
nl.tudelft.simulation.jstats.distributions.Dist 4
nl.tudelft.simulation.jstats.distributions.DistBernoulli 1
nl.tudelft.simulation.jstats.distributions.DistBeta 1
nl.tudelft.simulation.jstats.distributions.DistBinomial 1
nl.tudelft.simulation.jstats.distributions.DistDiscreteUniform 1
nl.tudelft.simulation.jstats.distributions.DistEmpiricalDiscreteLong 1
nl.tudelft.simulation.jstats.distributions.DistErlang 1
nl.tudelft.simulation.jstats.distributions.DistExponential 1
nl.tudelft.simulation.jstats.distributions.DistGamma 1
nl.tudelft.simulation.jstats.distributions.DistGeometric 1
nl.tudelft.simulation.jstats.distributions.DistLogNormalTrunc 2
nl.tudelft.simulation.jstats.distributions.DistNegBinomial 1
nl.tudelft.simulation.jstats.distributions.DistNormal 2
nl.tudelft.simulation.jstats.distributions.DistNormalTrunc 2
nl.tudelft.simulation.jstats.distributions.DistPearson5 1
nl.tudelft.simulation.jstats.distributions.DistPearson6 1
nl.tudelft.simulation.jstats.distributions.DistPoisson 1
nl.tudelft.simulation.jstats.distributions.DistTriangular 1
nl.tudelft.simulation.jstats.distributions.DistUniform 1
nl.tudelft.simulation.jstats.distributions.DistWeibull 1
nl.tudelft.simulation.jstats.distributions.empirical.AbstractEmpiricalDistribution 1
nl.tudelft.simulation.jstats.distributions.empirical.DiscreteEmpiricalDistribution 1
nl.tudelft.simulation.jstats.distributions.empirical.InterpolatedEmpiricalDistribution 1
nl.tudelft.simulation.jstats.filters.MaxDiffFilter 1
nl.tudelft.simulation.jstats.filters.SnippetFilter 1
nl.tudelft.simulation.jstats.math.ProbMath 4
nl.tudelft.simulation.jstats.ode.DifferentialEquation 4
nl.tudelft.simulation.jstats.ode.integrators.NumericalIntegrator 1
nl.tudelft.simulation.jstats.ode.integrators.RungeKuttaCashCarp 5
nl.tudelft.simulation.jstats.ode.integrators.RungeKuttaFehlberg 5
nl.tudelft.simulation.jstats.streams.Java2Random 1
nl.tudelft.simulation.jstats.streams.RandomNumberGenerator 2

nl.tudelft.simulation.dsol.animation.Editable

Bug Category Details Line Priority
Hard coded reference to an absolute pathname in nl.tudelft.simulation.dsol.animation.Editable.<static initializer for Editable>() STYLE DMI_HARDCODED_ABSOLUTE_FILENAME 45 Medium
nl.tudelft.simulation.dsol.animation.Editable.getVertices() may expose internal representation by returning Editable.vertices MALICIOUS_CODE EI_EXPOSE_REP 104 Medium
new nl.tudelft.simulation.dsol.animation.Editable(SimulatorInterface, OrientedPoint3d) may expose internal representation by storing an externally mutable object into Editable.simulator MALICIOUS_CODE EI_EXPOSE_REP2 95 Medium
nl.tudelft.simulation.dsol.animation.Editable.setVertices(CartesianPoint[]) may expose internal representation by storing an externally mutable object into Editable.vertices MALICIOUS_CODE EI_EXPOSE_REP2 131 Medium
Public static nl.tudelft.simulation.dsol.animation.Editable.listEditables() may expose internal representation by returning Editable.editables MALICIOUS_CODE MS_EXPOSE_REP 84 Medium

nl.tudelft.simulation.dsol.eventlists.TableModelEventList

Bug Category Details Line Priority
nl.tudelft.simulation.dsol.eventlists.TableModelEventList.getTableModel() may expose internal representation by returning TableModelEventList.tableModel MALICIOUS_CODE EI_EXPOSE_REP 66 Medium
nl.tudelft.simulation.dsol.eventlists.TableModelEventList.HEADER should be package protected MALICIOUS_CODE MS_PKGPROTECT 37 Medium

nl.tudelft.simulation.dsol.experiment.Experiment

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.experiment.Experiment at new nl.tudelft.simulation.dsol.experiment.Experiment(String, SimulatorInterface, DsolModel, Number, Number, Number, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 113 Medium
Exception thrown in class nl.tudelft.simulation.dsol.experiment.Experiment at new nl.tudelft.simulation.dsol.experiment.Experiment(SimulatorInterface, DsolModel, ExperimentRunControl) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 125 Medium
nl.tudelft.simulation.dsol.experiment.Experiment.getModel() may expose internal representation by returning Experiment.model MALICIOUS_CODE EI_EXPOSE_REP 155 Medium
nl.tudelft.simulation.dsol.experiment.Experiment.getRunControl() may expose internal representation by returning Experiment.runControl MALICIOUS_CODE EI_EXPOSE_REP 137 Medium
nl.tudelft.simulation.dsol.experiment.Experiment.getSimulator() may expose internal representation by returning Experiment.simulator MALICIOUS_CODE EI_EXPOSE_REP 146 Medium
nl.tudelft.simulation.dsol.experiment.Experiment.getStartedReplications() may expose internal representation by returning Experiment.startedReplications MALICIOUS_CODE EI_EXPOSE_REP 164 Medium
nl.tudelft.simulation.dsol.experiment.Experiment.getSummaryStatistics() may expose internal representation by returning Experiment.summaryStatistics MALICIOUS_CODE EI_EXPOSE_REP 344 Medium
new nl.tudelft.simulation.dsol.experiment.Experiment(SimulatorInterface, DsolModel, ExperimentRunControl) may expose internal representation by storing an externally mutable object into Experiment.model MALICIOUS_CODE EI_EXPOSE_REP2 130 Medium
new nl.tudelft.simulation.dsol.experiment.Experiment(SimulatorInterface, DsolModel, ExperimentRunControl) may expose internal representation by storing an externally mutable object into Experiment.runControl MALICIOUS_CODE EI_EXPOSE_REP2 128 Medium
new nl.tudelft.simulation.dsol.experiment.Experiment(SimulatorInterface, DsolModel, ExperimentRunControl) may expose internal representation by storing an externally mutable object into Experiment.simulator MALICIOUS_CODE EI_EXPOSE_REP2 129 Medium

nl.tudelft.simulation.dsol.experiment.Experiment$ExperimentThread

Bug Category Details Line Priority
new nl.tudelft.simulation.dsol.experiment.Experiment$ExperimentThread(Experiment) may expose internal representation by storing an externally mutable object into Experiment$ExperimentThread.experiment MALICIOUS_CODE EI_EXPOSE_REP2 462 Medium

nl.tudelft.simulation.dsol.experiment.ExperimentReplication

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.experiment.ExperimentReplication at new nl.tudelft.simulation.dsol.experiment.ExperimentReplication(String, Number, Number, Number, Experiment, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 52 Medium
Exception thrown in class nl.tudelft.simulation.dsol.experiment.ExperimentReplication at new nl.tudelft.simulation.dsol.experiment.ExperimentReplication(RunControl, Experiment, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 65 Medium
nl.tudelft.simulation.dsol.experiment.ExperimentReplication.getExperiment() may expose internal representation by returning ExperimentReplication.experiment MALICIOUS_CODE EI_EXPOSE_REP 122 Medium
new nl.tudelft.simulation.dsol.experiment.ExperimentReplication(RunControl, Experiment, int) may expose internal representation by storing an externally mutable object into ExperimentReplication.experiment MALICIOUS_CODE EI_EXPOSE_REP2 66 Medium

nl.tudelft.simulation.dsol.experiment.ExperimentRunControl

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.experiment.ExperimentRunControl at new nl.tudelft.simulation.dsol.experiment.ExperimentRunControl(String, Number, Number, Number, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 40 Medium

nl.tudelft.simulation.dsol.experiment.Replication

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.experiment.Replication at new nl.tudelft.simulation.dsol.experiment.Replication(String, Number, Number, Number) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 58 Medium
Exception thrown in class nl.tudelft.simulation.dsol.experiment.Replication at new nl.tudelft.simulation.dsol.experiment.Replication(RunControl) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 68 Medium
nl.tudelft.simulation.dsol.experiment.Replication.getRunControl() may expose internal representation by returning Replication.runControl MALICIOUS_CODE EI_EXPOSE_REP 76 Medium
new nl.tudelft.simulation.dsol.experiment.Replication(RunControl) may expose internal representation by storing an externally mutable object into Replication.runControl MALICIOUS_CODE EI_EXPOSE_REP2 69 Medium

nl.tudelft.simulation.dsol.experiment.RunControl

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.experiment.RunControl at new nl.tudelft.simulation.dsol.experiment.RunControl(String, Number, Number, Number) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 54 Medium

nl.tudelft.simulation.dsol.experiment.SingleReplication

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.experiment.SingleReplication at new nl.tudelft.simulation.dsol.experiment.SingleReplication(String, Number, Number, Number) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 40 Medium
Exception thrown in class nl.tudelft.simulation.dsol.experiment.SingleReplication at new nl.tudelft.simulation.dsol.experiment.SingleReplication(RunControl) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 51 Medium

nl.tudelft.simulation.dsol.experiment.StreamInformation

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.experiment.StreamInformation at new nl.tudelft.simulation.dsol.experiment.StreamInformation() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 35 Medium
Exception thrown in class nl.tudelft.simulation.dsol.experiment.StreamInformation at new nl.tudelft.simulation.dsol.experiment.StreamInformation(StreamInterface) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 45 Medium
nl.tudelft.simulation.dsol.experiment.StreamInformation.getStreams() may expose internal representation by returning StreamInformation.streams MALICIOUS_CODE EI_EXPOSE_REP 69 Medium

nl.tudelft.simulation.dsol.experiment.StreamSeedInformation

Bug Category Details Line Priority
nl.tudelft.simulation.dsol.experiment.StreamSeedInformation.getStreamSeedMap() may expose internal representation by returning StreamSeedInformation.streamSeedMap MALICIOUS_CODE EI_EXPOSE_REP 112 Medium

nl.tudelft.simulation.dsol.experiment.StreamSeedUpdater

Bug Category Details Line Priority
nl.tudelft.simulation.dsol.experiment.StreamSeedUpdater.getStreamSeedMap() may expose internal representation by returning StreamSeedUpdater.streamSeedMap MALICIOUS_CODE EI_EXPOSE_REP 84 Medium

nl.tudelft.simulation.dsol.formalisms.Resource

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.Resource at new nl.tudelft.simulation.dsol.formalisms.Resource(String, DevsSimulatorInterface, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 108 Medium
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.Resource at new nl.tudelft.simulation.dsol.formalisms.Resource(String, DevsSimulatorInterface, double, Comparator) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 91 Medium
new nl.tudelft.simulation.dsol.formalisms.Resource(String, DevsSimulatorInterface, double, Comparator) may expose internal representation by storing an externally mutable object into Resource.simulator MALICIOUS_CODE EI_EXPOSE_REP2 95 Medium
Inconsistent synchronization of nl.tudelft.simulation.dsol.formalisms.Resource.claimedCapacity; locked 57% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 143 Medium
Class nl.tudelft.simulation.dsol.formalisms.Resource defines non-transient non-serializable instance field requests BAD_PRACTICE SE_BAD_FIELD Not available Medium

nl.tudelft.simulation.dsol.formalisms.Resource$RequestComparator

Bug Category Details Line Priority
nl.tudelft.simulation.dsol.formalisms.Resource$RequestComparator implements Comparator but not Serializable BAD_PRACTICE SE_COMPARATOR_SHOULD_BE_SERIALIZABLE 278-300 Medium

nl.tudelft.simulation.dsol.formalisms.dess.DifferentialEquation

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.dess.DifferentialEquation at new nl.tudelft.simulation.dsol.formalisms.dess.DifferentialEquation(DessSimulatorInterface, double, NumericalIntegratorType, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 106 Medium
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.dess.DifferentialEquation at new nl.tudelft.simulation.dsol.formalisms.dess.DifferentialEquation(DessSimulatorInterface, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 69 Medium
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.dess.DifferentialEquation at new nl.tudelft.simulation.dsol.formalisms.dess.DifferentialEquation(DessSimulatorInterface, NumericalIntegratorType, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 82 Medium
new nl.tudelft.simulation.dsol.formalisms.dess.DifferentialEquation(DessSimulatorInterface, double, NumericalIntegratorType, int) may expose internal representation by storing an externally mutable object into DifferentialEquation.simulator MALICIOUS_CODE EI_EXPOSE_REP2 97 Medium
nl.tudelft.simulation.dsol.formalisms.dess.DifferentialEquation.initialize(double, double[]) may expose internal representation by storing an externally mutable object into DifferentialEquation.previousY MALICIOUS_CODE EI_EXPOSE_REP2 136 Medium
The class name nl.tudelft.simulation.dsol.formalisms.dess.DifferentialEquation shadows the simple name of the superclass nl.tudelft.simulation.jstats.ode.DifferentialEquation BAD_PRACTICE NM_SAME_SIMPLE_NAME_AS_SUPERCLASS 41-137 High

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

Bug Category Details Line Priority
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.AbstractDevsModel.getParentModel() may expose internal representation by returning AbstractDevsModel.parentModel MALICIOUS_CODE EI_EXPOSE_REP 135 Medium
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.AbstractDevsModel.getSimulator() may expose internal representation by returning AbstractDevsModel.simulator MALICIOUS_CODE EI_EXPOSE_REP 119 Medium
new nl.tudelft.simulation.dsol.formalisms.devs.esdevs.AbstractDevsModel(String, DevsSimulatorInterface, CoupledModel) may expose internal representation by storing an externally mutable object into AbstractDevsModel.parentModel MALICIOUS_CODE EI_EXPOSE_REP2 106 Medium
new nl.tudelft.simulation.dsol.formalisms.devs.esdevs.AbstractDevsModel(String, DevsSimulatorInterface, CoupledModel) may expose internal representation by storing an externally mutable object into AbstractDevsModel.simulator MALICIOUS_CODE EI_EXPOSE_REP2 105 Medium
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.AbstractDevsModel.setSimulator(DevsSimulatorInterface) may expose internal representation by storing an externally mutable object into AbstractDevsModel.simulator MALICIOUS_CODE EI_EXPOSE_REP2 127 Medium

nl.tudelft.simulation.dsol.formalisms.devs.esdevs.AbstractDevsPortModel

Bug Category Details Line Priority
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.AbstractDevsPortModel.getInputPortMap() may expose internal representation by returning AbstractDevsPortModel.inputPortMap MALICIOUS_CODE EI_EXPOSE_REP 123 Medium
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.AbstractDevsPortModel.getOutputPortMap() may expose internal representation by returning AbstractDevsPortModel.outputPortMap MALICIOUS_CODE EI_EXPOSE_REP 131 Medium

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

Bug Category Details Line Priority
new nl.tudelft.simulation.dsol.formalisms.devs.esdevs.AtomicModel(String, CoupledModel, Number, Phase, boolean) may expose internal representation by storing an externally mutable object into AtomicModel.phase MALICIOUS_CODE EI_EXPOSE_REP2 154 Medium
new nl.tudelft.simulation.dsol.formalisms.devs.esdevs.AtomicModel(String, DevsSimulatorInterface, Number, Phase, boolean) may expose internal representation by storing an externally mutable object into AtomicModel.phase MALICIOUS_CODE EI_EXPOSE_REP2 136 Medium

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

Bug Category Details Line Priority
Using pointer equality to compare a InputPortInterface<T,TYPE> with a AbstractDevsModel<T> in nl.tudelft.simulation.dsol.formalisms.devs.esdevs.CoupledModel.removeInternalCoupling(OutputPortInterface, InputPortInterface) CORRECTNESS EC_UNRELATED_TYPES_USING_POINTER_EQUALITY 178 Medium
Using pointer equality to compare a OutputPortInterface<T,TYPE> with a AbstractDevsModel<T> in nl.tudelft.simulation.dsol.formalisms.devs.esdevs.CoupledModel.removeInternalCoupling(OutputPortInterface, InputPortInterface) CORRECTNESS EC_UNRELATED_TYPES_USING_POINTER_EQUALITY 178 Medium
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.CoupledModel.getExternalInputCouplingSet() may expose internal representation by returning CoupledModel.externalInputCouplingSet MALICIOUS_CODE EI_EXPOSE_REP 406 Medium
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.CoupledModel.getExternalOutputCouplingSet() may expose internal representation by returning CoupledModel.externalOutputCouplingSet MALICIOUS_CODE EI_EXPOSE_REP 398 Medium
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.CoupledModel.getInternalCouplingSet() may expose internal representation by returning CoupledModel.internalCouplingSet MALICIOUS_CODE EI_EXPOSE_REP 390 Medium
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.CoupledModel.getModelComponents() may expose internal representation by returning CoupledModel.modelComponents MALICIOUS_CODE EI_EXPOSE_REP 414 Medium

nl.tudelft.simulation.dsol.formalisms.devs.esdevs.ExternalInputCoupling

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.devs.esdevs.ExternalInputCoupling at new nl.tudelft.simulation.dsol.formalisms.devs.esdevs.ExternalInputCoupling(InputPortInterface, InputPortInterface) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 39 Medium

nl.tudelft.simulation.dsol.formalisms.devs.esdevs.ExternalOutputCoupling

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.devs.esdevs.ExternalOutputCoupling at new nl.tudelft.simulation.dsol.formalisms.devs.esdevs.ExternalOutputCoupling(OutputPortInterface, OutputPortInterface) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 39 Medium

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

Bug Category Details Line Priority
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.InputPort.getModel() may expose internal representation by returning InputPort.model MALICIOUS_CODE EI_EXPOSE_REP 168 Medium
new nl.tudelft.simulation.dsol.formalisms.devs.esdevs.InputPort(AtomicModel) may expose internal representation by storing an externally mutable object into InputPort.model MALICIOUS_CODE EI_EXPOSE_REP2 51 Medium
new nl.tudelft.simulation.dsol.formalisms.devs.esdevs.InputPort(CoupledModel) may expose internal representation by storing an externally mutable object into InputPort.model MALICIOUS_CODE EI_EXPOSE_REP2 41 Medium
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.InputPort.receive(Object, Number) calls Thread.sleep() with a lock held MT_CORRECTNESS SWL_SLEEP_WITH_LOCK_HELD 72 Medium

nl.tudelft.simulation.dsol.formalisms.devs.esdevs.InternalCoupling

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.devs.esdevs.InternalCoupling at new nl.tudelft.simulation.dsol.formalisms.devs.esdevs.InternalCoupling(OutputPortInterface, InputPortInterface) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 39 Medium

nl.tudelft.simulation.dsol.formalisms.devs.esdevs.OutputPort

Bug Category Details Line Priority
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.OutputPort.getModel() may expose internal representation by returning OutputPort.model MALICIOUS_CODE EI_EXPOSE_REP 74 Medium
new nl.tudelft.simulation.dsol.formalisms.devs.esdevs.OutputPort(AtomicModel) may expose internal representation by storing an externally mutable object into OutputPort.model MALICIOUS_CODE EI_EXPOSE_REP2 43 Medium
new nl.tudelft.simulation.dsol.formalisms.devs.esdevs.OutputPort(CoupledModel) may expose internal representation by storing an externally mutable object into OutputPort.model MALICIOUS_CODE EI_EXPOSE_REP2 34 Medium

nl.tudelft.simulation.dsol.formalisms.devs.esdevs.Phase

Bug Category Details Line Priority
new nl.tudelft.simulation.dsol.formalisms.devs.esdevs.Phase(String) invokes inefficient new String(String) constructor PERFORMANCE DM_STRING_CTOR 42 Medium

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

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.eventscheduling.AbstractSimEvent at new nl.tudelft.simulation.dsol.formalisms.eventscheduling.AbstractSimEvent(Number) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 49 Medium
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.eventscheduling.AbstractSimEvent at new nl.tudelft.simulation.dsol.formalisms.eventscheduling.AbstractSimEvent(Number, short) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 62 Medium

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

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.eventscheduling.LambdaSimEvent at new nl.tudelft.simulation.dsol.formalisms.eventscheduling.LambdaSimEvent(Number, Executable) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 36 Medium
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.eventscheduling.LambdaSimEvent at new nl.tudelft.simulation.dsol.formalisms.eventscheduling.LambdaSimEvent(Number, short, Executable) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 50 Medium
Class nl.tudelft.simulation.dsol.formalisms.eventscheduling.LambdaSimEvent defines non-transient non-serializable instance field executable BAD_PRACTICE SE_BAD_FIELD Not available Medium

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

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEvent at new nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEvent(Number, Object, String, Object[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 54 Medium
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEvent at new nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEvent(Number, short, Object, String, Object[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 68 Medium
nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEvent.getArgs() may expose internal representation by returning SimEvent.args MALICIOUS_CODE EI_EXPOSE_REP 111 Medium
new nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEvent(Number, short, Object, String, Object[]) may expose internal representation by storing an externally mutable object into SimEvent.args MALICIOUS_CODE EI_EXPOSE_REP2 72 Medium

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

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.flow.Create at new nl.tudelft.simulation.dsol.formalisms.flow.Create(String, DevsSimulatorInterface, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 148 Medium
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.flow.Create at new nl.tudelft.simulation.dsol.formalisms.flow.Create(String, DevsSimulatorInterface, DistContinuousSimulationTime) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 178 Medium
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.flow.Create at new nl.tudelft.simulation.dsol.formalisms.flow.Create(String, DevsSimulatorInterface, DistContinuousSimulationTime, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 164 Medium
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.flow.Create at new nl.tudelft.simulation.dsol.formalisms.flow.Create(String, DevsSimulatorInterface, DistContinuousSimulationTime, DistContinuousSimulationTime, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 101 Medium
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.flow.Create at new nl.tudelft.simulation.dsol.formalisms.flow.Create(String, DevsSimulatorInterface, DistContinuousSimulationTime, DistContinuousSimulationTime, DistDiscrete) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 80 Medium
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.flow.Create at new nl.tudelft.simulation.dsol.formalisms.flow.Create(String, DevsSimulatorInterface, DistDiscrete) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 131 Medium
nl.tudelft.simulation.dsol.formalisms.flow.Create.getBatchSize() may expose internal representation by returning Create.batchSize MALICIOUS_CODE EI_EXPOSE_REP 230 Medium
nl.tudelft.simulation.dsol.formalisms.flow.Create.getInterval() may expose internal representation by returning Create.interval MALICIOUS_CODE EI_EXPOSE_REP 239 Medium
nl.tudelft.simulation.dsol.formalisms.flow.Create.getStartTime() may expose internal representation by returning Create.startTime MALICIOUS_CODE EI_EXPOSE_REP 288 Medium
new nl.tudelft.simulation.dsol.formalisms.flow.Create(String, DevsSimulatorInterface, DistContinuousSimulationTime, int) may expose internal representation by storing an externally mutable object into Create.interval MALICIOUS_CODE EI_EXPOSE_REP2 165 Medium
new nl.tudelft.simulation.dsol.formalisms.flow.Create(String, DevsSimulatorInterface, DistContinuousSimulationTime, DistContinuousSimulationTime, DistDiscrete) may expose internal representation by storing an externally mutable object into Create.batchSize MALICIOUS_CODE EI_EXPOSE_REP2 85 Medium
new nl.tudelft.simulation.dsol.formalisms.flow.Create(String, DevsSimulatorInterface, DistContinuousSimulationTime, DistContinuousSimulationTime, DistDiscrete) may expose internal representation by storing an externally mutable object into Create.interval MALICIOUS_CODE EI_EXPOSE_REP2 84 Medium
new nl.tudelft.simulation.dsol.formalisms.flow.Create(String, DevsSimulatorInterface, DistContinuousSimulationTime, DistContinuousSimulationTime, DistDiscrete) may expose internal representation by storing an externally mutable object into Create.startTime MALICIOUS_CODE EI_EXPOSE_REP2 83 Medium
nl.tudelft.simulation.dsol.formalisms.flow.Create.setInterval(DistContinuousSimulationTime) may expose internal representation by storing an externally mutable object into Create.interval MALICIOUS_CODE EI_EXPOSE_REP2 250 Medium

nl.tudelft.simulation.dsol.formalisms.flow.Delay

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.flow.Delay at new nl.tudelft.simulation.dsol.formalisms.flow.Delay(String, DevsSimulatorInterface, DistContinuousSimulationTime) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 40 Medium
new nl.tudelft.simulation.dsol.formalisms.flow.Delay(String, DevsSimulatorInterface, DistContinuousSimulationTime) may expose internal representation by storing an externally mutable object into Delay.delayDistribution MALICIOUS_CODE EI_EXPOSE_REP2 41 Medium

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

Bug Category Details Line Priority
new nl.tudelft.simulation.dsol.formalisms.flow.Duplicate(String, DevsSimulatorInterface, FlowObject, int) may expose internal representation by storing an externally mutable object into Duplicate.duplicateDestination MALICIOUS_CODE EI_EXPOSE_REP2 51 Medium

nl.tudelft.simulation.dsol.formalisms.flow.Entity

Bug Category Details Line Priority
nl.tudelft.simulation.dsol.formalisms.flow.Entity defines clone() but doesn't implement Cloneable BAD_PRACTICE CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE 57-62 High
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.flow.Entity at new nl.tudelft.simulation.dsol.formalisms.flow.Entity(String, Number) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 44 Medium

nl.tudelft.simulation.dsol.formalisms.flow.FlowObject

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.flow.FlowObject at new nl.tudelft.simulation.dsol.formalisms.flow.FlowObject(String, DevsSimulatorInterface) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 57 Medium
nl.tudelft.simulation.dsol.formalisms.flow.FlowObject.getDestination() may expose internal representation by returning FlowObject.destination MALICIOUS_CODE EI_EXPOSE_REP 104 Medium
nl.tudelft.simulation.dsol.formalisms.flow.FlowObject.getSimulator() may expose internal representation by returning FlowObject.simulator MALICIOUS_CODE EI_EXPOSE_REP 113 Medium
new nl.tudelft.simulation.dsol.formalisms.flow.FlowObject(String, DevsSimulatorInterface) may expose internal representation by storing an externally mutable object into FlowObject.simulator MALICIOUS_CODE EI_EXPOSE_REP2 60 Medium
nl.tudelft.simulation.dsol.formalisms.flow.FlowObject.setDestination(FlowObject) may expose internal representation by storing an externally mutable object into FlowObject.destination MALICIOUS_CODE EI_EXPOSE_REP2 80 Medium
Inconsistent synchronization of nl.tudelft.simulation.dsol.formalisms.flow.FlowObject.destination; locked 50% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 104 Medium
Inconsistent synchronization of nl.tudelft.simulation.dsol.formalisms.flow.FlowObject.numberEntities; locked 50% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 69 Medium

nl.tudelft.simulation.dsol.formalisms.flow.Release

Bug Category Details Line Priority
new nl.tudelft.simulation.dsol.formalisms.flow.Release(String, DevsSimulatorInterface, Resource, double) may expose internal representation by storing an externally mutable object into Release.resource MALICIOUS_CODE EI_EXPOSE_REP2 51 Medium

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

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.flow.Seize at new nl.tudelft.simulation.dsol.formalisms.flow.Seize(String, DevsSimulatorInterface, Resource) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 65 Medium
Exception thrown in class nl.tudelft.simulation.dsol.formalisms.flow.Seize at new nl.tudelft.simulation.dsol.formalisms.flow.Seize(String, DevsSimulatorInterface, Resource, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 81 Medium
nl.tudelft.simulation.dsol.formalisms.flow.Seize.getQueue() may expose internal representation by returning Seize.queue MALICIOUS_CODE EI_EXPOSE_REP 134 Medium
new nl.tudelft.simulation.dsol.formalisms.flow.Seize(String, DevsSimulatorInterface, Resource, double) may expose internal representation by storing an externally mutable object into Seize.resource MALICIOUS_CODE EI_EXPOSE_REP2 84 Medium
nl.tudelft.simulation.dsol.formalisms.flow.Seize.setQueue(List) may expose internal representation by storing an externally mutable object into Seize.queue MALICIOUS_CODE EI_EXPOSE_REP2 125 Medium
Class nl.tudelft.simulation.dsol.formalisms.flow.Seize defines non-transient non-serializable instance field queue BAD_PRACTICE SE_BAD_FIELD Not available Medium

nl.tudelft.simulation.dsol.formalisms.flow.Seize$Request

Bug Category Details Line Priority
nl.tudelft.simulation.dsol.formalisms.flow.Seize$Request.getEntity() may expose internal representation by returning Seize$Request.entity MALICIOUS_CODE EI_EXPOSE_REP 202 Medium
new nl.tudelft.simulation.dsol.formalisms.flow.Seize$Request(Entity, double, Number) may expose internal representation by storing an externally mutable object into Seize$Request.entity MALICIOUS_CODE EI_EXPOSE_REP2 182 Medium

nl.tudelft.simulation.dsol.logger.DefaultSimTimeFormatter

Bug Category Details Line Priority
new nl.tudelft.simulation.dsol.logger.DefaultSimTimeFormatter(SimulatorInterface) may expose internal representation by storing an externally mutable object into DefaultSimTimeFormatter.simulator MALICIOUS_CODE EI_EXPOSE_REP2 27 Medium
nl.tudelft.simulation.dsol.logger.DefaultSimTimeFormatter.setSimulator(SimulatorInterface) may expose internal representation by storing an externally mutable object into DefaultSimTimeFormatter.simulator MALICIOUS_CODE EI_EXPOSE_REP2 34 Medium

nl.tudelft.simulation.dsol.logger.SimLogger

Bug Category Details Line Priority
Unread field: nl.tudelft.simulation.dsol.logger.SimLogger.defaultLevel PERFORMANCE URF_UNREAD_FIELD 42 Medium
Unread field: nl.tudelft.simulation.dsol.logger.SimLogger.defaultMessageFormat PERFORMANCE URF_UNREAD_FIELD 39 Medium
Unused field: nl.tudelft.simulation.dsol.logger.SimLogger.immutableLogCategories PERFORMANCE UUF_UNUSED_FIELD Not available Medium

nl.tudelft.simulation.dsol.model.AbstractDsolModel

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.AbstractDsolModel at new nl.tudelft.simulation.dsol.model.AbstractDsolModel(SimulatorInterface) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 57 Medium
Exception thrown in class nl.tudelft.simulation.dsol.model.AbstractDsolModel at new nl.tudelft.simulation.dsol.model.AbstractDsolModel(SimulatorInterface, StreamInformation) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 69 Medium
nl.tudelft.simulation.dsol.model.AbstractDsolModel.getInputParameterMap() may expose internal representation by returning AbstractDsolModel.inputParameterMap MALICIOUS_CODE EI_EXPOSE_REP 100 Medium
nl.tudelft.simulation.dsol.model.AbstractDsolModel.getOutputStatistics() may expose internal representation by returning AbstractDsolModel.outputStatistics MALICIOUS_CODE EI_EXPOSE_REP 129 Medium
nl.tudelft.simulation.dsol.model.AbstractDsolModel.getSimulator() may expose internal representation by returning AbstractDsolModel.simulator MALICIOUS_CODE EI_EXPOSE_REP 93 Medium
nl.tudelft.simulation.dsol.model.AbstractDsolModel.getStreamInformation() may expose internal representation by returning AbstractDsolModel.streamInformation MALICIOUS_CODE EI_EXPOSE_REP 86 Medium
new nl.tudelft.simulation.dsol.model.AbstractDsolModel(SimulatorInterface, StreamInformation) may expose internal representation by storing an externally mutable object into AbstractDsolModel.simulator MALICIOUS_CODE EI_EXPOSE_REP2 70 Medium
nl.tudelft.simulation.dsol.model.AbstractDsolModel.setStreamInformation(StreamInformation) may expose internal representation by storing an externally mutable object into AbstractDsolModel.streamInformation MALICIOUS_CODE EI_EXPOSE_REP2 79 Medium

nl.tudelft.simulation.dsol.model.inputparameters.AbstractInputParameter

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.AbstractInputParameter at new nl.tudelft.simulation.dsol.model.inputparameters.AbstractInputParameter(String, String, String, Object, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 59 Medium
nl.tudelft.simulation.dsol.model.inputparameters.AbstractInputParameter.getParent() may expose internal representation by returning AbstractInputParameter.parent MALICIOUS_CODE EI_EXPOSE_REP 176 Medium
nl.tudelft.simulation.dsol.model.inputparameters.AbstractInputParameter.setParent(AbstractInputParameterMap) may expose internal representation by storing an externally mutable object into AbstractInputParameter.parent MALICIOUS_CODE EI_EXPOSE_REP2 169 Medium

nl.tudelft.simulation.dsol.model.inputparameters.AbstractInputParameterMap

Bug Category Details Line Priority
Overridable method isReadOnly is called from method clone() in class nl.tudelft.simulation.dsol.model.inputparameters.AbstractInputParameterMap. MALICIOUS_CODE MC_OVERRIDABLE_METHOD_CALL_IN_CLONE 126 Medium

nl.tudelft.simulation.dsol.model.inputparameters.AbstractInputParameterMap$InputParameterComparator

Bug Category Details Line Priority
nl.tudelft.simulation.dsol.model.inputparameters.AbstractInputParameterMap$InputParameterComparator.compare(InputParameter, InputParameter) incorrectly handles double value BAD_PRACTICE CO_COMPARETO_INCORRECT_FLOATING 219 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuous

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuous at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuous(String, String, String, StreamInterface, DistContinuous, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 41 Medium
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuous.getStream() may expose internal representation by returning InputParameterDistContinuous.stream MALICIOUS_CODE EI_EXPOSE_REP 57 Medium
new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuous(String, String, String, StreamInterface, DistContinuous, double) may expose internal representation by storing an externally mutable object into InputParameterDistContinuous.stream MALICIOUS_CODE EI_EXPOSE_REP2 42 Medium
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuous.setStream(StreamInterface) may expose internal representation by storing an externally mutable object into InputParameterDistContinuous.stream MALICIOUS_CODE EI_EXPOSE_REP2 67 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection(String, String, String, StreamInterface, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 83 Medium
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection.getStream() may expose internal representation by returning InputParameterDistContinuousSelection.stream MALICIOUS_CODE EI_EXPOSE_REP 114 Medium
new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection(String, String, String, StreamInterface, double) may expose internal representation by storing an externally mutable object into InputParameterDistContinuousSelection.stream MALICIOUS_CODE EI_EXPOSE_REP2 84 Medium
Public static nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection.getDistOptions() may expose internal representation by returning InputParameterDistContinuousSelection.distOptions MALICIOUS_CODE MS_EXPOSE_REP 106 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Beta

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Beta at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Beta() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 134 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Constant

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Constant at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Constant() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 163 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Erlang

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Erlang at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Erlang() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 188 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Exponential

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Exponential at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Exponential() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 217 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Gamma

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Gamma at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Gamma() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 244 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$LogNormal

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$LogNormal at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$LogNormal() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 273 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Normal

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Normal at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Normal() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 302 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Pearson5

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Pearson5 at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Pearson5() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 330 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Pearson6

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Pearson6 at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Pearson6() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 357 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Triangular

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Triangular at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Triangular() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 389 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Uniform

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Uniform at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Uniform() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 427 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Weibull

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Weibull at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection$Weibull() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 456 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscrete

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscrete at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscrete(String, String, String, StreamInterface, DistDiscrete, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 42 Medium
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscrete.getStream() may expose internal representation by returning InputParameterDistDiscrete.stream MALICIOUS_CODE EI_EXPOSE_REP 58 Medium
new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscrete(String, String, String, StreamInterface, DistDiscrete, double) may expose internal representation by storing an externally mutable object into InputParameterDistDiscrete.stream MALICIOUS_CODE EI_EXPOSE_REP2 43 Medium
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscrete.setStream(StreamInterface) may expose internal representation by storing an externally mutable object into InputParameterDistDiscrete.stream MALICIOUS_CODE EI_EXPOSE_REP2 68 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection(String, String, String, StreamInterface, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 73 Medium
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection.getStream() may expose internal representation by returning InputParameterDistDiscreteSelection.stream MALICIOUS_CODE EI_EXPOSE_REP 104 Medium
new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection(String, String, String, StreamInterface, double) may expose internal representation by storing an externally mutable object into InputParameterDistDiscreteSelection.stream MALICIOUS_CODE EI_EXPOSE_REP2 74 Medium
Public static nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection.getDistOptions() may expose internal representation by returning InputParameterDistDiscreteSelection.distOptions MALICIOUS_CODE MS_EXPOSE_REP 96 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$Bernoulli

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$Bernoulli at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$Bernoulli() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 124 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$Binomial

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$Binomial at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$Binomial() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 152 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$DiscreteConstant

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$DiscreteConstant at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$DiscreteConstant() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 182 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$DiscreteUniform

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$DiscreteUniform at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$DiscreteUniform() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 206 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$Geometric

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$Geometric at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$Geometric() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 235 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$NegBinomial

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$NegBinomial at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$NegBinomial() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 263 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$Poisson

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$Poisson at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection$Poisson() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 293 Medium

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

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDouble at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDouble(String, String, String, double, double, double, boolean, boolean, String, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 70 Medium

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

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDoubleScalar at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDoubleScalar(String, String, String, DoubleScalar, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 54 Medium
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDoubleScalar at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDoubleScalar(String, String, String, DoubleScalar, double, double, boolean, boolean, String, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 110 Medium
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDoubleScalar at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDoubleScalar(String, String, String, DoubleScalar, DoubleScalar, DoubleScalar, boolean, boolean, String, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 80 Medium

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

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterFloat at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterFloat(String, String, String, float, float, float, boolean, boolean, String, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 70 Medium

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

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterFloatScalar at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterFloatScalar(String, String, String, FloatScalar, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 54 Medium
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterFloatScalar at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterFloatScalar(String, String, String, FloatScalar, float, float, boolean, boolean, String, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 109 Medium
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterFloatScalar at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterFloatScalar(String, String, String, FloatScalar, FloatScalar, FloatScalar, boolean, boolean, String, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 79 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterInteger

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterInteger at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterInteger(String, String, String, int, int, int, String, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 61 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterLong

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterLong at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterLong(String, String, String, long, long, long, String, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 61 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterMapDistContinuous

Bug Category Details Line Priority
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterMapDistContinuous.getDist() may expose internal representation by returning InputParameterMapDistContinuous.dist MALICIOUS_CODE EI_EXPOSE_REP 58 Medium
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterMapDistContinuous.getStream() may expose internal representation by returning InputParameterMapDistContinuous.stream MALICIOUS_CODE EI_EXPOSE_REP 66 Medium
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterMapDistContinuous.setStream(StreamInterface) may expose internal representation by storing an externally mutable object into InputParameterMapDistContinuous.stream MALICIOUS_CODE EI_EXPOSE_REP2 74 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterMapDistDiscrete

Bug Category Details Line Priority
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterMapDistDiscrete.getDist() may expose internal representation by returning InputParameterMapDistDiscrete.dist MALICIOUS_CODE EI_EXPOSE_REP 58 Medium
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterMapDistDiscrete.getStream() may expose internal representation by returning InputParameterMapDistDiscrete.stream MALICIOUS_CODE EI_EXPOSE_REP 66 Medium
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterMapDistDiscrete.setStream(StreamInterface) may expose internal representation by storing an externally mutable object into InputParameterMapDistDiscrete.stream MALICIOUS_CODE EI_EXPOSE_REP2 74 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionList

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionList at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionList(String, String, String, List, Object, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 49 Medium
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionList at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionList(String, String, String, Object[], Object, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 68 Medium
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionList.getOptions() may expose internal representation by returning InputParameterSelectionList.options MALICIOUS_CODE EI_EXPOSE_REP 83 Medium
Overridable method isReadOnly is called from method clone() in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionList. MALICIOUS_CODE MC_OVERRIDABLE_METHOD_CALL_IN_CLONE 152 Medium
Useless object stored in variable clonedList of method nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionList.clone() STYLE UC_USELESS_OBJECT 137 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionMap

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionMap at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionMap(String, String, String, SortedMap, Object, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 50 Medium
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionMap.getOptions() may expose internal representation by returning InputParameterSelectionMap.options MALICIOUS_CODE EI_EXPOSE_REP 66 Medium
Overridable method isReadOnly is called from method clone() in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionMap. MALICIOUS_CODE MC_OVERRIDABLE_METHOD_CALL_IN_CLONE 159 Medium
Null passed for non-null parameter of java.util.SortedMap.get(Object) in nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionMap.setKeyforValue(Object) CORRECTNESS NP_NULL_PARAM_DEREF 134 Medium
Useless object stored in variable clonedMap of method nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionMap.clone() STYLE UC_USELESS_OBJECT 143 Medium
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionMap.clone() makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 146 Medium
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionMap.getKeyforValue(Object) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 87 Medium

nl.tudelft.simulation.dsol.model.inputparameters.InputParameterString

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.model.inputparameters.InputParameterString at new nl.tudelft.simulation.dsol.model.inputparameters.InputParameterString(String, String, String, String, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 32 Medium

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

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive nl.tudelft.simulation.dsol.model.inputparameters.reader.ReadInputParameters.setParameter(InputParameter, String) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 272 High
Boxing/unboxing to parse a primitive nl.tudelft.simulation.dsol.model.inputparameters.reader.ReadInputParameters.setParameter(InputParameter, String) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 277 High
Boxing/unboxing to parse a primitive nl.tudelft.simulation.dsol.model.inputparameters.reader.ReadInputParameters.setParameter(InputParameter, String) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 287 High
Boxing/unboxing to parse a primitive nl.tudelft.simulation.dsol.model.inputparameters.reader.ReadInputParameters.setParameter(InputParameter, String) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 292 High

nl.tudelft.simulation.dsol.simulators.AnimatorInterface$AnimationThread

Bug Category Details Line Priority
new nl.tudelft.simulation.dsol.simulators.AnimatorInterface$AnimationThread(AnimatorInterface) may expose internal representation by storing an externally mutable object into AnimatorInterface$AnimationThread.animator MALICIOUS_CODE EI_EXPOSE_REP2 77 Medium

nl.tudelft.simulation.dsol.simulators.DessSimulator

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.simulators.DessSimulator at new nl.tudelft.simulation.dsol.simulators.DessSimulator(Serializable, Number) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 40 Medium

nl.tudelft.simulation.dsol.simulators.DevDessSimulator

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.simulators.DevDessSimulator at new nl.tudelft.simulation.dsol.simulators.DevDessSimulator(Serializable, Number) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 42 Medium

nl.tudelft.simulation.dsol.simulators.DevsRealTimeAnimator

Bug Category Details Line Priority
Synchronization on Boolean in nl.tudelft.simulation.dsol.simulators.DevsRealTimeAnimator.run() MT_CORRECTNESS DL_SYNCHRONIZATION_ON_BOOLEAN 90 High
Synchronization on Boolean in nl.tudelft.simulation.dsol.simulators.DevsRealTimeAnimator.setAnimation(boolean) MT_CORRECTNESS DL_SYNCHRONIZATION_ON_BOOLEAN 335 High
Synchronization on DevsRealTimeAnimator.animation in futile attempt to guard it MT_CORRECTNESS ML_SYNC_ON_FIELD_TO_GUARD_CHANGING_THAT_FIELD 357 Medium

nl.tudelft.simulation.dsol.simulators.DevsSimulator

Bug Category Details Line Priority
nl.tudelft.simulation.dsol.simulators.DevsSimulator.getEventList() may expose internal representation by returning DevsSimulator.eventList MALICIOUS_CODE EI_EXPOSE_REP 62 Medium
nl.tudelft.simulation.dsol.simulators.DevsSimulator.setEventList(EventListInterface) may expose internal representation by storing an externally mutable object into DevsSimulator.eventList MALICIOUS_CODE EI_EXPOSE_REP2 218 Medium
nl.tudelft.simulation.dsol.simulators.DevsSimulator.getEventList() is unsynchronized, nl.tudelft.simulation.dsol.simulators.DevsSimulator.setEventList(EventListInterface) is synchronized MT_CORRECTNESS UG_SYNC_SET_UNSYNC_GET 62 Medium

nl.tudelft.simulation.dsol.simulators.Simulator

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.simulators.Simulator at new nl.tudelft.simulation.dsol.simulators.Simulator(Serializable) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 102 Medium
nl.tudelft.simulation.dsol.simulators.Simulator.handleSimulationException(Exception) invokes System.exit(...), which shuts down the entire virtual machine BAD_PRACTICE DM_EXIT 447 Medium
nl.tudelft.simulation.dsol.simulators.Simulator.getLogger() may expose internal representation by returning Simulator.logger MALICIOUS_CODE EI_EXPOSE_REP 488 Medium
nl.tudelft.simulation.dsol.simulators.Simulator.getModel() may expose internal representation by returning Simulator.model MALICIOUS_CODE EI_EXPOSE_REP 481 Medium
nl.tudelft.simulation.dsol.simulators.Simulator.getReplication() may expose internal representation by returning Simulator.replication MALICIOUS_CODE EI_EXPOSE_REP 474 Medium
nl.tudelft.simulation.dsol.simulators.Simulator.initialize(DsolModel, Replication) may expose internal representation by storing an externally mutable object into Simulator.model MALICIOUS_CODE EI_EXPOSE_REP2 123 Medium
nl.tudelft.simulation.dsol.simulators.Simulator.initialize(DsolModel, Replication) may expose internal representation by storing an externally mutable object into Simulator.replication MALICIOUS_CODE EI_EXPOSE_REP2 122 Medium
Overridable method getMessage is called from readObject. MALICIOUS_CODE MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT 545 Medium
Overridable method toString is called from readObject. MALICIOUS_CODE MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT 540 Medium
nl.tudelft.simulation.dsol.simulators.Simulator's readObject method is synchronized MT_CORRECTNESS RS_READOBJECT_SYNC 536-547 Medium
nl.tudelft.simulation.dsol.simulators.Simulator.startImpl() calls Thread.sleep() with a lock held MT_CORRECTNESS SWL_SLEEP_WITH_LOCK_HELD 191 Medium

nl.tudelft.simulation.dsol.statistics.SimCounter

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.statistics.SimCounter at new nl.tudelft.simulation.dsol.statistics.SimCounter(String, DsolModel) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 62 Medium
Exception thrown in class nl.tudelft.simulation.dsol.statistics.SimCounter at new nl.tudelft.simulation.dsol.statistics.SimCounter(String, DsolModel, EventProducer, EventType) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 92 Medium
nl.tudelft.simulation.dsol.statistics.SimCounter.getSimulator() may expose internal representation by returning SimCounter.simulator MALICIOUS_CODE EI_EXPOSE_REP 169 Medium

nl.tudelft.simulation.dsol.statistics.SimPersistent

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.statistics.SimPersistent at new nl.tudelft.simulation.dsol.statistics.SimPersistent(String, DsolModel) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 62 Medium
Exception thrown in class nl.tudelft.simulation.dsol.statistics.SimPersistent at new nl.tudelft.simulation.dsol.statistics.SimPersistent(String, DsolModel, EventProducer, EventType) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 93 Medium
nl.tudelft.simulation.dsol.statistics.SimPersistent.getSimulator() may expose internal representation by returning SimPersistent.simulator MALICIOUS_CODE EI_EXPOSE_REP 185 Medium

nl.tudelft.simulation.dsol.statistics.SimTally

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.statistics.SimTally at new nl.tudelft.simulation.dsol.statistics.SimTally(String, DsolModel) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 60 Medium
Exception thrown in class nl.tudelft.simulation.dsol.statistics.SimTally at new nl.tudelft.simulation.dsol.statistics.SimTally(String, DsolModel, EventProducer, EventType) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 90 Medium
nl.tudelft.simulation.dsol.statistics.SimTally.getSimulator() may expose internal representation by returning SimTally.simulator MALICIOUS_CODE EI_EXPOSE_REP 177 Medium

nl.tudelft.simulation.dsol.statistics.table.CounterTableModel

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.statistics.table.CounterTableModel at new nl.tudelft.simulation.dsol.statistics.table.CounterTableModel(SimCounter) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 41 Medium

nl.tudelft.simulation.dsol.statistics.table.PersistentTableModel

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.statistics.table.PersistentTableModel at new nl.tudelft.simulation.dsol.statistics.table.PersistentTableModel(SimPersistent) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 41 Medium

nl.tudelft.simulation.dsol.statistics.table.StatisticsTableModel

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.statistics.table.StatisticsTableModel at new nl.tudelft.simulation.dsol.statistics.table.StatisticsTableModel(Object[], int, EventProducer, EventType[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 44 Medium

nl.tudelft.simulation.dsol.statistics.table.TallyTableModel

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.dsol.statistics.table.TallyTableModel at new nl.tudelft.simulation.dsol.statistics.table.TallyTableModel(SimTally) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 41 Medium

nl.tudelft.simulation.jstats.distributions.Dist

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.distributions.Dist at new nl.tudelft.simulation.jstats.distributions.Dist(StreamInterface) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 35 Medium
nl.tudelft.simulation.jstats.distributions.Dist.getStream() may expose internal representation by returning Dist.stream MALICIOUS_CODE EI_EXPOSE_REP 45 Medium
new nl.tudelft.simulation.jstats.distributions.Dist(StreamInterface) may expose internal representation by storing an externally mutable object into Dist.stream MALICIOUS_CODE EI_EXPOSE_REP2 36 Medium
nl.tudelft.simulation.jstats.distributions.Dist.setStream(StreamInterface) may expose internal representation by storing an externally mutable object into Dist.stream MALICIOUS_CODE EI_EXPOSE_REP2 56 Medium

nl.tudelft.simulation.jstats.distributions.DistBernoulli

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.distributions.DistBernoulli at new nl.tudelft.simulation.jstats.distributions.DistBernoulli(StreamInterface, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 39 Medium

nl.tudelft.simulation.jstats.distributions.DistBeta

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.distributions.DistBeta at new nl.tudelft.simulation.jstats.distributions.DistBeta(StreamInterface, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 49 Medium

nl.tudelft.simulation.jstats.distributions.DistBinomial

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.distributions.DistBinomial at new nl.tudelft.simulation.jstats.distributions.DistBinomial(StreamInterface, int, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 45 Medium

nl.tudelft.simulation.jstats.distributions.DistDiscreteUniform

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.distributions.DistDiscreteUniform at new nl.tudelft.simulation.jstats.distributions.DistDiscreteUniform(StreamInterface, long, long) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 42 Medium

nl.tudelft.simulation.jstats.distributions.DistEmpiricalDiscreteLong

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.distributions.DistEmpiricalDiscreteLong at new nl.tudelft.simulation.jstats.distributions.DistEmpiricalDiscreteLong(StreamInterface, DiscreteEmpiricalDistribution) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 41 Medium

nl.tudelft.simulation.jstats.distributions.DistErlang

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.distributions.DistErlang at new nl.tudelft.simulation.jstats.distributions.DistErlang(StreamInterface, double, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 62 Medium

nl.tudelft.simulation.jstats.distributions.DistExponential

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.distributions.DistExponential at new nl.tudelft.simulation.jstats.distributions.DistExponential(StreamInterface, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 44 Medium

nl.tudelft.simulation.jstats.distributions.DistGamma

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.distributions.DistGamma at new nl.tudelft.simulation.jstats.distributions.DistGamma(StreamInterface, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 47 Medium

nl.tudelft.simulation.jstats.distributions.DistGeometric

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.distributions.DistGeometric at new nl.tudelft.simulation.jstats.distributions.DistGeometric(StreamInterface, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 45 Medium

nl.tudelft.simulation.jstats.distributions.DistLogNormalTrunc

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.distributions.DistLogNormalTrunc at new nl.tudelft.simulation.jstats.distributions.DistLogNormalTrunc(StreamInterface, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 38 Medium
Exception thrown in class nl.tudelft.simulation.jstats.distributions.DistLogNormalTrunc at new nl.tudelft.simulation.jstats.distributions.DistLogNormalTrunc(StreamInterface, double, double, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 55 Medium

nl.tudelft.simulation.jstats.distributions.DistNegBinomial

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.distributions.DistNegBinomial at new nl.tudelft.simulation.jstats.distributions.DistNegBinomial(StreamInterface, int, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 48 Medium

nl.tudelft.simulation.jstats.distributions.DistNormal

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.distributions.DistNormal at new nl.tudelft.simulation.jstats.distributions.DistNormal(StreamInterface, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 63 Medium
Inconsistent synchronization of nl.tudelft.simulation.jstats.distributions.DistNormal.haveNextNextGaussian; locked 75% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 149 Medium

nl.tudelft.simulation.jstats.distributions.DistNormalTrunc

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.distributions.DistNormalTrunc at new nl.tudelft.simulation.jstats.distributions.DistNormalTrunc(StreamInterface, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 55 Medium
Exception thrown in class nl.tudelft.simulation.jstats.distributions.DistNormalTrunc at new nl.tudelft.simulation.jstats.distributions.DistNormalTrunc(StreamInterface, double, double, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 72 Medium

nl.tudelft.simulation.jstats.distributions.DistPearson5

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.distributions.DistPearson5 at new nl.tudelft.simulation.jstats.distributions.DistPearson5(StreamInterface, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 47 Medium

nl.tudelft.simulation.jstats.distributions.DistPearson6

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.distributions.DistPearson6 at new nl.tudelft.simulation.jstats.distributions.DistPearson6(StreamInterface, double, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 53 Medium

nl.tudelft.simulation.jstats.distributions.DistPoisson

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.distributions.DistPoisson at new nl.tudelft.simulation.jstats.distributions.DistPoisson(StreamInterface, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 41 Medium

nl.tudelft.simulation.jstats.distributions.DistTriangular

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.distributions.DistTriangular at new nl.tudelft.simulation.jstats.distributions.DistTriangular(StreamInterface, double, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 46 Medium

nl.tudelft.simulation.jstats.distributions.DistUniform

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.distributions.DistUniform at new nl.tudelft.simulation.jstats.distributions.DistUniform(StreamInterface, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 41 Medium

nl.tudelft.simulation.jstats.distributions.DistWeibull

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.distributions.DistWeibull at new nl.tudelft.simulation.jstats.distributions.DistWeibull(StreamInterface, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 41 Medium

nl.tudelft.simulation.jstats.distributions.empirical.AbstractEmpiricalDistribution

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.distributions.empirical.AbstractEmpiricalDistribution at new nl.tudelft.simulation.jstats.distributions.empirical.AbstractEmpiricalDistribution(Number[], double[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 45 Medium

nl.tudelft.simulation.jstats.distributions.empirical.DiscreteEmpiricalDistribution

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.distributions.empirical.DiscreteEmpiricalDistribution at new nl.tudelft.simulation.jstats.distributions.empirical.DiscreteEmpiricalDistribution(Number[], double[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 40 Medium

nl.tudelft.simulation.jstats.distributions.empirical.InterpolatedEmpiricalDistribution

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.distributions.empirical.InterpolatedEmpiricalDistribution at new nl.tudelft.simulation.jstats.distributions.empirical.InterpolatedEmpiricalDistribution(Number[], double[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 40 Medium

nl.tudelft.simulation.jstats.filters.MaxDiffFilter

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.filters.MaxDiffFilter at new nl.tudelft.simulation.jstats.filters.MaxDiffFilter(double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 37 Medium

nl.tudelft.simulation.jstats.filters.SnippetFilter

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.filters.SnippetFilter at new nl.tudelft.simulation.jstats.filters.SnippetFilter(double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 38 Medium

nl.tudelft.simulation.jstats.math.ProbMath

Bug Category Details Line Priority
nl.tudelft.simulation.jstats.math.ProbMath.FACTORIAL_DOUBLE should be package protected MALICIOUS_CODE MS_PKGPROTECT 33 Medium
nl.tudelft.simulation.jstats.math.ProbMath.FACTORIAL_LONG should be package protected MALICIOUS_CODE MS_PKGPROTECT 42 Medium
nl.tudelft.simulation.jstats.math.ProbMath.POW2_DOUBLE should be package protected MALICIOUS_CODE MS_PKGPROTECT 51 Medium
nl.tudelft.simulation.jstats.math.ProbMath.POW2_LONG should be package protected MALICIOUS_CODE MS_PKGPROTECT 58 Medium

nl.tudelft.simulation.jstats.ode.DifferentialEquation

Bug Category Details Line Priority
nl.tudelft.simulation.jstats.ode.DifferentialEquation.getIntegrator() may expose internal representation by returning DifferentialEquation.integrator MALICIOUS_CODE EI_EXPOSE_REP 128 Medium
nl.tudelft.simulation.jstats.ode.DifferentialEquation.y(double) may expose internal representation by returning DifferentialEquation.lastY MALICIOUS_CODE EI_EXPOSE_REP 72 Medium
nl.tudelft.simulation.jstats.ode.DifferentialEquation.initialize(double, double[]) may expose internal representation by storing an externally mutable object into DifferentialEquation.lastY MALICIOUS_CODE EI_EXPOSE_REP2 57 Medium
nl.tudelft.simulation.jstats.ode.DifferentialEquation.setIntegrator(NumericalIntegrator) may expose internal representation by storing an externally mutable object into DifferentialEquation.integrator MALICIOUS_CODE EI_EXPOSE_REP2 136 Medium

nl.tudelft.simulation.jstats.ode.integrators.NumericalIntegrator

Bug Category Details Line Priority
nl.tudelft.simulation.jstats.ode.integrators.NumericalIntegrator.getError() may expose internal representation by returning NumericalIntegrator.error MALICIOUS_CODE EI_EXPOSE_REP 183 Medium

nl.tudelft.simulation.jstats.ode.integrators.RungeKuttaCashCarp

Bug Category Details Line Priority
nl.tudelft.simulation.jstats.ode.integrators.RungeKuttaCashCarp.a should be both final and package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 23 Medium
nl.tudelft.simulation.jstats.ode.integrators.RungeKuttaCashCarp.b should be both final and package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 27 Medium
nl.tudelft.simulation.jstats.ode.integrators.RungeKuttaCashCarp.c should be both final and package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 34 Medium
nl.tudelft.simulation.jstats.ode.integrators.RungeKuttaCashCarp.c4 should be both final and package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 38 Medium
nl.tudelft.simulation.jstats.ode.integrators.RungeKuttaCashCarp.nk isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 42 Medium

nl.tudelft.simulation.jstats.ode.integrators.RungeKuttaFehlberg

Bug Category Details Line Priority
nl.tudelft.simulation.jstats.ode.integrators.RungeKuttaFehlberg.a should be both final and package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 23 Medium
nl.tudelft.simulation.jstats.ode.integrators.RungeKuttaFehlberg.b should be both final and package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 27 Medium
nl.tudelft.simulation.jstats.ode.integrators.RungeKuttaFehlberg.c should be both final and package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 34 Medium
nl.tudelft.simulation.jstats.ode.integrators.RungeKuttaFehlberg.c4 should be both final and package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 38 Medium
nl.tudelft.simulation.jstats.ode.integrators.RungeKuttaFehlberg.nk isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 42 Medium

nl.tudelft.simulation.jstats.streams.Java2Random

Bug Category Details Line Priority
nl.tudelft.simulation.jstats.streams.Java2Random.getSeed() is unsynchronized, nl.tudelft.simulation.jstats.streams.Java2Random.setSeed(long) is synchronized MT_CORRECTNESS UG_SYNC_SET_UNSYNC_GET 86 Medium

nl.tudelft.simulation.jstats.streams.RandomNumberGenerator

Bug Category Details Line Priority
Exception thrown in class nl.tudelft.simulation.jstats.streams.RandomNumberGenerator at new nl.tudelft.simulation.jstats.streams.RandomNumberGenerator() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 35 Medium
Exception thrown in class nl.tudelft.simulation.jstats.streams.RandomNumberGenerator at new nl.tudelft.simulation.jstats.streams.RandomNumberGenerator(long) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 46 Medium