LCOV - differential code coverage report
Current view: top level - src/port - path.c (source / functions) Coverage Total Hit UBC CBC
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 83.6 % 292 244 48 244
Current Date: 2026-05-29 21:51:00 -0400 Functions: 93.9 % 33 31 2 31
Baseline: lcov-20260530-034037-baseline Branches: 67.4 % 178 120 58 120
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 4 4 4
(360..) days: 83.3 % 288 240 48 240
Function coverage date bins:
(7,30] days: 100.0 % 1 1 1
(360..) days: 93.8 % 32 30 2 30
Branch coverage date bins:
(360..) days: 67.4 % 178 120 58 120

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function Branches Sort by unexercised branches in function
get_home_path UBC 0 0.0 % (0 / 10) 0.0 % (0 / 8)
has_drive_prefix UBC 0 0.0 % (0 / 2)
path_is_prefix_of_path CBC 83 66.7 % (4 / 6) 16.7 % (1 / 6)
get_doc_path CBC 557 100.0 % (3 / 3)
get_html_path CBC 557 100.0 % (3 / 3)
get_includeserver_path CBC 557 100.0 % (3 / 3)
get_lib_path CBC 557 100.0 % (3 / 3)
get_man_path CBC 557 100.0 % (3 / 3)
get_pkginclude_path CBC 568 100.0 % (3 / 3)
get_include_path CBC 628 100.0 % (3 / 3)
make_native_path CBC 954 100.0 % (2 / 2)
get_pkglib_path CBC 2406 100.0 % (3 / 3)
make_absolute_path CBC 3062 40.5 % (15 / 37) 31.8 % (7 / 22)
cleanup_path CBC 7241 100.0 % (2 / 2)
get_parent_directory CBC 8834 100.0 % (3 / 3)
get_share_path CBC 11123 100.0 % (3 / 3)
get_etc_path CBC 14156 100.0 % (3 / 3)
get_locale_path CBC 21413 100.0 % (3 / 3)
first_path_var_separator CBC 28092 100.0 % (5 / 5) 100.0 % (4 / 4)
get_progname CBC 34717 80.0 % (8 / 10) 75.0 % (3 / 4)
dir_strcmp CBC 51923 66.7 % (8 / 12) 42.9 % (6 / 14)
make_relative_path CBC 53079 96.0 % (24 / 25) 66.7 % (12 / 18)
join_path_components CBC 59853 100.0 % (7 / 7) 83.3 % (5 / 6)
trim_directory CBC 62021 90.9 % (10 / 11) 72.2 % (13 / 18)
first_dir_separator CBC 86648 100.0 % (5 / 5) 100.0 % (4 / 4)
last_dir_separator CBC 192425 100.0 % (6 / 6) 100.0 % (4 / 4)
path_is_safe_for_extraction CBC 379253 100.0 % (4 / 4)
path_contains_parent_reference CBC 386424 71.4 % (5 / 7) 37.5 % (3 / 8)
path_is_relative_and_below_cwd CBC 386424 66.7 % (4 / 6) 50.0 % (2 / 4)
canonicalize_path CBC 566725 100.0 % (3 / 3)
canonicalize_path_enc CBC 566794 100.0 % (84 / 84) 96.0 % (48 / 50)
trim_trailing_separator CBC 618717 100.0 % (7 / 7) 100.0 % (6 / 6)
append_subdir_to_path CBC 2871517 100.0 % (5 / 5) 100.0 % (2 / 2)

Generated by: LCOV version 2.5.0-beta