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

Generated by: LCOV version 2.4-beta