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-11-06 16:15:55 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
add_stringlist_item 16
bootstrap_template1 61
check_authmethod_unspecified 140
check_authmethod_valid 140
check_icu_locale_encoding 6
check_input 759
check_locale_encoding 132
check_locale_name 414
check_need_password 70
check_ok 309
choose_dsm_implementation 61
cleanup_directories_atexit 74
create_data_directory 64
create_xlog_or_symlink 63
encodingid_to_string 61
escape_quotes 707
escape_quotes_bki 192
find_matching_ts_config 64
get_encoding_id 16
get_id 70
get_su_pwd 0
guc_value_requires_quotes 1172
icu_language_tag 7
icu_validate_locale 7
initialize_data_directory 64
load_plpgsql 60
locale_date_order 61
main 103
make_postgres 60
make_template0 60
my_strftime 61
popen_check 121
pretty_wal_size 122
readfile 605
replace_guc_value 1172
replace_token 793
restore_global_locale 475
save_global_locale 475
set_info_version 69
set_input 759
set_null_conf 61
setlocales 69
setup_auth 60
setup_bin_paths 70
setup_collation 60
setup_config 61
setup_data_file_paths 69
setup_depend 60
setup_description 60
setup_locale_encoding 69
setup_pgdata 74
setup_privileges 60
setup_run_file 300
setup_schema 60
setup_signals 64
setup_text_search 64
test_config_settings 61
test_specific_config_settings 144
trapsig 0
usage 1
vacuum_db 60
warn_on_mount_point 1
write_version_file 121
writefile 305

Generated by: LCOV version 2.0-1