SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.9.8
Threshold is medium
Effort is default
Summary
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 251 | 242 | 0 | 0 |
Files
nl.tudelft.simulation.dsol.animation.Editable
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| nl.tudelft.simulation.dsol.animation.Editable.getVertices() may expose internal representation by returning Editable.vertices | MALICIOUS_CODE | EI_EXPOSE_REP | 100 | 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 | 91 | 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 | 127 | Medium |
| Public static nl.tudelft.simulation.dsol.animation.Editable.listEditables() may expose internal representation by returning Editable.editables | MALICIOUS_CODE | MS_EXPOSE_REP | 80 | Medium |
| Unread public/protected field: nl.tudelft.simulation.dsol.animation.Editable.simulator | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 53 | 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 | 62 | Medium |
| nl.tudelft.simulation.dsol.eventlists.TableModelEventList.HEADER should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 33 | Medium |
nl.tudelft.simulation.dsol.experiment.Experiment
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Operation on the "currentReplicationNumber" shared variable in "Experiment" class is not atomic | MT_CORRECTNESS | AT_NONATOMIC_OPERATIONS_ON_SHARED_VARIABLE | 189 | Medium |
| Shared primitive variable "running" in one thread may not yield the value of the most recent write from another thread | MT_CORRECTNESS | AT_STALE_THREAD_WRITE_OF_PRIMITIVE | 204 | Medium |
| Shared primitive variable "currentReplicationNumber" in one thread may not yield the value of the most recent write from another thread | MT_CORRECTNESS | AT_STALE_THREAD_WRITE_OF_PRIMITIVE | 232 | Medium |
| 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 | 109 | 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 | 121 | Medium |
| nl.tudelft.simulation.dsol.experiment.Experiment.getModel() may expose internal representation by returning Experiment.model | MALICIOUS_CODE | EI_EXPOSE_REP | 153 | Medium |
| nl.tudelft.simulation.dsol.experiment.Experiment.getRunControl() may expose internal representation by returning Experiment.runControl | MALICIOUS_CODE | EI_EXPOSE_REP | 135 | Medium |
| nl.tudelft.simulation.dsol.experiment.Experiment.getSimulator() may expose internal representation by returning Experiment.simulator | MALICIOUS_CODE | EI_EXPOSE_REP | 144 | Medium |
| nl.tudelft.simulation.dsol.experiment.Experiment.getStartedReplications() may expose internal representation by returning Experiment.startedReplications | MALICIOUS_CODE | EI_EXPOSE_REP | 162 | Medium |
| nl.tudelft.simulation.dsol.experiment.Experiment.getSummaryStatistics() may expose internal representation by returning Experiment.summaryStatistics | MALICIOUS_CODE | EI_EXPOSE_REP | 339 | 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 | 126 | 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 | 124 | 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 | 125 | 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 | 504 | 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 | 46 | 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 | 59 | Medium |
| nl.tudelft.simulation.dsol.experiment.ExperimentReplication.getExperiment() may expose internal representation by returning ExperimentReplication.experiment | MALICIOUS_CODE | EI_EXPOSE_REP | 115 | 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 | 60 | 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 | 37 | 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 | 56 | 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 | 66 | 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 | 67 | 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 | 57 | 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 | 34 | 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 | 45 | 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 | 31 | 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 | 41 | Medium |
| nl.tudelft.simulation.dsol.experiment.StreamInformation.getStreams() may expose internal representation by returning StreamInformation.streams | MALICIOUS_CODE | EI_EXPOSE_REP | 65 | 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 | 109 | 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 | 79 | Medium |
nl.tudelft.simulation.dsol.formalisms.dess.DifferentialEquation
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| 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 | 88 | 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 | 125 | 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 | 35-126 | High |
| Unread public/protected field: nl.tudelft.simulation.dsol.formalisms.dess.DifferentialEquation.FUNCTION_CHANGED_EVENT | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 35 | 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 | 43 | 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 | 56 | 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 | 32 | 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 | 46 | 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 | 52 | 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 | 66 | Medium |
| nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEvent.getArgs() may expose internal representation by returning SimEvent.args | MALICIOUS_CODE | EI_EXPOSE_REP | 108 | 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 | 70 | Medium |
nl.tudelft.simulation.dsol.logger.SimLogger
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new nl.tudelft.simulation.dsol.logger.SimLogger(SimulatorInterface) may expose internal representation by storing an externally mutable object into SimLogger.simulator | MALICIOUS_CODE | EI_EXPOSE_REP2 | 36 | 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 | 117 | Medium |
| nl.tudelft.simulation.dsol.model.AbstractDsolModel.getOutputStatistics() may expose internal representation by returning AbstractDsolModel.outputStatistics | MALICIOUS_CODE | EI_EXPOSE_REP | 151 | Medium |
| nl.tudelft.simulation.dsol.model.AbstractDsolModel.getSimulator() may expose internal representation by returning AbstractDsolModel.simulator | MALICIOUS_CODE | EI_EXPOSE_REP | 111 | Medium |
| nl.tudelft.simulation.dsol.model.AbstractDsolModel.getStreamInformation() may expose internal representation by returning AbstractDsolModel.streamInformation | MALICIOUS_CODE | EI_EXPOSE_REP | 105 | 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.setInputParameterMap(InputParameterMap) may expose internal representation by storing an externally mutable object into AbstractDsolModel.inputParameterMap | MALICIOUS_CODE | EI_EXPOSE_REP2 | 123 | 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 | 99 | 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 | 56 | Medium |
| nl.tudelft.simulation.dsol.model.inputparameters.AbstractInputParameter.getParent() may expose internal representation by returning AbstractInputParameter.parent | MALICIOUS_CODE | EI_EXPOSE_REP | 162 | 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 | 156 | 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 | 122 | 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 | 214 | 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 | 38 | Medium |
| nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuous.getStream() may expose internal representation by returning InputParameterDistContinuous.stream | MALICIOUS_CODE | EI_EXPOSE_REP | 53 | 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 | 39 | 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 | 63 | 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 | 80 | Medium |
| nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection.getStream() may expose internal representation by returning InputParameterDistContinuousSelection.stream | MALICIOUS_CODE | EI_EXPOSE_REP | 111 | 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 | 81 | Medium |
| Public static nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistContinuousSelection.getDistOptions() may expose internal representation by returning InputParameterDistContinuousSelection.distOptions | MALICIOUS_CODE | MS_EXPOSE_REP | 103 | 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 | 128 | 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 | 153 | 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 | 174 | 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 | 199 | 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 | 222 | 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 | 247 | 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 | 272 | 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 | 296 | 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 | 319 | 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 | 347 | 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 | 381 | 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 | 406 | 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 | 39 | Medium |
| nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscrete.getStream() may expose internal representation by returning InputParameterDistDiscrete.stream | MALICIOUS_CODE | EI_EXPOSE_REP | 54 | 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 | 40 | 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 | 64 | 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 | 70 | Medium |
| nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection.getStream() may expose internal representation by returning InputParameterDistDiscreteSelection.stream | MALICIOUS_CODE | EI_EXPOSE_REP | 101 | 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 | 71 | Medium |
| Public static nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscreteSelection.getDistOptions() may expose internal representation by returning InputParameterDistDiscreteSelection.distOptions | MALICIOUS_CODE | MS_EXPOSE_REP | 93 | 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 | 118 | 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 | 142 | 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 | 168 | 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 | 188 | 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 | 213 | 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 | 237 | 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 | 263 | 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 | 67 | 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 | 51 | 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 | 107 | 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 | 77 | 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 | 67 | 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 | 50 | 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 | 105 | 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 | 75 | 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 | 58 | 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 | 58 | Medium |
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterMapDistContinuous
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| nl.tudelft.simulation.dsol.model.inputparameters.InputParameterMapDistContinuous.getStream() may expose internal representation by returning InputParameterMapDistContinuous.stream | MALICIOUS_CODE | EI_EXPOSE_REP | 63 | 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 | 71 | Medium |
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterMapDistDiscrete
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| nl.tudelft.simulation.dsol.model.inputparameters.InputParameterMapDistDiscrete.getStream() may expose internal representation by returning InputParameterMapDistDiscrete.stream | MALICIOUS_CODE | EI_EXPOSE_REP | 63 | 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 | 71 | 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 | 46 | 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 | 65 | Medium |
| nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionList.getOptions() may expose internal representation by returning InputParameterSelectionList.options | MALICIOUS_CODE | EI_EXPOSE_REP | 79 | 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 | 147 | Medium |
| Useless object stored in variable clonedList of method nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionList.clone() | STYLE | UC_USELESS_OBJECT | 132 | 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 | 47 | Medium |
| nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionMap.getOptions() may expose internal representation by returning InputParameterSelectionMap.options | MALICIOUS_CODE | EI_EXPOSE_REP | 62 | 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 | 154 | 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 | 130 | Medium |
| Useless object stored in variable clonedMap of method nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionMap.clone() | STYLE | UC_USELESS_OBJECT | 138 | Medium |
| nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionMap.clone() makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 141 | 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 | 83 | 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 | 29 | 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 | 302 | High |
| Boxing/unboxing to parse a primitive nl.tudelft.simulation.dsol.model.inputparameters.reader.ReadInputParameters.setParameter(InputParameter, String) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 307 | High |
| Boxing/unboxing to parse a primitive nl.tudelft.simulation.dsol.model.inputparameters.reader.ReadInputParameters.setParameter(InputParameter, String) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 317 | High |
| Boxing/unboxing to parse a primitive nl.tudelft.simulation.dsol.model.inputparameters.reader.ReadInputParameters.setParameter(InputParameter, String) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 322 | High |
nl.tudelft.simulation.dsol.simulators.AnimatorInterface$AnimationThread
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Shared primitive variable "running" in one thread may not yield the value of the most recent write from another thread | MT_CORRECTNESS | AT_STALE_THREAD_WRITE_OF_PRIMITIVE | 101 | Medium |
| 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 | 72 | 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 | 36 | Medium |
nl.tudelft.simulation.dsol.simulators.DevDessAnimator
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| This write of the 64-bit primitive variable "animationDelay" may not be atomic | MT_CORRECTNESS | AT_NONATOMIC_64BIT_PRIMITIVE | 47 | 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 | 38 | Medium |
nl.tudelft.simulation.dsol.simulators.DevsAnimator
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| This write of the 64-bit primitive variable "animationDelay" may not be atomic | MT_CORRECTNESS | AT_NONATOMIC_64BIT_PRIMITIVE | 44 | Medium |
nl.tudelft.simulation.dsol.simulators.DevsRealTimeAnimator
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| This write of the 64-bit primitive variable "speedFactor" may not be atomic | MT_CORRECTNESS | AT_NONATOMIC_64BIT_PRIMITIVE | 367 | Medium |
| Shared primitive variable "catchup" in one thread may not yield the value of the most recent write from another thread | MT_CORRECTNESS | AT_STALE_THREAD_WRITE_OF_PRIMITIVE | 383 | Medium |
| Shared primitive variable "updateMsec" in one thread may not yield the value of the most recent write from another thread | MT_CORRECTNESS | AT_STALE_THREAD_WRITE_OF_PRIMITIVE | 395 | 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 | 58 | 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 | 200 | 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 | 58 | 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 | 98 | Medium |
| Non-serializable nl.tudelft.simulation.dsol.experiment.Replication<T> written to ObjectOutput in nl.tudelft.simulation.dsol.simulators.Simulator.writeObject(ObjectOutputStream) | STYLE | DMI_NONSERIALIZABLE_OBJECT_WRITTEN | 502 | Medium |
| nl.tudelft.simulation.dsol.simulators.Simulator.handleSimulationException(Exception) invokes System.exit(...), which shuts down the entire virtual machine | BAD_PRACTICE | DM_EXIT | 431 | Medium |
| nl.tudelft.simulation.dsol.simulators.Simulator.getModel() may expose internal representation by returning Simulator.model | MALICIOUS_CODE | EI_EXPOSE_REP | 463 | Medium |
| nl.tudelft.simulation.dsol.simulators.Simulator.getReplication() may expose internal representation by returning Simulator.replication | MALICIOUS_CODE | EI_EXPOSE_REP | 457 | Medium |
| nl.tudelft.simulation.dsol.simulators.Simulator.getSimLogger() may expose internal representation by returning Simulator.simLogger | MALICIOUS_CODE | EI_EXPOSE_REP | 481 | Medium |
| nl.tudelft.simulation.dsol.simulators.Simulator.initialize(DsolModel, Replication, boolean) may expose internal representation by storing an externally mutable object into Simulator.model | MALICIOUS_CODE | EI_EXPOSE_REP2 | 118 | Medium |
| nl.tudelft.simulation.dsol.simulators.Simulator.initialize(DsolModel, Replication, boolean) may expose internal representation by storing an externally mutable object into Simulator.replication | MALICIOUS_CODE | EI_EXPOSE_REP2 | 117 | Medium |
| Overridable method toString() is called from readObject. | MALICIOUS_CODE | MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT | 519 | Medium |
| nl.tudelft.simulation.dsol.simulators.Simulator.startImpl() calls Thread.sleep() with a lock held | MT_CORRECTNESS | SWL_SLEEP_WITH_LOCK_HELD | 186 | Medium |
nl.tudelft.simulation.dsol.simulators.clock.ClockDevDessAnimator
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| nl.tudelft.simulation.dsol.simulators.clock.ClockDevDessAnimator.getStartClockTime() may expose internal representation by returning ClockDevDessAnimator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP | 44 | Medium |
| new nl.tudelft.simulation.dsol.simulators.clock.ClockDevDessAnimator(Serializable, Duration, ClockTime) may expose internal representation by storing an externally mutable object into ClockDevDessAnimator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 38 | Medium |
| nl.tudelft.simulation.dsol.simulators.clock.ClockDevDessAnimator.setStartClockTime(ClockTime) may expose internal representation by storing an externally mutable object into ClockDevDessAnimator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 51 | Medium |
nl.tudelft.simulation.dsol.simulators.clock.ClockDevDessSimulator
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| nl.tudelft.simulation.dsol.simulators.clock.ClockDevDessSimulator.getStartClockTime() may expose internal representation by returning ClockDevDessSimulator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP | 44 | Medium |
| new nl.tudelft.simulation.dsol.simulators.clock.ClockDevDessSimulator(Serializable, Duration, ClockTime) may expose internal representation by storing an externally mutable object into ClockDevDessSimulator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 38 | Medium |
| nl.tudelft.simulation.dsol.simulators.clock.ClockDevDessSimulator.setStartClockTime(ClockTime) may expose internal representation by storing an externally mutable object into ClockDevDessSimulator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 51 | Medium |
nl.tudelft.simulation.dsol.simulators.clock.ClockDevsAnimator
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| nl.tudelft.simulation.dsol.simulators.clock.ClockDevsAnimator.getStartClockTime() may expose internal representation by returning ClockDevsAnimator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP | 41 | Medium |
| new nl.tudelft.simulation.dsol.simulators.clock.ClockDevsAnimator(Serializable, ClockTime) may expose internal representation by storing an externally mutable object into ClockDevsAnimator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 35 | Medium |
| nl.tudelft.simulation.dsol.simulators.clock.ClockDevsAnimator.setStartClockTime(ClockTime) may expose internal representation by storing an externally mutable object into ClockDevsAnimator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 48 | Medium |
nl.tudelft.simulation.dsol.simulators.clock.ClockDevsRealTimeAnimator
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| nl.tudelft.simulation.dsol.simulators.clock.ClockDevsRealTimeAnimator.getStartClockTime() may expose internal representation by returning ClockDevsRealTimeAnimator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP | 41 | Medium |
| new nl.tudelft.simulation.dsol.simulators.clock.ClockDevsRealTimeAnimator(Serializable, ClockTime) may expose internal representation by storing an externally mutable object into ClockDevsRealTimeAnimator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 35 | Medium |
| nl.tudelft.simulation.dsol.simulators.clock.ClockDevsRealTimeAnimator.setStartClockTime(ClockTime) may expose internal representation by storing an externally mutable object into ClockDevsRealTimeAnimator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 48 | Medium |
nl.tudelft.simulation.dsol.simulators.clock.ClockDevsSimulator
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| nl.tudelft.simulation.dsol.simulators.clock.ClockDevsSimulator.getStartClockTime() may expose internal representation by returning ClockDevsSimulator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP | 41 | Medium |
| new nl.tudelft.simulation.dsol.simulators.clock.ClockDevsSimulator(Serializable, ClockTime) may expose internal representation by storing an externally mutable object into ClockDevsSimulator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 35 | Medium |
| nl.tudelft.simulation.dsol.simulators.clock.ClockDevsSimulator.setStartClockTime(ClockTime) may expose internal representation by storing an externally mutable object into ClockDevsSimulator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 48 | Medium |
nl.tudelft.simulation.dsol.simulators.time.TimeDevDessAnimator
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| nl.tudelft.simulation.dsol.simulators.time.TimeDevDessAnimator.getStartTime() may expose internal representation by returning TimeDevDessAnimator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP | 44 | Medium |
| new nl.tudelft.simulation.dsol.simulators.time.TimeDevDessAnimator(Serializable, Duration, Time) may expose internal representation by storing an externally mutable object into TimeDevDessAnimator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 38 | Medium |
nl.tudelft.simulation.dsol.simulators.time.TimeDevDessSimulator
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| nl.tudelft.simulation.dsol.simulators.time.TimeDevDessSimulator.getStartTime() may expose internal representation by returning TimeDevDessSimulator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP | 44 | Medium |
| new nl.tudelft.simulation.dsol.simulators.time.TimeDevDessSimulator(Serializable, Duration, Time) may expose internal representation by storing an externally mutable object into TimeDevDessSimulator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 38 | Medium |
nl.tudelft.simulation.dsol.simulators.time.TimeDevsAnimator
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| nl.tudelft.simulation.dsol.simulators.time.TimeDevsAnimator.getStartTime() may expose internal representation by returning TimeDevsAnimator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP | 40 | Medium |
| new nl.tudelft.simulation.dsol.simulators.time.TimeDevsAnimator(Serializable, Time) may expose internal representation by storing an externally mutable object into TimeDevsAnimator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 34 | Medium |
nl.tudelft.simulation.dsol.simulators.time.TimeDevsRealTimeAnimator
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| nl.tudelft.simulation.dsol.simulators.time.TimeDevsRealTimeAnimator.getStartTime() may expose internal representation by returning TimeDevsRealTimeAnimator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP | 40 | Medium |
| new nl.tudelft.simulation.dsol.simulators.time.TimeDevsRealTimeAnimator(Serializable, Time) may expose internal representation by storing an externally mutable object into TimeDevsRealTimeAnimator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 34 | Medium |
nl.tudelft.simulation.dsol.simulators.time.TimeDevsSimulator
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| nl.tudelft.simulation.dsol.simulators.time.TimeDevsSimulator.getStartTime() may expose internal representation by returning TimeDevsSimulator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP | 40 | Medium |
| new nl.tudelft.simulation.dsol.simulators.time.TimeDevsSimulator(Serializable, Time) may expose internal representation by storing an externally mutable object into TimeDevsSimulator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 34 | 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, 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.SimCounter at new nl.tudelft.simulation.dsol.statistics.SimCounter(String, 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 | 94 | Medium |
| nl.tudelft.simulation.dsol.statistics.SimCounter.getSimulator() may expose internal representation by returning SimCounter.simulator | MALICIOUS_CODE | EI_EXPOSE_REP | 139 | 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, 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.SimPersistent at new nl.tudelft.simulation.dsol.statistics.SimPersistent(String, 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 | 102 | Medium |
| nl.tudelft.simulation.dsol.statistics.SimPersistent.getSimulator() may expose internal representation by returning SimPersistent.simulator | MALICIOUS_CODE | EI_EXPOSE_REP | 190 | 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, 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 | 58 | Medium |
| Exception thrown in class nl.tudelft.simulation.dsol.statistics.SimTally at new nl.tudelft.simulation.dsol.statistics.SimTally(String, 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.SimTally.getSimulator() may expose internal representation by returning SimTally.simulator | MALICIOUS_CODE | EI_EXPOSE_REP | 147 | Medium |
nl.tudelft.simulation.dsol.statistics.table.CounterTableModel
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new nl.tudelft.simulation.dsol.statistics.table.CounterTableModel(SimCounter) may expose internal representation by storing an externally mutable object into CounterTableModel.counter | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
nl.tudelft.simulation.dsol.statistics.table.PersistentTableModel
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new nl.tudelft.simulation.dsol.statistics.table.PersistentTableModel(SimPersistent) may expose internal representation by storing an externally mutable object into PersistentTableModel.persistent | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
nl.tudelft.simulation.dsol.statistics.table.TallyTableModel
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new nl.tudelft.simulation.dsol.statistics.table.TallyTableModel(SimTally) may expose internal representation by storing an externally mutable object into TallyTableModel.tally | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | 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 | 31 | Medium |
| nl.tudelft.simulation.jstats.distributions.Dist.getStream() may expose internal representation by returning Dist.stream | MALICIOUS_CODE | EI_EXPOSE_REP | 41 | 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 | 32 | 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 | 52 | 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 | 35 | 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 | 45 | 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 | 41 | 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 | 38 | 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 | 37 | 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 | 58 | 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 | 40 | 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 | 43 | 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 | 41 | 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 | 35 | 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 | 52 | 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 | 44 | 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 | 59 | Medium |
| Inconsistent synchronization of nl.tudelft.simulation.jstats.distributions.DistNormal.haveNextNextGaussian; locked 75% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 142 | 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 | 52 | 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 | 69 | 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 | 43 | 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 | 49 | 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 | 37 | 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 | 42 | 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 | 37 | 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 | 37 | 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 | 41 | 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 | 37 | 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 | 37 | 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 | 33 | 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 | 34 | 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 | 32 | Medium |
| nl.tudelft.simulation.jstats.math.ProbMath.FACTORIAL_LONG should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 41 | Medium |
| nl.tudelft.simulation.jstats.math.ProbMath.POW2_DOUBLE should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 50 | Medium |
| nl.tudelft.simulation.jstats.math.ProbMath.POW2_LONG should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 57 | 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 | 122 | Medium |
| nl.tudelft.simulation.jstats.ode.DifferentialEquation.y(double) may expose internal representation by returning DifferentialEquation.lastY | MALICIOUS_CODE | EI_EXPOSE_REP | 66 | 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 | 52 | 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 | 130 | 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 | 19 | Medium |
| nl.tudelft.simulation.jstats.ode.integrators.RungeKuttaCashCarp.b should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 23 | Medium |
| nl.tudelft.simulation.jstats.ode.integrators.RungeKuttaCashCarp.c should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 30 | Medium |
| nl.tudelft.simulation.jstats.ode.integrators.RungeKuttaCashCarp.c4 should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 34 | Medium |
| nl.tudelft.simulation.jstats.ode.integrators.RungeKuttaCashCarp.nk isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 38 | 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 | 19 | Medium |
| nl.tudelft.simulation.jstats.ode.integrators.RungeKuttaFehlberg.b should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 23 | Medium |
| nl.tudelft.simulation.jstats.ode.integrators.RungeKuttaFehlberg.c should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 30 | Medium |
| nl.tudelft.simulation.jstats.ode.integrators.RungeKuttaFehlberg.c4 should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 34 | Medium |
| nl.tudelft.simulation.jstats.ode.integrators.RungeKuttaFehlberg.nk isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 38 | 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 | 77 | 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 | 28 | 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 | 39 | Medium |
