Coverage report: 96%

Files Functions Classes

coverage.py v7.13.4, created at 2026-02-26 21:14 +0000

File function   statements missing excluded   coverage
conftest.py (no function)   0 0 0   100%
physiodsp / __init__.py (no function)   0 0 0   100%
physiodsp / activity / __init__.py (no function)   4 0 0   100%
physiodsp / activity / activity_score.py ActivityScore.__init__   6 0 0   100%
physiodsp / activity / activity_score.py ActivityScore._validate_weights   3 1 0   67%
physiodsp / activity / activity_score.py ActivityScore._compute_baseline_stats   1 0 0   100%
physiodsp / activity / activity_score.py ActivityScore._score_steps   17 6 0   65%
physiodsp / activity / activity_score.py ActivityScore._score_sleep   19 3 0   84%
physiodsp / activity / activity_score.py ActivityScore._score_training   17 2 0   88%
physiodsp / activity / activity_score.py ActivityScore._score_resting   22 3 0   86%
physiodsp / activity / activity_score.py ActivityScore.run   17 1 0   94%
physiodsp / activity / activity_score.py ActivityScore.get_activity_score_interpretation   9 0 0   100%
physiodsp / activity / activity_score.py (no function)   35 0 0   100%
physiodsp / activity / enmo.py ENMO.__init__   4 0 0   100%
physiodsp / activity / enmo.py ENMO.run   6 0 0   100%
physiodsp / activity / enmo.py ENMO.aggregate   2 0 0   100%
physiodsp / activity / enmo.py (no function)   13 0 0   100%
physiodsp / activity / pim.py PIMAlgorithm.__init__   1 0 0   100%
physiodsp / activity / pim.py PIMAlgorithm.estimate   4 0 0   100%
physiodsp / activity / pim.py PIMAlgorithm.aggregate   5 5 0   0%
physiodsp / activity / pim.py (no function)   11 0 0   100%
physiodsp / activity / time_above_thr.py TimeAboveThr.__init__   4 0 0   100%
physiodsp / activity / time_above_thr.py TimeAboveThr.run   5 0 0   100%
physiodsp / activity / time_above_thr.py TimeAboveThr.aggregate   5 5 0   0%
physiodsp / activity / time_above_thr.py (no function)   15 0 0   100%
physiodsp / activity / zero_crossing.py ZeroCrossing.__init__   5 0 0   100%
physiodsp / activity / zero_crossing.py ZeroCrossing.__preprocess_imu   6 0 0   100%
physiodsp / activity / zero_crossing.py ZeroCrossing.run   6 0 0   100%
physiodsp / activity / zero_crossing.py ZeroCrossing.aggregate   5 0 0   100%
physiodsp / activity / zero_crossing.py (no function)   20 0 0   100%
physiodsp / base.py BaseAlgorithm.__init__   1 1 0   0%
physiodsp / base.py BaseAlgorithm.algorithm_name   1 0 0   100%
physiodsp / base.py BaseAlgorithm.version   1 0 0   100%
physiodsp / base.py BaseAlgorithm.window_len   1 1 0   0%
physiodsp / base.py BaseAlgorithm.aggregation_window   1 1 0   0%
physiodsp / base.py BaseAlgorithm.preprocess   1 1 0   0%
physiodsp / base.py BaseAlgorithm.run   1 1 0   0%
physiodsp / base.py BaseAlgorithm.aggregate   6 0 0   100%
physiodsp / base.py (no function)   23 0 0   100%
physiodsp / sensors / __init__.py (no function)   0 0 0   100%
physiodsp / sensors / imu / __init__.py (no function)   0 0 0   100%
physiodsp / sensors / imu / accelerometer.py (no function)   7 0 0   100%
physiodsp / sensors / imu / base.py IMUData.magnitude   1 0 0   100%
physiodsp / sensors / imu / base.py IMUData.to_matrix   1 0 0   100%
physiodsp / sensors / imu / base.py (no function)   12 0 0   100%
tests / __init__.py (no function)   0 0 0   100%
tests / test_activity_enmo.py test_activity_enmo   9 0 0   100%
tests / test_activity_enmo.py (no function)   10 0 0   100%
tests / test_activity_pim.py test_pim_algorithm   15 0 0   100%
tests / test_activity_pim.py test_pim_absolute_values   14 0 0   100%
tests / test_activity_pim.py test_pim_positive_values   14 0 0   100%
tests / test_activity_pim.py test_pim_zero_values   13 0 0   100%
tests / test_activity_pim.py test_pim_algorithm_properties   5 0 0   100%
tests / test_activity_pim.py test_pim_estimate_returns_self   7 0 0   100%
tests / test_activity_pim.py test_pim_data_preservation   17 0 0   100%
tests / test_activity_pim.py test_pim_mixed_values   17 0 0   100%
tests / test_activity_pim.py (no function)   17 0 0   100%
tests / test_activity_score.py test_activity_score_excellent   11 0 0   100%
tests / test_activity_score.py test_activity_score_good   11 0 0   100%
tests / test_activity_score.py test_activity_score_fair   11 0 0   100%
tests / test_activity_score.py test_activity_score_poor   11 0 0   100%
tests / test_activity_score.py test_activity_score_critical   11 0 0   100%
tests / test_activity_score.py test_activity_score_algorithm_properties   9 0 0   100%
tests / test_activity_score.py test_activity_score_minimum_data   5 0 0   100%
tests / test_activity_score.py test_activity_score_personalizes_to_baseline   13 0 0   100%
tests / test_activity_score.py test_activity_score_output_structure   15 0 0   100%
tests / test_activity_score.py test_activity_score_weighted_combination   8 0 0   100%
tests / test_activity_score.py test_activity_score_baseline_stats_stored   13 0 0   100%
tests / test_activity_score.py (no function)   21 0 0   100%
tests / test_activity_time_above_thr.py test_activity_time_above_thr   15 0 0   100%
tests / test_activity_time_above_thr.py test_time_above_thr_all_above_threshold   14 0 0   100%
tests / test_activity_time_above_thr.py test_time_above_thr_all_below_threshold   14 0 0   100%
tests / test_activity_time_above_thr.py test_time_above_thr_custom_settings   19 0 0   100%
tests / test_activity_time_above_thr.py test_time_above_thr_algorithm_properties   7 0 0   100%
tests / test_activity_time_above_thr.py test_time_above_thr_output_structure   13 0 0   100%
tests / test_activity_time_above_thr.py (no function)   15 0 0   100%
tests / test_activity_zero_crossing.py test_activity_zero_crossing   17 0 0   100%
tests / test_activity_zero_crossing.py (no function)   10 0 0   100%
Total     725 31 0   96%

No items found using the specified filter.