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-24 16:15:27 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 98
make_postgres 98
make_template0 98
setup_auth 98
setup_collation 98
setup_depend 98
setup_description 98
setup_privileges 98
setup_schema 98
vacuum_db 98
bootstrap_template1 100
choose_dsm_implementation 100
encodingid_to_string 100
locale_date_order 100
my_strftime 100
set_null_conf 100
setup_config 100
test_config_settings 100
create_xlog_or_symlink 104
create_data_directory 106
find_matching_ts_config 106
initialize_data_directory 106
setup_signals 106
setup_text_search 106
set_info_version 116
setlocales 116
setup_data_file_paths 116
setup_locale_encoding 116
check_need_password 118
get_id 118
setup_bin_paths 118
cleanup_directories_atexit 126
setup_pgdata 126
main 174
popen_check 198
write_version_file 198
pretty_wal_size 200
check_locale_encoding 220
check_authmethod_unspecified 236
check_authmethod_valid 236
test_specific_config_settings 244
escape_quotes_bki 320
writefile 400
setup_run_file 490
check_ok 508
check_locale_name 696
restore_global_locale 796
save_global_locale 796
readfile 890
check_input 1160
set_input 1160
escape_quotes 1214
replace_token 1500
guc_value_requires_quotes 1826
replace_guc_value 1826

Generated by: LCOV version 1.14