LCOV - differential code coverage report
Current view: top level - src/bin/pg_ctl - pg_ctl.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DUB DCB
Current: Differential Code Coverage 16@8cea358b128 vs 17@8cea358b128 Lines: 67.8 % 680 461 51 168 61 400 72 61
Current Date: 2024-04-14 14:21:10 Functions: 93.3 % 30 28 1 1 9 19
Baseline: 16@8cea358b128 Branches: 59.8 % 368 220 15 133 33 187
Baseline Date: 2024-04-14 14:21:09 Line coverage date bins:
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed [..60] days: 5.6 % 18 1 17 1
(240..) days: 69.5 % 662 460 34 168 60 400
Function coverage date bins:
(240..) days: 93.3 % 30 28 1 1 9 19
Branch coverage date bins:
(240..) days: 59.8 % 368 220 15 133 33 187

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
adjust_data_dir CBC 1448 40.7 % (11 / 27) 27.8 % (5 / 18)
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_kill GNC 6 60.0 % (3 / 5) 50.0 % (1 / 2)
do_logrotate GNC 1 44.0 % (11 / 25) 41.7 % (5 / 12)
do_promote GNC 41 61.1 % (22 / 36) 61.1 % (11 / 18)
do_reload GNC 110 43.8 % (7 / 16) 50.0 % (3 / 6)
do_restart GNC 97 53.3 % (16 / 30) 42.9 % (6 / 14)
do_start CBC 654 82.9 % (29 / 35) 72.2 % (13 / 18)
do_status CBC 3 77.8 % (14 / 18) 58.3 % (7 / 12)
do_stop GNC 632 52.0 % (13 / 25) 50.0 % (6 / 12)
find_other_exec_or_die CBC 557 40.0 % (4 / 10) 16.7 % (1 / 6)
free_readfile CBC 1844 100.0 % (8 / 8) 100.0 % (4 / 4)
get_control_dbstate CBC 143 75.0 % (6 / 8) 50.0 % (1 / 2)
get_pgpid GNC 3715 59.1 % (13 / 22) 45.5 % (10 / 22)
main GNC 1496 72.7 % (125 / 172) 72.7 % (64 / 88)
postmaster_is_alive CBC 95 62.5 % (5 / 8) 50.0 % (3 / 6)
print_msg CBC 5776 100.0 % (5 / 5) 100.0 % (2 / 2)
read_post_opts CBC 653 78.9 % (15 / 19) 66.7 % (8 / 12)
readfile CBC 1844 77.5 % (31 / 40) 80.0 % (16 / 20)
set_mode CBC 532 78.6 % (11 / 14) 66.7 % (8 / 12)
set_sig CBC 6 42.9 % (9 / 21) 37.5 % (6 / 16)
start_postmaster GNC 653 70.6 % (12 / 17) 75.0 % (6 / 8)
trap_sigint_during_startup UNC 0 0.0 % (0 / 7) 0.0 % (0 / 4)
unlimit_core_size UBC 0 0.0 % (0 / 8) 0.0 % (0 / 6)
wait_for_postmaster_promote CBC 37 76.9 % (10 / 13) 70.0 % (7 / 10)
wait_for_postmaster_start CBC 653 94.7 % (18 / 19) 88.9 % (16 / 18)
wait_for_postmaster_stop CBC 725 66.7 % (8 / 12) 60.0 % (6 / 10)
write_stderr CBC 28 100.0 % (5 / 5)

Generated by: LCOV version 2.1-beta2-3-g6141622