LCOV - code coverage report
Current view: top level - src/bin/pg_ctl - pg_ctl.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 69.1 % 685 473
Test Date: 2026-11-05 01:15:59 Functions: 93.3 % 30 28
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 61.2 % 369 226

Function Name Sort by function name Hit count Sort by function hit count
adjust_data_dir 2107
do_advice 1
do_help 1
do_init 1
do_kill 12
do_logrotate 1
do_promote 57
do_reload 139
do_restart 158
do_start 982
do_status 3
do_stop 912
find_other_exec_or_die 824
free_readfile 3244
get_control_dbstate 212
get_pgpid 6735
main 2208
postmaster_is_alive 147
print_msg 8356
read_post_opts 981
readfile 3244
set_mode 786
set_sig 12
start_postmaster 981
trap_sigint_during_startup 0
unlimit_core_size 0
wait_for_postmaster_promote 53
wait_for_postmaster_start 981
wait_for_postmaster_stop 1057
write_stderr 75

Generated by: LCOV version 2.0-1