LCOV - code coverage report
Current view: top level - src/bin/initdb - initdb.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 81.9 % 1248 1022
Test Date: 2026-09-26 05:15:53 Functions: 96.9 % 64 62
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 65.1 % 753 490

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 59
make_postgres 59
make_template0 59
setup_auth 59
setup_collation 59
setup_depend 59
setup_description 59
setup_privileges 59
setup_schema 59
vacuum_db 59
bootstrap_template1 60
choose_dsm_implementation 60
encodingid_to_string 60
locale_date_order 60
my_strftime 60
set_null_conf 60
setup_config 60
test_config_settings 60
create_xlog_or_symlink 62
create_data_directory 63
find_matching_ts_config 63
initialize_data_directory 63
setup_signals 63
setup_text_search 63
set_info_version 68
setlocales 68
setup_data_file_paths 68
setup_locale_encoding 68
check_need_password 69
get_id 69
setup_bin_paths 69
cleanup_directories_atexit 73
setup_pgdata 73
main 103
popen_check 119
write_version_file 119
pretty_wal_size 120
check_locale_encoding 130
check_authmethod_unspecified 138
check_authmethod_valid 138
test_specific_config_settings 142
escape_quotes_bki 189
setup_run_file 295
writefile 300
check_ok 304
check_locale_name 408
restore_global_locale 468
save_global_locale 468
readfile 595
escape_quotes 695
check_input 748
set_input 748
replace_token 780
guc_value_requires_quotes 1153
replace_guc_value 1153

Generated by: LCOV version 2.0-1