SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.8.6
Threshold is medium
Effort is default
Summary
Classes |
Bugs |
Errors |
Missing Classes |
22 |
20 |
0 |
0 |
org.djutils.stats.DistNormalTable
Bug |
Category |
Details |
Line |
Priority |
org.djutils.stats.DistNormalTable.CUMULATIVE_NORMAL_PROBABILITIES should be package protected |
MALICIOUS_CODE |
MS_PKGPROTECT |
118 |
Medium |
org.djutils.stats.summarizers.Counter
Bug |
Category |
Details |
Line |
Priority |
Exception thrown in class org.djutils.stats.summarizers.Counter at new org.djutils.stats.summarizers.Counter(String) 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.djutils.stats.summarizers.Tally
Bug |
Category |
Details |
Line |
Priority |
Exception thrown in class org.djutils.stats.summarizers.Tally at new org.djutils.stats.summarizers.Tally(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 |
Exception thrown in class org.djutils.stats.summarizers.Tally at new org.djutils.stats.summarizers.Tally(String, QuantileAccumulator) 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 |
Class org.djutils.stats.summarizers.Tally defines non-transient non-serializable instance field quantileAccumulator |
BAD_PRACTICE |
SE_BAD_FIELD |
Not available |
Medium |
org.djutils.stats.summarizers.WeightedTally
Bug |
Category |
Details |
Line |
Priority |
Exception thrown in class org.djutils.stats.summarizers.WeightedTally at new org.djutils.stats.summarizers.WeightedTally(String) 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.djutils.stats.summarizers.event.EventBasedCounter
Bug |
Category |
Details |
Line |
Priority |
Exception thrown in class org.djutils.stats.summarizers.event.EventBasedCounter at new org.djutils.stats.summarizers.event.EventBasedCounter(String) 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.djutils.stats.summarizers.event.EventBasedCounter at new org.djutils.stats.summarizers.event.EventBasedCounter(String, EventProducer) 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 |
new org.djutils.stats.summarizers.event.EventBasedCounter(String, EventProducer) may expose internal representation by storing an externally mutable object into EventBasedCounter.eventProducer |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
51 |
Medium |
org.djutils.stats.summarizers.event.EventBasedTally
Bug |
Category |
Details |
Line |
Priority |
Exception thrown in class org.djutils.stats.summarizers.event.EventBasedTally at new org.djutils.stats.summarizers.event.EventBasedTally(String, EventProducer) 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.djutils.stats.summarizers.event.EventBasedTally at new org.djutils.stats.summarizers.event.EventBasedTally(String, QuantileAccumulator) 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 |
Exception thrown in class org.djutils.stats.summarizers.event.EventBasedTally at new org.djutils.stats.summarizers.event.EventBasedTally(String, QuantileAccumulator, EventProducer) 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 |
new org.djutils.stats.summarizers.event.EventBasedTally(String, QuantileAccumulator, EventProducer) may expose internal representation by storing an externally mutable object into EventBasedTally.eventProducer |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
78 |
Medium |
org.djutils.stats.summarizers.event.EventBasedTimestampWeightedTally
Bug |
Category |
Details |
Line |
Priority |
Exception thrown in class org.djutils.stats.summarizers.event.EventBasedTimestampWeightedTally at new org.djutils.stats.summarizers.event.EventBasedTimestampWeightedTally(String) 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 |
Exception thrown in class org.djutils.stats.summarizers.event.EventBasedTimestampWeightedTally at new org.djutils.stats.summarizers.event.EventBasedTimestampWeightedTally(String, EventProducer) 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 |
new org.djutils.stats.summarizers.event.EventBasedTimestampWeightedTally(String, EventProducer) may expose internal representation by storing an externally mutable object into EventBasedTimestampWeightedTally.eventProducer |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
56 |
Medium |
org.djutils.stats.summarizers.event.EventBasedWeightedTally
Bug |
Category |
Details |
Line |
Priority |
Exception thrown in class org.djutils.stats.summarizers.event.EventBasedWeightedTally at new org.djutils.stats.summarizers.event.EventBasedWeightedTally(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 |
Exception thrown in class org.djutils.stats.summarizers.event.EventBasedWeightedTally at new org.djutils.stats.summarizers.event.EventBasedWeightedTally(String, EventProducer) 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 |
new org.djutils.stats.summarizers.event.EventBasedWeightedTally(String, EventProducer) may expose internal representation by storing an externally mutable object into EventBasedWeightedTally.eventProducer |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
53 |
Medium |
org.djutils.stats.summarizers.quantileaccumulator.FixedBinsAccumulator
Bug |
Category |
Details |
Line |
Priority |
Exception thrown in class org.djutils.stats.summarizers.quantileaccumulator.FixedBinsAccumulator at new org.djutils.stats.summarizers.quantileaccumulator.FixedBinsAccumulator(double, 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 |
50 |
Medium |