LCOV - code coverage report
Current view: top level - src/bin/initdb - initdb.c (source / functions) Coverage Total Hit
Test: PostgreSQL 19devel Lines: 81.8 % 1255 1027
Test Date: 2026-04-07 14:16:30 Functions: 96.9 % 64 62
Legend: Lines:     hit not hit

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 6
icu_language_tag 7
icu_validate_locale 7
add_stringlist_item 16
get_encoding_id 16
load_plpgsql 57
make_postgres 57
make_template0 57
setup_auth 57
setup_collation 57
setup_depend 57
setup_description 57
setup_privileges 57
setup_schema 57
vacuum_db 57
bootstrap_template1 58
choose_dsm_implementation 58
encodingid_to_string 58
locale_date_order 58
my_strftime 58
set_null_conf 58
setup_config 58
test_config_settings 58
create_xlog_or_symlink 60
create_data_directory 61
find_matching_ts_config 61
initialize_data_directory 61
setup_signals 61
setup_text_search 61
set_info_version 66
setlocales 66
setup_data_file_paths 66
setup_locale_encoding 66
check_need_password 67
get_id 67
setup_bin_paths 67
cleanup_directories_atexit 71
setup_pgdata 71
main 98
popen_check 115
write_version_file 115
pretty_wal_size 116
check_locale_encoding 126
check_authmethod_unspecified 134
check_authmethod_valid 134
test_specific_config_settings 138
escape_quotes_bki 183
setup_run_file 285
writefile 290
check_ok 294
check_locale_name 396
restore_global_locale 454
save_global_locale 454
readfile 575
escape_quotes 671
check_input 726
set_input 726
replace_token 754
guc_value_requires_quotes 1115
replace_guc_value 1115

Generated by: LCOV version 2.0-1