LCOV - differential code coverage report
Current view: top level - src/bin/pg_ctl - pg_ctl.c (source / functions) Coverage Total Hit UBC CBC
Current: c70b6db34ffeab48beef1fb4ce61bcad3772b8dd vs 06473f5a344df8c9594ead90a609b86f6724cff8 Lines: 68.3 % 687 469 218 469
Current Date: 2025-09-06 07:49:51 +0900 Functions: 93.3 % 30 28 2 28
Baseline: lcov-20250906-005545-baseline Branches: 60.1 % 371 223 148 223
Baseline Date: 2025-09-05 08:21:35 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 1 1 1
(360..) days: 68.2 % 686 468 218 468
Function coverage date bins:
(360..) days: 93.3 % 30 28 2 28
Branch coverage date bins:
(360..) days: 60.1 % 371 223 148 223

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
trap_sigint_during_startup UBC 0 0.0 % (0 / 7) 0.0 % (0 / 4)
unlimit_core_size UBC 0 0.0 % (0 / 8) 0.0 % (0 / 6)
do_advice CBC 1 100.0 % (3 / 3)
do_help CBC 1 100.0 % (37 / 37)
do_init CBC 1 66.7 % (10 / 15) 50.0 % (5 / 10)
do_logrotate CBC 1 44.0 % (11 / 25) 41.7 % (5 / 12)
do_status CBC 3 77.8 % (14 / 18) 58.3 % (7 / 12)
do_kill CBC 9 60.0 % (3 / 5) 50.0 % (1 / 2)
set_sig CBC 9 47.6 % (10 / 21) 43.8 % (7 / 16)
wait_for_postmaster_promote CBC 37 76.9 % (10 / 13) 70.0 % (7 / 10)
do_promote CBC 41 61.1 % (22 / 36) 61.1 % (11 / 18)
write_stderr CBC 43 100.0 % (5 / 5)
postmaster_is_alive CBC 95 62.5 % (5 / 8) 50.0 % (3 / 6)
do_restart CBC 100 53.3 % (16 / 30) 42.9 % (6 / 14)
do_reload CBC 108 43.8 % (7 / 16) 50.0 % (3 / 6)
get_control_dbstate CBC 146 75.0 % (6 / 8) 50.0 % (1 / 2)
set_mode CBC 604 78.6 % (11 / 14) 66.7 % (8 / 12)
find_other_exec_or_die CBC 634 40.0 % (4 / 10) 16.7 % (1 / 6)
do_stop CBC 709 52.0 % (13 / 25) 50.0 % (6 / 12)
read_post_opts CBC 733 78.9 % (15 / 19) 66.7 % (8 / 12)
start_postmaster CBC 733 70.6 % (12 / 17) 75.0 % (6 / 8)
wait_for_postmaster_start CBC 733 95.5 % (21 / 22) 85.0 % (17 / 20)
do_start CBC 734 74.4 % (29 / 39) 68.4 % (13 / 19)
wait_for_postmaster_stop CBC 802 66.7 % (8 / 12) 60.0 % (6 / 10)
adjust_data_dir CBC 1606 40.7 % (11 / 27) 27.8 % (5 / 18)
main CBC 1687 75.0 % (129 / 172) 73.9 % (65 / 88)
free_readfile CBC 2287 100.0 % (8 / 8) 100.0 % (4 / 4)
readfile CBC 2287 77.5 % (31 / 40) 80.0 % (16 / 20)
get_pgpid CBC 5334 59.1 % (13 / 22) 45.5 % (10 / 22)
print_msg CBC 6393 100.0 % (5 / 5) 100.0 % (2 / 2)

Generated by: LCOV version 2.4-beta