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-09-05 08:15:53 Functions: 93.3 % 30 28
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 60.9 % 371 226

Function Name Sort by function name Hit count Sort by function hit count
adjust_data_dir 2031
do_advice 1
do_help 1
do_init 1
do_kill 11
do_logrotate 1
do_promote 54
do_reload 133
do_restart 151
do_start 946
do_status 3
do_stop 882
find_other_exec_or_die 795
free_readfile 3120
get_control_dbstate 198
get_pgpid 6473
main 2132
postmaster_is_alive 140
print_msg 8072
read_post_opts 945
readfile 3120
set_mode 757
set_sig 11
start_postmaster 945
trap_sigint_during_startup 0
unlimit_core_size 0
wait_for_postmaster_promote 50
wait_for_postmaster_start 945
wait_for_postmaster_stop 1020
write_stderr 75

Generated by: LCOV version 2.0-1