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 |
|---|---|---|---|
| 220 | 114 | 0 | 0 |
Files
org.djunits.formatter.FormatContext
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unread field: org.djunits.formatter.FormatContext.maximumPrefixPower | PERFORMANCE | URF_UNREAD_FIELD | 76 | Medium |
| Unread field: org.djunits.formatter.FormatContext.minimumPrefixPower | PERFORMANCE | URF_UNREAD_FIELD | 73 | Medium |
| Unread field: org.djunits.formatter.FormatContext.scaleSiPrefixes | PERFORMANCE | URF_UNREAD_FIELD | 70 | Medium |
org.djunits.formatter.Formatter
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to formatted in org.djunits.formatter.Formatter.formatUnit() | STYLE | DLS_DEAD_LOCAL_STORE | 128 | Medium |
org.djunits.formatter.QuantityFormatter
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to formatted in org.djunits.formatter.QuantityFormatter.formatUnit() | STYLE | DLS_DEAD_LOCAL_STORE | 112 | Medium |
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 | 42 | 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 | 40 | 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 | 41 | 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.AbsQuantity
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.quantity.def.AbsQuantity at new org.djunits.quantity.def.AbsQuantity(Quantity, Reference) 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.AbsQuantity.getQuantity() may expose internal representation by returning AbsQuantity.quantity | MALICIOUS_CODE | EI_EXPOSE_REP | 95 | Medium |
| new org.djunits.quantity.def.AbsQuantity(Quantity, Reference) may expose internal representation by storing an externally mutable object into AbsQuantity.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 | 53 | Medium |
| org.djunits.quantity.def.AbstractReference.getOffset() may expose internal representation by returning AbstractReference.offset | MALICIOUS_CODE | EI_EXPOSE_REP | 164 | 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 | 59 | Medium |
| org.djunits.quantity.def.AbstractReference.REFERENCES is a mutable collection which should be package protected | MALICIOUS_CODE | MS_MUTABLE_COLLECTION_PKGPROTECT | 28 | 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, Unit) 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, String, PrefixType) 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.unit.si.SIPrefix at new org.djunits.unit.si.SIPrefix(String, String, double, PrefixType) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 61 | Medium |
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.AbsVectorMatrix
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class org.djunits.vecmat.def.AbsVectorMatrix at new org.djunits.vecmat.def.AbsVectorMatrix(VectorMatrix, Reference) 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.vecmat.def.AbsVectorMatrix.getRelativeVecMat() may expose internal representation by returning AbsVectorMatrix.relativeVecMat | MALICIOUS_CODE | EI_EXPOSE_REP | 130 | Medium |
| new org.djunits.vecmat.def.AbsVectorMatrix(VectorMatrix, Reference) may expose internal representation by storing an externally mutable object into AbsVectorMatrix.relativeVecMat | MALICIOUS_CODE | EI_EXPOSE_REP2 | 68 | 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[], Unit, 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.unsafeSiArray() may expose internal representation by returning SquareDenseMatrix.dataSi | MALICIOUS_CODE | EI_EXPOSE_REP | 56 | 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(Unit) 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 |
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, Unit) 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 |
| Class org.djunits.vecmat.dn.MatrixNxN defines non-transient non-serializable instance field dataGridSi | 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, Unit) 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.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, Unit) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 201 | 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, Unit) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 405 | 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, Unit) 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.dnxm.MatrixNxM defines non-transient non-serializable instance field dataGridSi | 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 | 44 | Medium |
| org.djunits.vecmat.storage.DenseDoubleDataSi.unsafeSiArray() may expose internal representation by returning DenseDoubleDataSi.dataSi | MALICIOUS_CODE | EI_EXPOSE_REP | 351 | Medium |
| new org.djunits.vecmat.storage.DenseDoubleDataSi(double[], int, int) may expose internal representation by storing an externally mutable object into DenseDoubleDataSi.dataSi | MALICIOUS_CODE | EI_EXPOSE_REP2 | 49 | 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 | 63 | 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 | 42 | 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 | 75 | Medium |
| Exception thrown in class org.djunits.vecmat.storage.DoubleSparseValue at new org.djunits.vecmat.storage.DoubleSparseValue(int, int, double, Unit) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 64 | 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 | 39 | 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 | 75 | Medium |
| Exception thrown in class org.djunits.vecmat.storage.FloatSparseValue at new org.djunits.vecmat.storage.FloatSparseValue(int, int, float, Unit) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 64 | 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 | 39 | 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 | 181 | 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 | 70 | 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 | 47 | 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 | 139 | 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 | 113 | 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 | 88 | 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 | 158 | 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 | 220 | 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 | 70 | 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 | 90 | 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 | 47 | 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 | 178 | 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 | 152 | 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 | 108 | 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 | 127 | 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 | 197 | 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, Unit) 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 |
| Class org.djunits.vecmat.table.QuantityTable defines non-transient non-serializable instance field dataGridSi | BAD_PRACTICE | SE_BAD_FIELD | Not available | Medium |
