LCOV - differential code coverage report
Current view: top level - src/port - path.c (source / functions) Coverage Total Hit UBC GBC CBC
Current: f76c13edadc2b319036e0d238703ed56bb23f934 vs 9e17d25e79d4756be08b4a5521b4b58450217137 Lines: 84.2 % 292 246 46 2 244
Current Date: 2026-09-20 14:13:17 +0900 Functions: 93.9 % 33 31 2 31
Baseline: lcov-20260920-baseline Branches: 68.5 % 178 122 56 2 120
Baseline Date: 2026-09-20 14:13:13 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 4 4 4
(360..) days: 84.0 % 288 242 46 2 240
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 93.8 % 32 30 2 30
Branch coverage date bins:
(360..) days: 68.5 % 178 122 56 2 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 88 100.0 % (6 / 6) 50.0 % (3 / 6)
get_doc_path CBC 572 100.0 % (3 / 3)
get_html_path CBC 572 100.0 % (3 / 3)
get_includeserver_path CBC 572 100.0 % (3 / 3)
get_lib_path CBC 572 100.0 % (3 / 3)
get_man_path CBC 572 100.0 % (3 / 3)
get_pkginclude_path CBC 583 100.0 % (3 / 3)
get_include_path CBC 642 100.0 % (3 / 3)
make_native_path CBC 986 100.0 % (2 / 2)
get_pkglib_path CBC 2463 100.0 % (3 / 3)
make_absolute_path CBC 3131 40.5 % (15 / 37) 31.8 % (7 / 22)
cleanup_path CBC 7436 100.0 % (2 / 2)
get_parent_directory CBC 8757 100.0 % (3 / 3)
get_share_path CBC 11177 100.0 % (3 / 3)
get_etc_path CBC 14447 100.0 % (3 / 3)
get_locale_path CBC 21620 100.0 % (3 / 3)
first_path_var_separator CBC 28696 100.0 % (5 / 5) 100.0 % (4 / 4)
get_progname CBC 35231 80.0 % (8 / 10) 75.0 % (3 / 4)
dir_strcmp CBC 52635 66.7 % (8 / 12) 42.9 % (6 / 14)
make_relative_path CBC 53792 96.0 % (24 / 25) 66.7 % (12 / 18)
join_path_components CBC 60624 100.0 % (7 / 7) 83.3 % (5 / 6)
trim_directory CBC 62657 90.9 % (10 / 11) 72.2 % (13 / 18)
first_dir_separator CBC 88454 100.0 % (5 / 5) 100.0 % (4 / 4)
last_dir_separator CBC 200835 100.0 % (6 / 6) 100.0 % (4 / 4)
path_is_safe_for_extraction CBC 366247 100.0 % (4 / 4)
path_contains_parent_reference CBC 373106 71.4 % (5 / 7) 37.5 % (3 / 8)
path_is_relative_and_below_cwd CBC 373106 66.7 % (4 / 6) 50.0 % (2 / 4)
canonicalize_path CBC 550691 100.0 % (3 / 3)
canonicalize_path_enc CBC 550760 100.0 % (84 / 84) 96.0 % (48 / 50)
trim_trailing_separator CBC 603395 100.0 % (7 / 7) 100.0 % (6 / 6)
append_subdir_to_path CBC 2547457 100.0 % (5 / 5) 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1