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-07-26 01:15:34 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 1973
do_advice 1
do_help 1
do_init 1
do_kill 10
do_logrotate 1
do_promote 52
do_reload 129
do_restart 150
do_start 920
do_status 3
do_stop 857
find_other_exec_or_die 770
free_readfile 3017
get_control_dbstate 190
get_pgpid 6355
main 2062
postmaster_is_alive 139
print_msg 7854
read_post_opts 919
readfile 3017
set_mode 734
set_sig 10
start_postmaster 919
trap_sigint_during_startup 0
unlimit_core_size 0
wait_for_postmaster_promote 48
wait_for_postmaster_start 919
wait_for_postmaster_stop 994
write_stderr 71

Generated by: LCOV version 2.0-1