LCOV - code coverage report
Current view: top level - src/bin/initdb - initdb.c (source / functions) Coverage Total Hit
Test: Code coverage Lines: 59.4 % 1400 831
Test Date: 2026-01-26 10:56:24 Functions: 85.9 % 64 55
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 38.4 % 731 281

Function Name Sort by function name Hit count Sort by function hit count
add_stringlist_item 0
check_icu_locale_encoding 0
get_encoding_id 0
get_su_pwd 0
icu_language_tag 0
icu_validate_locale 0
trapsig 0
usage 0
warn_on_mount_point 0
bootstrap_template1 1
check_need_password 1
choose_dsm_implementation 1
cleanup_directories_atexit 1
create_data_directory 1
create_xlog_or_symlink 1
encodingid_to_string 1
find_matching_ts_config 1
get_id 1
initialize_data_directory 1
load_plpgsql 1
locale_date_order 1
main 1
make_postgres 1
make_template0 1
my_strftime 1
set_info_version 1
set_null_conf 1
setlocales 1
setup_auth 1
setup_bin_paths 1
setup_collation 1
setup_config 1
setup_data_file_paths 1
setup_depend 1
setup_description 1
setup_locale_encoding 1
setup_pgdata 1
setup_privileges 1
setup_schema 1
setup_signals 1
setup_text_search 1
test_config_settings 1
vacuum_db 1
check_authmethod_unspecified 2
check_authmethod_valid 2
check_locale_encoding 2
popen_check 2
pretty_wal_size 2
test_specific_config_settings 2
write_version_file 2
escape_quotes_bki 3
writefile 4
check_ok 5
setup_run_file 5
check_locale_name 6
restore_global_locale 7
save_global_locale 7
readfile 9
check_input 10
set_input 10
escape_quotes 13
replace_token 14
guc_value_requires_quotes 16
replace_guc_value 16

Generated by: LCOV version 2.3.2-1