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-05 07:15:54 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 56
make_postgres 56
make_template0 56
setup_auth 56
setup_collation 56
setup_depend 56
setup_description 56
setup_privileges 56
setup_schema 56
vacuum_db 56
bootstrap_template1 57
choose_dsm_implementation 57
encodingid_to_string 57
locale_date_order 57
my_strftime 57
set_null_conf 57
setup_config 57
test_config_settings 57
create_xlog_or_symlink 59
create_data_directory 60
find_matching_ts_config 60
initialize_data_directory 60
setup_signals 60
setup_text_search 60
set_info_version 65
setlocales 65
setup_data_file_paths 65
setup_locale_encoding 65
check_need_password 66
get_id 66
setup_bin_paths 66
cleanup_directories_atexit 70
setup_pgdata 70
main 100
popen_check 113
write_version_file 113
pretty_wal_size 114
check_locale_encoding 124
check_authmethod_unspecified 132
check_authmethod_valid 132
test_specific_config_settings 136
escape_quotes_bki 180
setup_run_file 280
writefile 285
check_ok 289
check_locale_name 390
restore_global_locale 447
save_global_locale 447
readfile 565
escape_quotes 659
check_input 715
set_input 715
replace_token 741
guc_value_requires_quotes 1096
replace_guc_value 1096

Generated by: LCOV version 2.0-1