LCOV - code coverage report
Current view: top level - src/bin/initdb - initdb.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1018 1244 81.8 %
Date: 2025-08-10 08:18:10 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 32
get_encoding_id 32
load_plpgsql 100
make_postgres 100
make_template0 100
setup_auth 100
setup_collation 100
setup_depend 100
setup_description 100
setup_privileges 100
setup_schema 100
vacuum_db 100
bootstrap_template1 102
choose_dsm_implementation 102
encodingid_to_string 102
locale_date_order 102
my_strftime 102
set_null_conf 102
setup_config 102
test_config_settings 102
create_xlog_or_symlink 106
create_data_directory 108
find_matching_ts_config 108
initialize_data_directory 108
setup_signals 108
setup_text_search 108
set_info_version 118
setlocales 118
setup_data_file_paths 118
setup_locale_encoding 118
check_need_password 120
get_id 120
setup_bin_paths 120
cleanup_directories_atexit 128
setup_pgdata 128
main 178
popen_check 202
write_version_file 202
pretty_wal_size 204
check_locale_encoding 224
check_authmethod_unspecified 240
check_authmethod_valid 240
test_specific_config_settings 248
escape_quotes_bki 324
writefile 408
setup_run_file 500
check_ok 518
check_locale_name 708
restore_global_locale 810
save_global_locale 810
readfile 908
escape_quotes 1174
check_input 1180
set_input 1180
replace_token 1530
guc_value_requires_quotes 1862
replace_guc_value 1862

Generated by: LCOV version 1.16