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-09-21 08:15:46 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 2065
do_advice 1
do_help 1
do_init 1
do_kill 11
do_logrotate 1
do_promote 56
do_reload 133
do_restart 151
do_start 962
do_status 3
do_stop 898
find_other_exec_or_die 811
free_readfile 3364
get_control_dbstate 215
get_pgpid 6687
main 2166
postmaster_is_alive 140
print_msg 8228
read_post_opts 961
readfile 3364
set_mode 773
set_sig 11
start_postmaster 961
trap_sigint_during_startup 0
unlimit_core_size 0
wait_for_postmaster_promote 52
wait_for_postmaster_start 961
wait_for_postmaster_stop 1036
write_stderr 75

Generated by: LCOV version 2.0-1