Coverage report: 76%

Files Functions Classes

coverage.py v7.7.1, created at 2025-03-26 18:37 -0600

File function statements missing excluded branches partial coverage
src/es_fieldusage/__init__.py (no function) 0 0 0 0 0 100%
src/es_fieldusage/cli.py run 3 3 0 0 0 0%
src/es_fieldusage/cli.py (no function) 18 0 0 0 0 100%
src/es_fieldusage/commands.py get_per_index 9 3 0 2 0 73%
src/es_fieldusage/commands.py format_delimiter 7 0 0 4 0 100%
src/es_fieldusage/commands.py header_msg 3 0 0 2 0 100%
src/es_fieldusage/commands.py is_docker 2 0 0 0 0 100%
src/es_fieldusage/commands.py printout 2 0 0 2 0 100%
src/es_fieldusage/commands.py output_generator 7 0 0 4 0 100%
src/es_fieldusage/commands.py override_filepath 3 0 0 2 0 100%
src/es_fieldusage/commands.py stdout 16 16 0 6 0 0%
src/es_fieldusage/commands.py file 36 36 0 16 0 0%
src/es_fieldusage/commands.py index 27 27 0 12 0 0%
src/es_fieldusage/commands.py show_indices 21 21 0 6 0 0%
src/es_fieldusage/commands.py (no function) 59 0 0 0 0 100%
src/es_fieldusage/defaults.py (no function) 7 0 0 0 0 100%
src/es_fieldusage/exceptions.py (no function) 8 0 0 0 0 100%
src/es_fieldusage/helpers/__init__.py (no function) 0 0 0 0 0 100%
src/es_fieldusage/helpers/utils.py convert_mapping 11 0 0 8 1 95%
src/es_fieldusage/helpers/utils.py detuple 3 0 0 2 0 100%
src/es_fieldusage/helpers/utils.py get_value_from_path 1 0 0 0 0 100%
src/es_fieldusage/helpers/utils.py iterate_paths 8 0 0 8 0 100%
src/es_fieldusage/helpers/utils.py output_report 17 0 0 4 0 100%
src/es_fieldusage/helpers/utils.py override_settings 6 0 0 6 1 92%
src/es_fieldusage/helpers/utils.py passthrough 1 0 0 0 0 100%
src/es_fieldusage/helpers/utils.py sort_by_name 1 0 0 0 0 100%
src/es_fieldusage/helpers/utils.py sort_by_value 1 0 0 0 0 100%
src/es_fieldusage/helpers/utils.py sum_dict_values 7 0 0 4 0 100%
src/es_fieldusage/helpers/utils.py (no function) 17 0 0 0 0 100%
src/es_fieldusage/main.py FieldUsage.__init__ 10 0 0 0 0 100%
src/es_fieldusage/main.py FieldUsage.get 9 3 0 4 0 77%
src/es_fieldusage/main.py FieldUsage.get_field_mappings 1 0 0 0 0 100%
src/es_fieldusage/main.py FieldUsage.populate_values 6 1 0 4 1 80%
src/es_fieldusage/main.py FieldUsage.get_resultset 5 0 0 2 1 86%
src/es_fieldusage/main.py FieldUsage.merge_results 7 0 0 2 0 100%
src/es_fieldusage/main.py FieldUsage.verify_single_index 10 6 0 8 1 39%
src/es_fieldusage/main.py FieldUsage.per_index_report 12 1 0 8 2 85%
src/es_fieldusage/main.py FieldUsage.report 10 1 0 6 2 81%
src/es_fieldusage/main.py FieldUsage.result 2 0 0 0 0 100%
src/es_fieldusage/main.py FieldUsage.results_by_index 7 1 0 6 1 85%
src/es_fieldusage/main.py FieldUsage.results 4 0 0 2 0 100%
src/es_fieldusage/main.py FieldUsage.indices 5 1 0 4 1 78%
src/es_fieldusage/main.py FieldUsage.sum_index_stats 8 1 0 6 1 86%
src/es_fieldusage/main.py FieldUsage.sum_index_stats.appender 4 1 0 2 1 67%
src/es_fieldusage/main.py (no function) 25 0 0 0 0 100%
src/es_fieldusage/version.py (no function) 1 0 0 0 0 100%
tests/__init__.py (no function) 0 0 0 0 0 100%
tests/integration/__init__.py (no function) 0 0 0 0 0 100%
tests/unit/__init__.py (no function) 0 0 0 0 0 100%
tests/unit/conftest.py mock_field_usage 4 0 0 0 0 100%
tests/unit/conftest.py click_context 3 3 0 0 0 0%
tests/unit/conftest.py mock_client 4 0 0 0 0 100%
tests/unit/conftest.py field_usage_instance 2 0 0 0 0 100%
tests/unit/conftest.py (no function) 12 0 0 0 0 100%
tests/unit/test_commands.py test_get_per_index_per_index_true 2 0 0 0 0 100%
tests/unit/test_commands.py test_get_per_index_per_index_false 2 0 0 0 0 100%
tests/unit/test_commands.py test_format_delimiter 4 0 0 0 0 100%
tests/unit/test_commands.py test_header_msg 2 0 0 0 0 100%
tests/unit/test_commands.py test_is_docker_dockerenv_exists 2 0 0 0 0 100%
tests/unit/test_commands.py test_is_docker_cgroup_docker 3 0 0 0 0 100%
tests/unit/test_commands.py test_is_docker_not_in_docker 2 0 0 0 0 100%
tests/unit/test_commands.py test_output_generator_show_counts_true 3 0 0 0 0 100%
tests/unit/test_commands.py test_output_generator_show_counts_false 3 0 0 0 0 100%
tests/unit/test_commands.py test_output_generator_custom_delimiter 3 0 0 0 0 100%
tests/unit/test_commands.py test_printout_show_counts_true 4 0 0 0 0 100%
tests/unit/test_commands.py test_printout_show_counts_false 4 0 0 0 0 100%
tests/unit/test_commands.py test_override_filepath_in_docker 2 0 0 0 0 100%
tests/unit/test_commands.py test_override_filepath_not_in_docker 2 0 0 0 0 100%
tests/unit/test_commands.py (no function) 21 0 0 0 0 100%
tests/unit/test_main.py test_init 2 0 0 0 0 100%
tests/unit/test_main.py test_get 2 0 0 0 0 100%
tests/unit/test_main.py test_get_field_mappings 2 0 0 0 0 100%
tests/unit/test_main.py test_populate_values 3 0 0 0 0 100%
tests/unit/test_main.py test_get_resultset 2 0 0 0 0 100%
tests/unit/test_main.py test_merge_results 2 0 0 0 0 100%
tests/unit/test_main.py test_per_index_report 4 0 0 0 0 100%
tests/unit/test_main.py test_report 3 0 0 0 0 100%
tests/unit/test_main.py test_result 2 0 0 0 0 100%
tests/unit/test_main.py test_results_by_index 3 0 0 0 0 100%
tests/unit/test_main.py test_results 2 0 0 0 0 100%
tests/unit/test_main.py test_indices 1 0 0 0 0 100%
tests/unit/test_main.py test_sum_index_stats 3 0 0 0 0 100%
tests/unit/test_main.py (no function) 16 0 0 0 0 100%
tests/unit/test_utils.py test_convert_mapping 3 0 0 0 0 100%
tests/unit/test_utils.py test_detuple 2 0 0 0 0 100%
tests/unit/test_utils.py test_get_value_from_path 3 0 0 0 0 100%
tests/unit/test_utils.py test_iterate_paths 4 0 0 0 0 100%
tests/unit/test_utils.py test_output_report 9 0 0 0 0 100%
tests/unit/test_utils.py test_override_settings 6 0 0 0 0 100%
tests/unit/test_utils.py test_passthrough 3 0 0 0 0 100%
tests/unit/test_utils.py test_passthrough.sample_func 1 0 0 0 0 100%
tests/unit/test_utils.py test_sort_by_name 3 0 0 0 0 100%
tests/unit/test_utils.py test_sort_by_value 3 0 0 0 0 100%
tests/unit/test_utils.py test_sum_dict_values 3 0 0 0 0 100%
tests/unit/test_utils.py test_output_report_extended 4 0 0 2 0 100%
tests/unit/test_utils.py (no function) 15 0 0 0 0 100%
Total   617 125 0 144 13 76%

No items found using the specified filter.