Coverage report: 26%

Files Functions Classes

coverage.py v7.6.4, created at 2024-12-24 08:16 +0100

File function statements missing excluded coverage
/Users/martin/prj/git/benchman_pre/src/benchman/__init__.py (no function) 2 0 0 100%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py get_benchmark_filepath 10 10 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.__init__ 11 11 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.__str__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.__repr__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.__lt__ 3 3 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.to_str 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.full_name 6 6 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.version 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.repeat 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.min 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.max 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.mean 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.stdev 5 5 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.median 5 5 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark._calc_iqr 10 10 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.q1 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.q3 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.iqr 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.ops 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.ops_rel 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.outliers 2 2 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.slug 4 4 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.__enter__ 2 2 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.__exit__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.loaded_state 4 4 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.to_dict 5 5 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.save 5 5 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py Benchmark.from_dict 8 8 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py BenchmarkRunner.__init__ 13 13 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py BenchmarkRunner.run 3 3 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py BenchmarkRunner.print 3 3 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py BenchmarkManager.__init__ 14 0 0 100%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py BenchmarkManager.__repr__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py BenchmarkManager.count 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py BenchmarkManager.singleton 4 0 0 100%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py BenchmarkManager.project_name 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py BenchmarkManager.project_version 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py BenchmarkManager.make_slug 8 8 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py BenchmarkManager.iter_benchmarks 9 9 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py BenchmarkManager.get_best 6 6 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py BenchmarkManager.get_best_time_unit 5 5 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py BenchmarkManager._path_and_prefix 3 3 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py BenchmarkManager.add_benchmark 3 3 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py BenchmarkManager.save 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py BenchmarkManager.load 13 13 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py BenchmarkManager.compare_results 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py BenchmarkManager.format_results 6 6 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py BenchmarkManager.print_results 2 2 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py BenchmarkManager.run_timings 15 15 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py BenchmarkManager.report 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py BenchmarkManager.make_runner 2 2 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/benchman.py (no function) 98 0 0 100%
/Users/martin/prj/git/benchman_pre/src/benchman/cli.py run 60 60 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/cli.py (no function) 23 23 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/cli_commands.py handle_combine_command 38 38 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/cli_commands.py handle_info_command 17 17 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/cli_commands.py handle_run_command 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/cli_commands.py handle_purge_command 6 6 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/cli_commands.py handle_report_command 5 5 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/cli_commands.py handle_tag_command 16 16 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/cli_commands.py (no function) 19 19 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/context_info.py HWInfo.slug 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/context_info.py HWInfo.to_dict 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/context_info.py HWInfo.create 2 0 0 100%
/Users/martin/prj/git/benchman_pre/src/benchman/context_info.py ProjectInfo.slug 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/context_info.py ProjectInfo.to_dict 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/context_info.py ProjectInfo.create 11 1 0 91%
/Users/martin/prj/git/benchman_pre/src/benchman/context_info.py OSInfo.slug 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/context_info.py OSInfo.to_dict 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/context_info.py OSInfo.is_windows 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/context_info.py OSInfo.create 4 0 0 100%
/Users/martin/prj/git/benchman_pre/src/benchman/context_info.py PythonInfo.slug 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/context_info.py PythonInfo.implementation_version 8 8 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/context_info.py PythonInfo.to_dict 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/context_info.py PythonInfo.create 6 0 0 100%
/Users/martin/prj/git/benchman_pre/src/benchman/context_info.py BaseContextInfo.__init__ 6 0 0 100%
/Users/martin/prj/git/benchman_pre/src/benchman/context_info.py BaseContextInfo.__repr__ 2 2 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/context_info.py BaseContextInfo.client_slug 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/context_info.py BaseContextInfo.slug 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/context_info.py BaseContextInfo.to_dict 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/context_info.py (no function) 62 0 0 100%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py ColumnInfo.__str__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py ColumnInfo.__repr__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py col_info 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py DataCell.__init__ 5 5 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py DataCell.__str__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py DataCell.__repr__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py DataCell.__eq__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py DataCell.__lt__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py DataCell.__le__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py DataCell.__gt__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py DataCell.__ge__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py DataCell.benchmark 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py DataCell.col_info 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py DataCell.dataset 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py DataCell.is_dynamic 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py DataCell.is_metric 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py DataCell.is_fixed 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py DataRow.__str__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py DataRow.__repr__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py DataRow.__iter__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py DataRow.__getitem__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py DataRow.__lt__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py DataRow.append_value 3 3 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py DataRow.float_values 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py Dataset.__init__ 53 53 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py Dataset.__str__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py Dataset.__repr__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py Dataset._get_row_val 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py Dataset._iter_row_values 2 2 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py Dataset._sort_col_key 13 13 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py Dataset.print 3 3 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py Dataset._classify_cell_list 21 21 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py Dataset._classify 22 22 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py Dataset._aggregate 73 73 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py Dataset.get_description_info 39 39 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/dataset.py (no function) 74 74 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/reporter.py Reporter.__init__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/reporter.py Reporter.report 0 0 0 100%
/Users/martin/prj/git/benchman_pre/src/benchman/reporter.py Reporter.get_description_info 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/reporter.py Reporter._mock_class_suffix 23 23 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/reporter.py Reporter.to_tablib 10 10 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/reporter.py TablibReporter.report 21 21 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/reporter.py TablibReporter.report.wl 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/reporter.py (no function) 17 17 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/timings.py Timing.__init__ 3 3 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/timings.py Timing.__repr__ 4 4 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/timings.py Timing.__enter__ 2 2 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/timings.py Timing.__exit__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/timings.py TimingsResult.__str__ 2 2 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/timings.py TimingsResult.__repr__ 2 2 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/timings.py run_timings 23 23 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/timings.py run_timings.callback 3 3 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/timings.py (no function) 22 0 0 100%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py find_project_root 15 7 0 53%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py get_project_info 18 7 0 61%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py BenchmarkSuiteFile.__init__ 6 6 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py BenchmarkSuiteFile.__repr__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py BenchmarkSuiteFile.__str__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py BenchmarkSuiteFile.name 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py BenchmarkSuiteFile._read 2 2 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py BenchmarkSuiteFile._patch 5 5 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py BenchmarkSuiteFile.save_tag 16 16 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py BenchmarkSuiteFile.find_files 2 2 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py is_running_on_ci 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py extract_items 3 3 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py json_dump 3 3 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py FileOrStdout.__init__ 2 2 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py FileOrStdout.__enter__ 6 6 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py FileOrStdout.__exit__ 2 2 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py ExpressionFilter.__init__ 2 2 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py ExpressionFilter.__repr__ 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py ExpressionFilter._parse_rule 10 10 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py ExpressionFilter.matches 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py ExpressionFilter.filter 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py filter_objects 2 2 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py split_tokens 1 0 0 100%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py singleton 4 4 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py singleton.get_instance 4 4 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py sluggify 1 1 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py hash_string 4 4 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py smart_sort_key 11 0 0 100%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py get_time_unit 4 4 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py calculate_q1_q2_q3 6 6 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py format_time 4 4 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py byte_number_string 29 29 0 0%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py get_machine_id 10 6 0 40%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py get_machine_id.run 4 2 0 50%
/Users/martin/prj/git/benchman_pre/src/benchman/util.py (no function) 64 0 0 100%
__init__.py (no function) 0 0 0 100%
conftest.py pytest_addoption 1 0 0 100%
conftest.py benchman 1 1 0 0%
conftest.py (no function) 7 0 0 100%
fixtures.py quick_sort 7 7 0 0%
fixtures.py bubble_sort 6 6 0 0%
fixtures.py insertion_sort 8 8 0 0%
fixtures.py native_sort 1 1 0 0%
fixtures.py (no function) 9 0 0 100%
test_benchmarks.py TestBenchmarks._test_sort_suite 6 6 0 0%
test_benchmarks.py TestBenchmarks.test_bench_sort 6 6 0 0%
test_benchmarks.py (no function) 9 0 0 100%
test_core.py TestBenchmarkManager.test_bench_init 2 0 0 100%
test_core.py TestBenchmarkManager.test_filter 1 0 0 100%
test_core.py TestBenchmarkManager.test_smart_sort_keys 4 0 0 100%
test_core.py (no function) 5 0 0 100%
Total   1397 1028 0 26%

No items found using the specified filter.