Missing lines in coverage
Description
Some of the core files have spotty test coverage. The respective unit tests should be reviewed and amended sensibly and carefully.
Module | statements | missing | excluded | branches | partial | coverage |
---|---|---|---|---|---|---|
Total | 4564 | 145 | 18 | 1756 | 106 | 96% |
icet/core/cluster_expansion.py | 162 | 16 | 0 | 42 | 4 | 88% |
mchammer/data_containers/base_data_container.py | 235 | 11 | 0 | 114 | 5 | 93% |
mchammer/ensembles/base_ensemble.py | 224 | 8 | 0 | 92 | 10 | 94% |
icet/core/orbit_list.py | 43 | 7 | 0 | 6 | 1 | 80% |
mchammer/data_analysis.py | 34 | 7 | 0 | 10 | 2 | 80% |
icet/tools/ground_state_finder.py | 158 | 6 | 2 | 69 | 4 | 96% |
mchammer/calculators/cluster_expansion_calculator.py | 50 | 6 | 0 | 10 | 3 | 85% |
icet/fitting/cross_validation.py | 119 | 5 | 0 | 28 | 2 | 93% |
icet/fitting/tools.py | 19 | 5 | 0 | 6 | 0 | 72% |
icet/tools/structure_enumeration.py | 185 | 5 | 1 | 112 | 7 | 96% |
mchammer/configuration_manager.py | 87 | 5 | 0 | 32 | 1 | 95% |
icet/core/cluster_space.py | 266 | 4 | 6 | 85 | 3 | 98% |
icet/fitting/base_optimizer.py | 94 | 4 | 0 | 20 | 2 | 95% |
icet/fitting/fit_methods.py | 164 | 4 | 0 | 46 | 9 | 94% |
icet/input_output/logging_tools.py | 28 | 4 | 0 | 8 | 2 | 83% |
icet/core/cluster.py | 9 | 3 | 0 | 2 | 0 | 55% |
icet/core/neighbor_list.py | 18 | 3 | 2 | 8 | 2 | 81% |
icet/tools/convex_hull.py | 74 | 3 | 0 | 24 | 1 | 96% |
icet/tools/structure_generation.py | 123 | 3 | 0 | 74 | 3 | 97% |
mchammer/ensembles/canonical_annealing.py | 68 | 3 | 1 | 14 | 3 | 93% |
mchammer/ensembles/hybrid_ensemble.py | 138 | 3 | 0 | 90 | 5 | 96% |
mchammer/ensembles/sgc_annealing.py | 60 | 3 | 1 | 12 | 3 | 92% |
mchammer/observers/binary_short_range_order_observer.py | 71 | 3 | 0 | 30 | 3 | 94% |
icet/core/structure_container.py | 163 | 2 | 1 | 70 | 4 | 97% |
icet/fitting/ensemble_optimizer.py | 114 | 2 | 0 | 30 | 1 | 98% |
icet/fitting/optimizer.py | 120 | 2 | 0 | 36 | 0 | 99% |
icet/fitting/split_bregman.py | 40 | 2 | 0 | 8 | 3 | 90% |
icet/tools/structure_enumeration_support/hermite_normal_form.py | 70 | 2 | 0 | 48 | 3 | 96% |
mchammer/calculators/target_vector_calculator.py | 53 | 2 | 0 | 18 | 1 | 96% |
mchammer/data_containers/data_container.py | 20 | 2 | 0 | 6 | 2 | 85% |
mchammer/ensembles/target_cluster_vector_annealing.py | 94 | 2 | 0 | 22 | 2 | 97% |
mchammer/ensembles/thermodynamic_base_ensemble.py | 105 | 2 | 0 | 44 | 1 | 98% |
Demo
- crucial improvement in test coverage
- sensible and effective tests
- all tests pass
Edited by Paul Erhart