LCOV - code coverage report
Current view: top level - src/bin/initdb - initdb.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 1016 1242 81.8 %
Date: 2025-04-02 20:15:43 Functions: 62 64 96.9 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
get_su_pwd 0
trapsig 0
usage 2
warn_on_mount_point 2
check_icu_locale_encoding 12
icu_language_tag 14
icu_validate_locale 14
add_stringlist_item 28
get_encoding_id 34
load_plpgsql 96
make_postgres 96
make_template0 96
setup_auth 96
setup_collation 96
setup_depend 96
setup_description 96
setup_privileges 96
setup_schema 96
vacuum_db 96
bootstrap_template1 98
choose_dsm_implementation 98
encodingid_to_string 98
locale_date_order 98
my_strftime 98
set_null_conf 98
setup_config 98
test_config_settings 98
create_xlog_or_symlink 102
create_data_directory 104
find_matching_ts_config 104
initialize_data_directory 104
setup_signals 104
setup_text_search 104
set_info_version 114
setlocales 114
setup_data_file_paths 114
setup_locale_encoding 114
check_need_password 116
get_id 116
setup_bin_paths 116
cleanup_directories_atexit 124
setup_pgdata 124
main 172
popen_check 194
write_version_file 194
pretty_wal_size 196
check_locale_encoding 216
check_authmethod_unspecified 232
check_authmethod_valid 232
test_specific_config_settings 240
escape_quotes_bki 314
writefile 392
setup_run_file 480
check_ok 498
check_locale_name 684
restore_global_locale 782
save_global_locale 782
readfile 872
check_input 1140
set_input 1140
escape_quotes 1188
replace_token 1470
guc_value_requires_quotes 1790
replace_guc_value 1790

Generated by: LCOV version 1.14