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-07-09 01:17:29 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 34
load_plpgsql 102
make_postgres 102
make_template0 102
setup_auth 102
setup_collation 102
setup_depend 102
setup_description 102
setup_privileges 102
setup_schema 102
vacuum_db 102
bootstrap_template1 104
choose_dsm_implementation 104
encodingid_to_string 104
locale_date_order 104
my_strftime 104
set_null_conf 104
setup_config 104
test_config_settings 104
create_xlog_or_symlink 108
create_data_directory 110
find_matching_ts_config 110
initialize_data_directory 110
setup_signals 110
setup_text_search 110
set_info_version 120
setlocales 120
setup_data_file_paths 120
setup_locale_encoding 120
check_need_password 122
get_id 122
setup_bin_paths 122
cleanup_directories_atexit 130
setup_pgdata 130
main 178
popen_check 206
write_version_file 206
pretty_wal_size 208
check_locale_encoding 228
check_authmethod_unspecified 244
check_authmethod_valid 244
test_specific_config_settings 252
escape_quotes_bki 332
writefile 416
setup_run_file 510
check_ok 528
check_locale_name 720
restore_global_locale 824
save_global_locale 824
readfile 926
check_input 1200
set_input 1200
escape_quotes 1266
replace_token 1560
guc_value_requires_quotes 1900
replace_guc_value 1900

Generated by: LCOV version 1.16