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: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 68.9 % 687 473 2 212 5 468 2 5
Current Date: 2026-05-29 21:51:00 -0400 Functions: 93.3 % 30 28 1 1 5 23 1
Baseline: lcov-20260530-034037-baseline Branches: 60.6 % 371 225 146 225
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 1 1 1
(30,360] days: 66.7 % 6 4 2 4
(360..) days: 68.8 % 680 468 212 468
Function coverage date bins:
(7,30] days: 100.0 % 1 1 1
(360..) days: 93.1 % 29 27 1 1 4 23
Branch coverage date bins:
(360..) days: 60.6 % 371 225 146 225

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 1977 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 CBC 10 60.0 % (3 / 5) 50.0 % (1 / 2)
do_logrotate CBC 1 44.0 % (11 / 25) 41.7 % (5 / 12)
do_promote CBC 51 61.1 % (22 / 36) 61.1 % (11 / 18)
do_reload CBC 142 43.8 % (7 / 16) 50.0 % (3 / 6)
do_restart CBC 148 53.3 % (16 / 30) 42.9 % (6 / 14)
do_start CBC 915 84.6 % (33 / 39) 73.7 % (14 / 19)
do_status CBC 3 77.8 % (14 / 18) 58.3 % (7 / 12)
do_stop CBC 854 52.0 % (13 / 25) 50.0 % (6 / 12)
find_other_exec_or_die CBC 767 40.0 % (4 / 10) 16.7 % (1 / 6)
free_readfile CBC 2966 100.0 % (8 / 8) 100.0 % (4 / 4)
get_control_dbstate CBC 199 75.0 % (6 / 8) 50.0 % (1 / 2)
get_pgpid CBC 6578 59.1 % (13 / 22) 45.5 % (10 / 22)
main CBC 2066 75.0 % (129 / 172) 73.9 % (65 / 88)
postmaster_is_alive CBC 134 62.5 % (5 / 8) 50.0 % (3 / 6)
print_msg CBC 7915 100.0 % (5 / 5) 100.0 % (2 / 2)
read_post_opts CBC 914 78.9 % (15 / 19) 66.7 % (8 / 12)
readfile GNC 2966 77.5 % (31 / 40) 80.0 % (16 / 20)
set_mode CBC 734 78.6 % (11 / 14) 66.7 % (8 / 12)
set_sig CBC 10 47.6 % (10 / 21) 43.8 % (7 / 16)
start_postmaster CBC 914 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 GNC 47 76.9 % (10 / 13) 70.0 % (7 / 10)
wait_for_postmaster_start GNC 914 95.5 % (21 / 22) 90.0 % (18 / 20)
wait_for_postmaster_stop GNC 986 66.7 % (8 / 12) 60.0 % (6 / 10)
write_stderr GNC 80 100.0 % (5 / 5)

Generated by: LCOV version 2.5.0-beta