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-26 21:16:08 Functions: 96.9 % 64 62
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 65.5 % 753 493

Function Name Sort by function name Hit count Sort by function hit count
add_stringlist_item 16
bootstrap_template1 62
check_authmethod_unspecified 142
check_authmethod_valid 142
check_icu_locale_encoding 7
check_input 770
check_locale_encoding 134
check_locale_name 420
check_need_password 71
check_ok 314
choose_dsm_implementation 62
cleanup_directories_atexit 75
create_data_directory 65
create_xlog_or_symlink 64
encodingid_to_string 62
escape_quotes 719
escape_quotes_bki 197
find_matching_ts_config 65
get_encoding_id 17
get_id 71
get_su_pwd 0
guc_value_requires_quotes 1191
icu_language_tag 8
icu_validate_locale 8
initialize_data_directory 65
load_plpgsql 61
locale_date_order 62
main 105
make_postgres 61
make_template0 61
my_strftime 62
popen_check 123
pretty_wal_size 124
readfile 615
replace_guc_value 1191
replace_token 806
restore_global_locale 482
save_global_locale 482
set_info_version 70
set_input 770
set_null_conf 62
setlocales 70
setup_auth 61
setup_bin_paths 71
setup_collation 61
setup_config 62
setup_data_file_paths 70
setup_depend 61
setup_description 61
setup_locale_encoding 70
setup_pgdata 75
setup_privileges 61
setup_run_file 305
setup_schema 61
setup_signals 65
setup_text_search 65
test_config_settings 62
test_specific_config_settings 146
trapsig 0
usage 1
vacuum_db 61
warn_on_mount_point 1
write_version_file 123
writefile 310

Generated by: LCOV version 2.0-1