SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.9.1
Threshold is medium
Effort is default
Summary
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 175 | 111 | 0 | 0 |
Files
org.djunits.quantity.AbsorbedDose
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.AbsorbedDose at new org.djunits.quantity.AbsorbedDose(double, String) 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 |
org.djunits.quantity.Acceleration
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.Acceleration at new org.djunits.quantity.Acceleration(double, String) 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 |
org.djunits.quantity.AmountOfSubstance
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.AmountOfSubstance at new org.djunits.quantity.AmountOfSubstance(double, String) 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 |
org.djunits.quantity.Angle
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.Angle at new org.djunits.quantity.Angle(double, String) 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 |
org.djunits.quantity.AngularAcceleration
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.AngularAcceleration at new org.djunits.quantity.AngularAcceleration(double, String) 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 |
org.djunits.quantity.AngularVelocity
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.AngularVelocity at new org.djunits.quantity.AngularVelocity(double, String) 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 |
org.djunits.quantity.Area
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.Area at new org.djunits.quantity.Area(double, String) 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 |
org.djunits.quantity.ArealObjectDensity
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.ArealObjectDensity at new org.djunits.quantity.ArealObjectDensity(double, String) 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 |
org.djunits.quantity.CatalyticActivity
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.CatalyticActivity at new org.djunits.quantity.CatalyticActivity(double, String) 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 |
org.djunits.quantity.Density
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.Density at new org.djunits.quantity.Density(double, String) 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 |
org.djunits.quantity.Dimensionless
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.Dimensionless at new org.djunits.quantity.Dimensionless(double, String) 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 |
org.djunits.quantity.Direction
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.Direction at new org.djunits.quantity.Direction(double, String, Direction$Reference) 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 |
org.djunits.quantity.Duration
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.Duration at new org.djunits.quantity.Duration(double, String) 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 |
org.djunits.quantity.ElectricCharge
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.ElectricCharge at new org.djunits.quantity.ElectricCharge(double, String) 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 |
org.djunits.quantity.ElectricCurrent
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.ElectricCurrent at new org.djunits.quantity.ElectricCurrent(double, String) 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 |
org.djunits.quantity.ElectricPotential
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.ElectricPotential at new org.djunits.quantity.ElectricPotential(double, String) 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 |
org.djunits.quantity.ElectricalCapacitance
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.ElectricalCapacitance at new org.djunits.quantity.ElectricalCapacitance(double, String) 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 |
org.djunits.quantity.ElectricalConductance
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.ElectricalConductance at new org.djunits.quantity.ElectricalConductance(double, String) 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 |
org.djunits.quantity.ElectricalInductance
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.ElectricalInductance at new org.djunits.quantity.ElectricalInductance(double, String) 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 |
org.djunits.quantity.ElectricalResistance
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.ElectricalResistance at new org.djunits.quantity.ElectricalResistance(double, String) 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 |
org.djunits.quantity.Energy
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.Energy at new org.djunits.quantity.Energy(double, String) 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 |
org.djunits.quantity.EquivalentDose
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.EquivalentDose at new org.djunits.quantity.EquivalentDose(double, String) 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 |
org.djunits.quantity.FlowMass
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.FlowMass at new org.djunits.quantity.FlowMass(double, String) 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 |
org.djunits.quantity.FlowVolume
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.FlowVolume at new org.djunits.quantity.FlowVolume(double, String) 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 |
org.djunits.quantity.Force
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.Force at new org.djunits.quantity.Force(double, String) 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 |
org.djunits.quantity.Frequency
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.Frequency at new org.djunits.quantity.Frequency(double, String) 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 |
org.djunits.quantity.Illuminance
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.Illuminance at new org.djunits.quantity.Illuminance(double, String) 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 |
org.djunits.quantity.Length
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.Length at new org.djunits.quantity.Length(double, String) 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 |
org.djunits.quantity.LinearDensity
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.LinearDensity at new org.djunits.quantity.LinearDensity(double, String) 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 |
org.djunits.quantity.LinearObjectDensity
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.LinearObjectDensity at new org.djunits.quantity.LinearObjectDensity(double, String) 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 |
org.djunits.quantity.LuminousFlux
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.LuminousFlux at new org.djunits.quantity.LuminousFlux(double, String) 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 |
org.djunits.quantity.LuminousIntensity
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.LuminousIntensity at new org.djunits.quantity.LuminousIntensity(double, String) 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 |
org.djunits.quantity.MagneticFlux
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.MagneticFlux at new org.djunits.quantity.MagneticFlux(double, String) 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 |
org.djunits.quantity.MagneticFluxDensity
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.MagneticFluxDensity at new org.djunits.quantity.MagneticFluxDensity(double, String) 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 |
org.djunits.quantity.Mass
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.Mass at new org.djunits.quantity.Mass(double, String) 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 |
org.djunits.quantity.Momentum
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.Momentum at new org.djunits.quantity.Momentum(double, String) 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 |
org.djunits.quantity.Position
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.Position at new org.djunits.quantity.Position(double, String, Position$Reference) 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 |
org.djunits.quantity.Power
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.Power at new org.djunits.quantity.Power(double, String) 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 |
org.djunits.quantity.Pressure
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.Pressure at new org.djunits.quantity.Pressure(double, String) 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 |
org.djunits.quantity.RadioActivity
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.RadioActivity at new org.djunits.quantity.RadioActivity(double, String) 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 |
org.djunits.quantity.SIQuantity
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.SIQuantity at new org.djunits.quantity.SIQuantity(double, String) 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 |
org.djunits.quantity.SolidAngle
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.SolidAngle at new org.djunits.quantity.SolidAngle(double, String) 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 |
org.djunits.quantity.Speed
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.Speed at new org.djunits.quantity.Speed(double, String) 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 |
org.djunits.quantity.Temperature
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.Temperature at new org.djunits.quantity.Temperature(double, String) 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 |
| Exception thrown in class org.djunits.quantity.Temperature at new org.djunits.quantity.Temperature(double, String, Temperature$Reference) 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 |
org.djunits.quantity.TemperatureDifference
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.TemperatureDifference at new org.djunits.quantity.TemperatureDifference(double, String) 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 |
org.djunits.quantity.Time
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.Time at new org.djunits.quantity.Time(double, String, Time$Reference) 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 |
org.djunits.quantity.Torque
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.Torque at new org.djunits.quantity.Torque(double, String) 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 |
org.djunits.quantity.Volume
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.Volume at new org.djunits.quantity.Volume(double, String) 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 |
org.djunits.quantity.VolumetricObjectDensity
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.VolumetricObjectDensity at new org.djunits.quantity.VolumetricObjectDensity(double, String) 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 |
org.djunits.quantity.def.AbsoluteQuantity
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.def.AbsoluteQuantity at new org.djunits.quantity.def.AbsoluteQuantity(Quantity, AbstractReference) 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 |
| org.djunits.quantity.def.AbsoluteQuantity.getQuantity() may expose internal representation by returning AbsoluteQuantity.quantity | MALICIOUS_CODE | EI_EXPOSE_REP | 95 | Medium |
| new org.djunits.quantity.def.AbsoluteQuantity(Quantity, AbstractReference) may expose internal representation by storing an externally mutable object into AbsoluteQuantity.quantity | MALICIOUS_CODE | EI_EXPOSE_REP2 | 48 | Medium |
org.djunits.quantity.def.AbstractReference
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.def.AbstractReference at new org.djunits.quantity.def.AbstractReference(String, String, Quantity, AbstractReference) 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 |
| org.djunits.quantity.def.AbstractReference.getOffset() may expose internal representation by returning AbstractReference.offset | MALICIOUS_CODE | EI_EXPOSE_REP | 152 | Medium |
| new org.djunits.quantity.def.AbstractReference(String, String, Quantity, AbstractReference) may expose internal representation by storing an externally mutable object into AbstractReference.offset | MALICIOUS_CODE | EI_EXPOSE_REP2 | 58 | Medium |
| org.djunits.quantity.def.AbstractReference.REFERENCES is a mutable collection which should be package protected | MALICIOUS_CODE | MS_MUTABLE_COLLECTION_PKGPROTECT | 27 | Medium |
org.djunits.quantity.def.Quantity
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.def.Quantity at new org.djunits.quantity.def.Quantity(double, UnitInterface) 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 |
org.djunits.unit.AbstractUnit
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.unit.AbstractUnit at new org.djunits.unit.AbstractUnit(String, String, String, Scale, UnitSystem) 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 |
| Exception thrown in class org.djunits.unit.AbstractUnit at new org.djunits.unit.AbstractUnit(String, String, Scale, UnitSystem) 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 |
org.djunits.unit.scale.GradeScale
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.unit.scale.GradeScale at new org.djunits.unit.scale.GradeScale(double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 30 | Medium |
org.djunits.unit.scale.LinearScale
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.unit.scale.LinearScale at new org.djunits.unit.scale.LinearScale(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 |
| Exception thrown in class org.djunits.unit.scale.LinearScale at new org.djunits.unit.scale.LinearScale(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 |
org.djunits.unit.si.SIPrefix
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.unit.si.SIPrefix at new org.djunits.unit.si.SIPrefix(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 | 54 | Medium |
| Exception thrown in class org.djunits.unit.si.SIPrefix at new org.djunits.unit.si.SIPrefix(String, String, double, String) 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 |
org.djunits.unit.si.SIUnit
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.unit.si.SIUnit at new org.djunits.unit.si.SIUnit(int[]) 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 |
org.djunits.unit.system.UnitSystem
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.unit.system.UnitSystem at new org.djunits.unit.system.UnitSystem(String, String) 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 |
org.djunits.vecmat.def.SquareDenseMatrix
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.vecmat.def.SquareDenseMatrix at new org.djunits.vecmat.def.SquareDenseMatrix(double[], UnitInterface, int) 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 |
| org.djunits.vecmat.def.SquareDenseMatrix.si() may expose internal representation by returning SquareDenseMatrix.dataSi | MALICIOUS_CODE | EI_EXPOSE_REP | 60 | Medium |
org.djunits.vecmat.def.VectorMatrix
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.vecmat.def.VectorMatrix at new org.djunits.vecmat.def.VectorMatrix(UnitInterface) 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 |
org.djunits.vecmat.dn.MatrixNxN
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.vecmat.dn.MatrixNxN at new org.djunits.vecmat.dn.MatrixNxN(DataGridSi, UnitInterface) 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 |
| Class org.djunits.vecmat.dn.MatrixNxN defines non-transient non-serializable instance field dataSi | BAD_PRACTICE | SE_BAD_FIELD | Not available | Medium |
org.djunits.vecmat.dn.VectorN
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.vecmat.dn.VectorN at new org.djunits.vecmat.dn.VectorN(DataGridSi, UnitInterface) 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 |
org.djunits.vecmat.dn.VectorN$Col
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.vecmat.dn.VectorN$Col at new org.djunits.vecmat.dn.VectorN$Col(DataGridSi, UnitInterface) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 223 | Medium |
org.djunits.vecmat.dn.VectorN$Row
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.vecmat.dn.VectorN$Row at new org.djunits.vecmat.dn.VectorN$Row(DataGridSi, UnitInterface) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 511 | Medium |
org.djunits.vecmat.dnxm.MatrixNxM
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.vecmat.dnxm.MatrixNxM at new org.djunits.vecmat.dnxm.MatrixNxM(DataGridSi, UnitInterface) 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 |
| Class org.djunits.vecmat.dnxm.MatrixNxM defines non-transient non-serializable instance field dataSi | BAD_PRACTICE | SE_BAD_FIELD | Not available | Medium |
org.djunits.vecmat.storage.DenseDoubleDataSi
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.vecmat.storage.DenseDoubleDataSi at new org.djunits.vecmat.storage.DenseDoubleDataSi(double[], int, int) 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 |
| Exception thrown in class org.djunits.vecmat.storage.DenseDoubleDataSi at new org.djunits.vecmat.storage.DenseDoubleDataSi(double[][]) 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 org.djunits.vecmat.storage.DenseDoubleDataSi at new org.djunits.vecmat.storage.DenseDoubleDataSi(Quantity[][]) 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 |
| org.djunits.vecmat.storage.DenseDoubleDataSi.getDataArray() may expose internal representation by returning DenseDoubleDataSi.data | MALICIOUS_CODE | EI_EXPOSE_REP | 144 | Medium |
| new org.djunits.vecmat.storage.DenseDoubleDataSi(double[], int, int) may expose internal representation by storing an externally mutable object into DenseDoubleDataSi.data | MALICIOUS_CODE | EI_EXPOSE_REP2 | 44 | Medium |
org.djunits.vecmat.storage.DenseFloatDataSi
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.vecmat.storage.DenseFloatDataSi at new org.djunits.vecmat.storage.DenseFloatDataSi(double[], int, int) 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 org.djunits.vecmat.storage.DenseFloatDataSi at new org.djunits.vecmat.storage.DenseFloatDataSi(float[], int, 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 |
| Exception thrown in class org.djunits.vecmat.storage.DenseFloatDataSi at new org.djunits.vecmat.storage.DenseFloatDataSi(float[][]) 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 |
| Exception thrown in class org.djunits.vecmat.storage.DenseFloatDataSi at new org.djunits.vecmat.storage.DenseFloatDataSi(Quantity[][]) 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 |
| new org.djunits.vecmat.storage.DenseFloatDataSi(float[], int, int) may expose internal representation by storing an externally mutable object into DenseFloatDataSi.data | MALICIOUS_CODE | EI_EXPOSE_REP2 | 45 | Medium |
org.djunits.vecmat.storage.DoubleSparseValue
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.vecmat.storage.DoubleSparseValue at new org.djunits.vecmat.storage.DoubleSparseValue(int, 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 | 76 | Medium |
| Exception thrown in class org.djunits.vecmat.storage.DoubleSparseValue at new org.djunits.vecmat.storage.DoubleSparseValue(int, int, double, UnitInterface) 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 org.djunits.vecmat.storage.DoubleSparseValue at new org.djunits.vecmat.storage.DoubleSparseValue(int, int, Quantity) 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 |
org.djunits.vecmat.storage.FloatSparseValue
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.vecmat.storage.FloatSparseValue at new org.djunits.vecmat.storage.FloatSparseValue(int, int, float) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 76 | Medium |
| Exception thrown in class org.djunits.vecmat.storage.FloatSparseValue at new org.djunits.vecmat.storage.FloatSparseValue(int, int, float, UnitInterface) 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 org.djunits.vecmat.storage.FloatSparseValue at new org.djunits.vecmat.storage.FloatSparseValue(int, int, Quantity) 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 |
org.djunits.vecmat.storage.SparseDoubleDataSi
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.vecmat.storage.SparseDoubleDataSi at new org.djunits.vecmat.storage.SparseDoubleDataSi(Collection, int, int) 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 |
| Exception thrown in class org.djunits.vecmat.storage.SparseDoubleDataSi at new org.djunits.vecmat.storage.SparseDoubleDataSi(double[], int, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 71 | Medium |
| Exception thrown in class org.djunits.vecmat.storage.SparseDoubleDataSi at new org.djunits.vecmat.storage.SparseDoubleDataSi(double[], int[], int, int) 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 |
| Exception thrown in class org.djunits.vecmat.storage.SparseDoubleDataSi at new org.djunits.vecmat.storage.SparseDoubleDataSi(Quantity[], int, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 144 | Medium |
| Exception thrown in class org.djunits.vecmat.storage.SparseDoubleDataSi at new org.djunits.vecmat.storage.SparseDoubleDataSi(Quantity[], int[], int, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 116 | Medium |
| Exception thrown in class org.djunits.vecmat.storage.SparseDoubleDataSi at new org.djunits.vecmat.storage.SparseDoubleDataSi(double[][]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 89 | Medium |
| Exception thrown in class org.djunits.vecmat.storage.SparseDoubleDataSi at new org.djunits.vecmat.storage.SparseDoubleDataSi(Quantity[][]) 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 |
org.djunits.vecmat.storage.SparseFloatDataSi
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.vecmat.storage.SparseFloatDataSi at new org.djunits.vecmat.storage.SparseFloatDataSi(Collection, int, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 227 | Medium |
| Exception thrown in class org.djunits.vecmat.storage.SparseFloatDataSi at new org.djunits.vecmat.storage.SparseFloatDataSi(double[], int, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 71 | Medium |
| Exception thrown in class org.djunits.vecmat.storage.SparseFloatDataSi at new org.djunits.vecmat.storage.SparseFloatDataSi(float[], int, int) 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 |
| Exception thrown in class org.djunits.vecmat.storage.SparseFloatDataSi at new org.djunits.vecmat.storage.SparseFloatDataSi(float[], int[], int, int) 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 |
| Exception thrown in class org.djunits.vecmat.storage.SparseFloatDataSi at new org.djunits.vecmat.storage.SparseFloatDataSi(Quantity[], int, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 183 | Medium |
| Exception thrown in class org.djunits.vecmat.storage.SparseFloatDataSi at new org.djunits.vecmat.storage.SparseFloatDataSi(Quantity[], int[], int, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 155 | Medium |
| Exception thrown in class org.djunits.vecmat.storage.SparseFloatDataSi at new org.djunits.vecmat.storage.SparseFloatDataSi(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 org.djunits.vecmat.storage.SparseFloatDataSi at new org.djunits.vecmat.storage.SparseFloatDataSi(float[][]) 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 |
| Exception thrown in class org.djunits.vecmat.storage.SparseFloatDataSi at new org.djunits.vecmat.storage.SparseFloatDataSi(Quantity[][]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 203 | Medium |
org.djunits.vecmat.table.QuantityTable
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.vecmat.table.QuantityTable at new org.djunits.vecmat.table.QuantityTable(DataGridSi, UnitInterface) 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 |
| Class org.djunits.vecmat.table.QuantityTable defines non-transient non-serializable instance field dataSi | BAD_PRACTICE | SE_BAD_FIELD | Not available | Medium |
