The following document contains the results of SpotBugs
SpotBugs Version is 4.8.2
Threshold is medium
Effort is default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
14 | 7 | 0 | 0 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class com.irurueta.statistics.ChiSqDist at new com.irurueta.statistics.ChiSqDist(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 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class com.irurueta.statistics.GaussianRandomizer at new com.irurueta.statistics.GaussianRandomizer(Random, 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 | 89 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class com.irurueta.statistics.NormalDist at new com.irurueta.statistics.NormalDist(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 | 67 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class com.irurueta.statistics.Randomizer at new com.irurueta.statistics.Randomizer(Random) 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 |
com.irurueta.statistics.Randomizer.getInternalRandom() may expose internal representation by returning Randomizer.mInternalRandom | MALICIOUS_CODE | EI_EXPOSE_REP | 90 | Medium |
com.irurueta.statistics.Randomizer.setInternalRandom(Random) may expose internal representation by storing an externally mutable object into Randomizer.mInternalRandom | MALICIOUS_CODE | EI_EXPOSE_REP2 | 104 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Bad attempt to compute absolute value of signed random integer in com.irurueta.statistics.UniformRandomizer.nextLong(long, long) | CORRECTNESS | RV_ABSOLUTE_VALUE_OF_RANDOM_INT | 243 | High |