LCOV - code coverage report
Current view: top level - src/bin/initdb - initdb.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 81.9 % 1248 1022
Test Date: 2026-11-26 20:16:09 Functions: 96.9 % 64 62
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 65.5 % 753 493

Function Name Sort by function name Hit count Sort by function hit count
get_su_pwd 0
trapsig 0
usage 1
warn_on_mount_point 1
check_icu_locale_encoding 7
icu_language_tag 8
icu_validate_locale 8
add_stringlist_item 16
get_encoding_id 17
load_plpgsql 61
make_postgres 61
make_template0 61
setup_auth 61
setup_collation 61
setup_depend 61
setup_description 61
setup_privileges 61
setup_schema 61
vacuum_db 61
bootstrap_template1 62
choose_dsm_implementation 62
encodingid_to_string 62
locale_date_order 62
my_strftime 62
set_null_conf 62
setup_config 62
test_config_settings 62
create_xlog_or_symlink 64
create_data_directory 65
find_matching_ts_config 65
initialize_data_directory 65
setup_signals 65
setup_text_search 65
set_info_version 70
setlocales 70
setup_data_file_paths 70
setup_locale_encoding 70
check_need_password 71
get_id 71
setup_bin_paths 71
cleanup_directories_atexit 75
setup_pgdata 75
main 105
popen_check 123
write_version_file 123
pretty_wal_size 124
check_locale_encoding 134
check_authmethod_unspecified 142
check_authmethod_valid 142
test_specific_config_settings 146
escape_quotes_bki 197
setup_run_file 305
writefile 310
check_ok 314
check_locale_name 420
restore_global_locale 482
save_global_locale 482
readfile 615
escape_quotes 719
check_input 770
set_input 770
replace_token 806
guc_value_requires_quotes 1191
replace_guc_value 1191

Generated by: LCOV version 2.0-1