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

Generated by: LCOV version 2.0-1