LCOV - code coverage report
Current view: top level - src/bin/pg_ctl - pg_ctl.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 68.9 % 688 474
Test Date: 2026-08-15 16:15:43 Functions: 93.3 % 30 28
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 60.6 % 371 225

Function Name Sort by function name Hit count Sort by function hit count
adjust_data_dir 1999
do_advice 1
do_help 1
do_init 1
do_kill 10
do_logrotate 1
do_promote 53
do_reload 132
do_restart 150
do_start 931
do_status 3
do_stop 868
find_other_exec_or_die 781
free_readfile 3074
get_control_dbstate 192
get_pgpid 6323
main 2092
postmaster_is_alive 139
print_msg 7930
read_post_opts 930
readfile 3074
set_mode 745
set_sig 10
start_postmaster 930
trap_sigint_during_startup 0
unlimit_core_size 0
wait_for_postmaster_promote 49
wait_for_postmaster_start 930
wait_for_postmaster_stop 1005
write_stderr 71

Generated by: LCOV version 2.0-1