SERMU's Test Coverage: 35%

Files Functions Classes

coverage.py v7.6.4, created at 2024-11-11 16:43 +0000

File function statements missing excluded coverage
src/serums/__init__.py (no function) 0 0 0 100%
src/serums/distances.py calculate_hellinger 4 4 0 0%
src/serums/distances.py calculate_mahalanobis 2 2 0 0%
src/serums/distances.py calculate_ospa 70 70 0 0%
src/serums/distances.py calculate_ospa2 31 31 0 0%
src/serums/distances.py calculate_gospa 69 69 0 0%
src/serums/distances.py (no function) 10 10 0 0%
src/serums/distribution_estimator.py _edparams_cost_factory 2 0 0 100%
src/serums/distribution_estimator.py _edparams_cost_factory.cost_function 18 4 0 78%
src/serums/distribution_estimator.py estimate_distribution_params 45 11 0 76%
src/serums/distribution_estimator.py grimshaw_MLE 62 7 0 89%
src/serums/distribution_estimator.py grimshaw_MLE.h 2 0 0 100%
src/serums/distribution_estimator.py grimshaw_MLE.h_prime 2 0 0 100%
src/serums/distribution_estimator.py grimshaw_MLE.mod_NR_root_search 24 0 0 100%
src/serums/distribution_estimator.py grimshaw_MLE.mod_NR_root_search.mid 1 0 0 100%
src/serums/distribution_estimator.py grimshaw_MLE.mm_root_search 16 16 0 0%
src/serums/distribution_estimator.py grimshaw_MLE.get_GPD_parameters 7 0 0 100%
src/serums/distribution_estimator.py grimshaw_MLE.GPD_log_likelihood 6 1 0 83%
src/serums/distribution_estimator.py genpareto_MOM_est 14 0 0 100%
src/serums/distribution_estimator.py genpareto_PWM_est 19 0 0 100%
src/serums/distribution_estimator.py (no function) 11 0 0 100%
src/serums/distribution_overbounder.py fusion 4 0 0 100%
src/serums/distribution_overbounder.py OverbounderBase.__init__ 1 0 0 100%
src/serums/distribution_overbounder.py OverbounderBase._erf_gauss 9 0 0 100%
src/serums/distribution_overbounder.py OverbounderBase._dsig_erf_gauss 9 0 0 100%
src/serums/distribution_overbounder.py OverbounderBase._g_sigma 2 2 0 0%
src/serums/distribution_overbounder.py OverbounderBase._g_prime_sigma 1 1 0 0%
src/serums/distribution_overbounder.py OverbounderBase._h_sigma 1 0 0 100%
src/serums/distribution_overbounder.py OverbounderBase._h_prime_sigma 1 0 0 100%
src/serums/distribution_overbounder.py OverbounderBase._find_sigma_g 7 7 0 0%
src/serums/distribution_overbounder.py OverbounderBase._find_sigma_h 7 0 0 100%
src/serums/distribution_overbounder.py OverbounderBase._get_pareto_scale 1 0 0 100%
src/serums/distribution_overbounder.py OverbounderBase._gauss_1pt_pierce_cost 2 0 0 100%
src/serums/distribution_overbounder.py OverbounderBase._gauss_2pt_pierce_cost 2 2 0 0%
src/serums/distribution_overbounder.py OverbounderBase.overbound 1 1 0 0%
src/serums/distribution_overbounder.py SymmetricGaussianOverbounder.__init__ 2 0 0 100%
src/serums/distribution_overbounder.py SymmetricGaussianOverbounder.overbound 24 1 0 96%
src/serums/distribution_overbounder.py SymmetricGPO.__init__ 3 0 0 100%
src/serums/distribution_overbounder.py SymmetricGPO.overbound 72 3 0 96%
src/serums/distribution_overbounder.py PairedGaussianOverbounder.__init__ 1 1 0 0%
src/serums/distribution_overbounder.py PairedGaussianOverbounder._cost_left 6 6 0 0%
src/serums/distribution_overbounder.py PairedGaussianOverbounder._cost_right 6 6 0 0%
src/serums/distribution_overbounder.py PairedGaussianOverbounder.overbound 24 24 0 0%
src/serums/distribution_overbounder.py PairedGPO.__init__ 3 3 0 0%
src/serums/distribution_overbounder.py PairedGPO._cost_left 6 6 0 0%
src/serums/distribution_overbounder.py PairedGPO._cost_right 6 6 0 0%
src/serums/distribution_overbounder.py PairedGPO.overbound 101 101 0 0%
src/serums/distribution_overbounder.py (no function) 43 0 0 100%
src/serums/enums.py GSMTypes.__str__ 1 1 0 0%
src/serums/enums.py SingleObjectDistance.__str__ 1 1 0 0%
src/serums/enums.py MultiObjectDistance.__str__ 1 1 0 0%
src/serums/enums.py DistEstimatorMethod.__str__ 1 1 0 0%
src/serums/enums.py (no function) 28 0 0 100%
src/serums/error_processor.py BinnedError.__init__ 5 5 0 0%
src/serums/error_processor.py BinnedError.normalize 2 2 0 0%
src/serums/error_processor.py BinnedError.remove_outliers 2 2 0 0%
src/serums/error_processor.py BinnedError.autobin 8 8 0 0%
src/serums/error_processor.py BinnedError.bisect 3 3 0 0%
src/serums/error_processor.py (no function) 10 10 0 0%
src/serums/errors.py (no function) 4 0 0 100%
src/serums/models.py BaseSingleModel.__init__ 8 0 0 100%
src/serums/models.py BaseSingleModel.sample 1 1 0 0%
src/serums/models.py BaseSingleModel.pdf 2 2 0 0%
src/serums/models.py BaseSingleModel.__str__ 17 17 0 0%
src/serums/models.py BaseSingleModel.__sub__ 6 6 0 0%
src/serums/models.py BaseSingleModel.__neg__ 1 1 0 0%
src/serums/models.py BaseSingleModel.__add__ 6 2 0 67%
src/serums/models.py BaseSingleModel.__rmul__ 1 1 0 0%
src/serums/models.py BaseSingleModel.__mul__ 6 6 0 0%
src/serums/models.py BaseSingleModel.__truediv__ 6 6 0 0%
src/serums/models.py BaseSingleModel.__rtruediv__ 1 1 0 0%
src/serums/models.py BaseSingleModel.__floordiv__ 6 6 0 0%
src/serums/models.py BaseSingleModel.__rfloordiv__ 1 1 0 0%
src/serums/models.py BaseSingleModel.__pow__ 1 0 0 100%
src/serums/models.py Gaussian.__init__ 7 0 0 100%
src/serums/models.py Gaussian.__str__ 17 17 0 0%
src/serums/models.py Gaussian.mean 1 0 0 100%
src/serums/models.py Gaussian.mean 1 1 0 0%
src/serums/models.py Gaussian.covariance 1 0 0 100%
src/serums/models.py Gaussian.covariance 5 5 0 0%
src/serums/models.py Gaussian.sample 5 0 0 100%
src/serums/models.py Gaussian.pdf 2 2 0 0%
src/serums/models.py Gaussian.CI 4 4 0 0%
src/serums/models.py Gaussian.CDFplot 24 24 0 0%
src/serums/models.py Gaussian.probscaleplot 26 26 0 0%
src/serums/models.py PairedGaussian.__init__ 3 3 0 0%
src/serums/models.py PairedGaussian.sample 15 15 0 0%
src/serums/models.py PairedGaussian.CI 4 4 0 0%
src/serums/models.py PairedGaussian.CDFplot 38 38 0 0%
src/serums/models.py PairedGaussian.probscaleplot 44 44 0 0%
src/serums/models.py StudentsT.__init__ 2 0 0 100%
src/serums/models.py StudentsT.mean 1 1 0 0%
src/serums/models.py StudentsT.mean 1 1 0 0%
src/serums/models.py StudentsT.degrees_of_freedom 1 0 0 100%
src/serums/models.py StudentsT.degrees_of_freedom 1 0 0 100%
src/serums/models.py StudentsT.covariance 4 4 0 0%
src/serums/models.py StudentsT.covariance 1 1 0 0%
src/serums/models.py StudentsT.pdf 2 2 0 0%
src/serums/models.py StudentsT.sample 8 0 0 100%
src/serums/models.py ChiSquared.__init__ 2 2 0 0%
src/serums/models.py ChiSquared.mean 1 1 0 0%
src/serums/models.py ChiSquared.mean 1 1 0 0%
src/serums/models.py ChiSquared.degrees_of_freedom 1 1 0 0%
src/serums/models.py ChiSquared.degrees_of_freedom 1 1 0 0%
src/serums/models.py ChiSquared.covariance 4 4 0 0%
src/serums/models.py ChiSquared.covariance 1 1 0 0%
src/serums/models.py ChiSquared.pdf 2 2 0 0%
src/serums/models.py ChiSquared.sample 10 10 0 0%
src/serums/models.py Cauchy.__init__ 2 0 0 100%
src/serums/models.py Cauchy.mean 1 1 0 0%
src/serums/models.py Cauchy.mean 1 1 0 0%
src/serums/models.py Cauchy.degrees_of_freedom 1 0 0 100%
src/serums/models.py Cauchy.degrees_of_freedom 1 1 0 0%
src/serums/models.py Cauchy.covariance 1 1 0 0%
src/serums/models.py Cauchy.covariance 1 1 0 0%
src/serums/models.py GaussianScaleMixture.__init__ 12 12 0 0%
src/serums/models.py GaussianScaleMixture.degrees_of_freedom 5 5 0 0%
src/serums/models.py GaussianScaleMixture.degrees_of_freedom 7 7 0 0%
src/serums/models.py GaussianScaleMixture.sample 9 9 0 0%
src/serums/models.py GaussianScaleMixture._sample_student_t 1 1 0 0%
src/serums/models.py GaussianScaleMixture._sample_SaS 1 1 0 0%
src/serums/models.py GeneralizedPareto.__init__ 2 0 0 100%
src/serums/models.py GeneralizedPareto.sample 10 10 0 0%
src/serums/models.py GeneralizedPareto.pdf 2 2 0 0%
src/serums/models.py Bernoulli.__init__ 3 3 0 0%
src/serums/models.py Bernoulli.sample 8 8 0 0%
src/serums/models.py BaseMixtureModelIterator.__init__ 3 3 0 0%
src/serums/models.py BaseMixtureModelIterator.__iter__ 1 1 0 0%
src/serums/models.py BaseMixtureModelIterator.__next__ 6 6 0 0%
src/serums/models.py BaseMixtureModel.__init__ 7 7 0 0%
src/serums/models.py BaseMixtureModel.__iter__ 1 1 0 0%
src/serums/models.py BaseMixtureModel.__len__ 1 1 0 0%
src/serums/models.py BaseMixtureModel.sample 15 15 0 0%
src/serums/models.py BaseMixtureModel.pdf 4 4 0 0%
src/serums/models.py BaseMixtureModel.remove_components 5 5 0 0%
src/serums/models.py BaseMixtureModel.add_components 1 1 0 0%
src/serums/models.py _DistListWrapper.__init__ 2 2 0 0%
src/serums/models.py _DistListWrapper.__getitem__ 9 9 0 0%
src/serums/models.py _DistListWrapper.__setitem__ 10 10 0 0%
src/serums/models.py _DistListWrapper.__iter__ 2 2 0 0%
src/serums/models.py _DistListWrapper.__next__ 4 4 0 0%
src/serums/models.py _DistListWrapper.__repr__ 1 1 0 0%
src/serums/models.py _DistListWrapper.__len__ 1 1 0 0%
src/serums/models.py _DistListWrapper.append 1 1 0 0%
src/serums/models.py _DistListWrapper.extend 1 1 0 0%
src/serums/models.py GaussianMixture.__init__ 3 3 0 0%
src/serums/models.py GaussianMixture.means 1 1 0 0%
src/serums/models.py GaussianMixture.means 8 8 0 0%
src/serums/models.py GaussianMixture.covariances 1 1 0 0%
src/serums/models.py GaussianMixture.covariances 8 8 0 0%
src/serums/models.py GaussianMixture.add_components 8 8 0 0%
src/serums/models.py StudentsTMixture.__init__ 6 6 0 0%
src/serums/models.py StudentsTMixture.means 1 1 0 0%
src/serums/models.py StudentsTMixture.means 8 8 0 0%
src/serums/models.py StudentsTMixture.covariances 1 1 0 0%
src/serums/models.py StudentsTMixture.scalings 1 1 0 0%
src/serums/models.py StudentsTMixture.scalings 8 8 0 0%
src/serums/models.py StudentsTMixture.dof 3 3 0 0%
src/serums/models.py StudentsTMixture.dof 2 2 0 0%
src/serums/models.py StudentsTMixture.degrees_of_freedom 1 1 0 0%
src/serums/models.py StudentsTMixture.degrees_of_freedom 8 8 0 0%
src/serums/models.py StudentsTMixture.add_components 10 10 0 0%
src/serums/models.py MultiBernoulliMixture.__init__ 3 3 0 0%
src/serums/models.py MultiBernoulliMixture.probs 1 1 0 0%
src/serums/models.py MultiBernoulliMixture.probs 8 8 0 0%
src/serums/models.py MultiBernoulliMixture.densities 1 1 0 0%
src/serums/models.py MultiBernoulliMixture.densities 8 8 0 0%
src/serums/models.py MultiBernoulliMixture.add_components 9 9 0 0%
src/serums/models.py SymmetricGaussianPareto.__init__ 4 0 0 100%
src/serums/models.py SymmetricGaussianPareto.sample 25 25 0 0%
src/serums/models.py SymmetricGaussianPareto.CI 7 7 0 0%
src/serums/models.py SymmetricGaussianPareto.CDFplot 26 26 0 0%
src/serums/models.py SymmetricGaussianPareto.probscaleplot 32 32 0 0%
src/serums/models.py PairedGaussianPareto.__init__ 11 11 0 0%
src/serums/models.py PairedGaussianPareto.sample 24 24 0 0%
src/serums/models.py PairedGaussianPareto.CI 14 14 0 0%
src/serums/models.py PairedGaussianPareto.CDFplot 44 44 0 0%
src/serums/models.py PairedGaussianPareto.probscaleplot 43 43 0 0%
src/serums/models.py (no function) 187 0 0 100%
Total   1798 1166 0 35%

No items found using the specified filter.