SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.9.6

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
35 31 0 0

Files

Class Bugs
com.irurueta.algebra.CholeskyDecomposer 1
com.irurueta.algebra.Decomposer 2
com.irurueta.algebra.LUDecomposer 1
com.irurueta.algebra.Matrix 2
com.irurueta.algebra.QRDecomposer 3
com.irurueta.algebra.RQDecomposer 1
com.irurueta.algebra.SingularValueDecomposer 3
com.irurueta.statistics.MultivariateGaussianRandomizer 10
com.irurueta.statistics.MultivariateNormalDist 8

com.irurueta.algebra.CholeskyDecomposer

Bug Category Details Line Priority
com.irurueta.algebra.CholeskyDecomposer.getR() may expose internal representation by returning CholeskyDecomposer.r MALICIOUS_CODE EI_EXPOSE_REP 225 Medium

com.irurueta.algebra.Decomposer

Bug Category Details Line Priority
com.irurueta.algebra.Decomposer.getInputMatrix() may expose internal representation by returning Decomposer.inputMatrix MALICIOUS_CODE EI_EXPOSE_REP 66 Medium
com.irurueta.algebra.Decomposer.setInputMatrix(Matrix) may expose internal representation by storing an externally mutable object into Decomposer.inputMatrix MALICIOUS_CODE EI_EXPOSE_REP2 80 Medium

com.irurueta.algebra.LUDecomposer

Bug Category Details Line Priority
com.irurueta.algebra.LUDecomposer.getPivot() may expose internal representation by returning LUDecomposer.piv MALICIOUS_CODE EI_EXPOSE_REP 533 Medium

com.irurueta.algebra.Matrix

Bug Category Details Line Priority
Exception thrown in class com.irurueta.algebra.Matrix at new com.irurueta.algebra.Matrix(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 72 Medium
com.irurueta.algebra.Matrix.getBuffer() may expose internal representation by returning Matrix.buffer MALICIOUS_CODE EI_EXPOSE_REP 981 Medium

com.irurueta.algebra.QRDecomposer

Bug Category Details Line Priority
com.irurueta.algebra.QRDecomposer.getQ() may expose internal representation by returning QRDecomposer.q MALICIOUS_CODE EI_EXPOSE_REP 325 Medium
com.irurueta.algebra.QRDecomposer.getR() may expose internal representation by returning QRDecomposer.r MALICIOUS_CODE EI_EXPOSE_REP 306 Medium
Unread field: com.irurueta.algebra.QRDecomposer.sing PERFORMANCE URF_UNREAD_FIELD 60 Medium

com.irurueta.algebra.RQDecomposer

Bug Category Details Line Priority
Null passed for non-null parameter of Matrix.setSubmatrix(int, int, int, int, Matrix) in com.irurueta.algebra.RQDecomposer.getQ() CORRECTNESS NP_NULL_PARAM_DEREF 255 Medium

com.irurueta.algebra.SingularValueDecomposer

Bug Category Details Line Priority
com.irurueta.algebra.SingularValueDecomposer.getSingularValues() may expose internal representation by returning SingularValueDecomposer.w MALICIOUS_CODE EI_EXPOSE_REP 369 Medium
com.irurueta.algebra.SingularValueDecomposer.getU() may expose internal representation by returning SingularValueDecomposer.u MALICIOUS_CODE EI_EXPOSE_REP 330 Medium
com.irurueta.algebra.SingularValueDecomposer.getV() may expose internal representation by returning SingularValueDecomposer.v MALICIOUS_CODE EI_EXPOSE_REP 352 Medium

com.irurueta.statistics.MultivariateGaussianRandomizer

Bug Category Details Line Priority
Exception thrown in class com.irurueta.statistics.MultivariateGaussianRandomizer at new com.irurueta.statistics.MultivariateGaussianRandomizer() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 59 Medium
Exception thrown in class com.irurueta.statistics.MultivariateGaussianRandomizer at new com.irurueta.statistics.MultivariateGaussianRandomizer(Random) 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 com.irurueta.statistics.MultivariateGaussianRandomizer at new com.irurueta.statistics.MultivariateGaussianRandomizer(Random, double[], Matrix) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 119 Medium
Exception thrown in class com.irurueta.statistics.MultivariateGaussianRandomizer at new com.irurueta.statistics.MultivariateGaussianRandomizer(double[], Matrix) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 98 Medium
com.irurueta.statistics.MultivariateGaussianRandomizer.getCovariance() may expose internal representation by returning MultivariateGaussianRandomizer.covariance MALICIOUS_CODE EI_EXPOSE_REP 141 Medium
com.irurueta.statistics.MultivariateGaussianRandomizer.getMean() may expose internal representation by returning MultivariateGaussianRandomizer.mean MALICIOUS_CODE EI_EXPOSE_REP 132 Medium
new com.irurueta.statistics.MultivariateGaussianRandomizer(Random) may expose internal representation by storing an externally mutable object into MultivariateGaussianRandomizer.internalRandom MALICIOUS_CODE EI_EXPOSE_REP2 76 Medium
new com.irurueta.statistics.MultivariateGaussianRandomizer(Random, double[], Matrix) may expose internal representation by storing an externally mutable object into MultivariateGaussianRandomizer.internalRandom MALICIOUS_CODE EI_EXPOSE_REP2 122 Medium
com.irurueta.statistics.MultivariateGaussianRandomizer.setMeanAndCovariance(double[], Matrix) may expose internal representation by storing an externally mutable object into MultivariateGaussianRandomizer.covariance MALICIOUS_CODE EI_EXPOSE_REP2 171 Medium
com.irurueta.statistics.MultivariateGaussianRandomizer.setMeanAndCovariance(double[], Matrix) may expose internal representation by storing an externally mutable object into MultivariateGaussianRandomizer.mean MALICIOUS_CODE EI_EXPOSE_REP2 170 Medium

com.irurueta.statistics.MultivariateNormalDist

Bug Category Details Line Priority
Exception thrown in class com.irurueta.statistics.MultivariateNormalDist at new com.irurueta.statistics.MultivariateNormalDist() 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 com.irurueta.statistics.MultivariateNormalDist at new com.irurueta.statistics.MultivariateNormalDist(int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 68 Medium
Exception thrown in class com.irurueta.statistics.MultivariateNormalDist at new com.irurueta.statistics.MultivariateNormalDist(double[], Matrix) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 97 Medium
Exception thrown in class com.irurueta.statistics.MultivariateNormalDist at new com.irurueta.statistics.MultivariateNormalDist(double[], Matrix, boolean) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 122 Medium
com.irurueta.statistics.MultivariateNormalDist.getCovarianceBasis() may expose internal representation by returning MultivariateNormalDist.covBasis MALICIOUS_CODE EI_EXPOSE_REP 305 Medium
com.irurueta.statistics.MultivariateNormalDist.getMean() may expose internal representation by returning MultivariateNormalDist.mu MALICIOUS_CODE EI_EXPOSE_REP 131 Medium
com.irurueta.statistics.MultivariateNormalDist.getVariances() may expose internal representation by returning MultivariateNormalDist.variances MALICIOUS_CODE EI_EXPOSE_REP 316 Medium
com.irurueta.statistics.MultivariateNormalDist.setMean(double[]) may expose internal representation by storing an externally mutable object into MultivariateNormalDist.mu MALICIOUS_CODE EI_EXPOSE_REP2 147 Medium