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-25 14:16:11 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 2147
do_advice 1
do_help 1
do_init 1
do_kill 12
do_logrotate 1
do_promote 57
do_reload 140
do_restart 158
do_start 1001
do_status 3
do_stop 932
find_other_exec_or_die 843
free_readfile 3263
get_control_dbstate 209
get_pgpid 6919
main 2248
postmaster_is_alive 147
print_msg 8528
read_post_opts 1000
readfile 3263
set_mode 805
set_sig 12
start_postmaster 1000
trap_sigint_during_startup 0
unlimit_core_size 0
wait_for_postmaster_promote 53
wait_for_postmaster_start 1000
wait_for_postmaster_stop 1077
write_stderr 75

Generated by: LCOV version 2.0-1