LCOV - differential code coverage report
Current view: top level - src/bin/pg_upgrade - exec.c (source / functions) Coverage Total Hit UBC GBC GNC CBC DUB DCB
Current: 1a1248818fb8b8b0353c292c632d6a6af77e8209 vs 8e82d6610e7280d7870c0c36ff1c797e3cfb3e09 Lines: 81.9 % 116 95 21 2 4 89 4 8
Current Date: 2026-10-12 11:56:10 +0200 Functions: 100.0 % 8 8 3 5
Baseline: lcov-20261012-baseline Branches: 53.7 % 54 29 25 3 26
Baseline Date: 2026-10-12 10:36:06 +0200 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: 81.2 % 112 91 21 2 89
Function coverage date bins:
(360..) days: 100.0 % 8 8 3 5
Branch coverage date bins:
(360..) days: 53.7 % 54 29 25 3 26

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
check_bin_dir GNC 45 94.4 % (17 / 18) 83.3 % (5 / 6)
check_data_dir GNC 44 100.0 % (13 / 13)
check_exec CBC 308 78.6 % (11 / 14) 62.5 % (5 / 8)
check_single_dir CBC 396 75.0 % (6 / 8) 66.7 % (4 / 6)
exec_prog CBC 334 68.8 % (22 / 32) 38.9 % (7 / 18)
get_bin_version GNC 44 80.0 % (12 / 15) 50.0 % (4 / 8)
pid_lock_file_exists CBC 44 87.5 % (7 / 8) 50.0 % (3 / 6)
verify_directories CBC 23 87.5 % (7 / 8) 50.0 % (1 / 2)

Generated by: LCOV version 2.0-1