LCOV - code coverage report
Current view: top level - src/bin/initdb - initdb.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 1012 1238 81.7 %
Date: 2025-01-30 14:15:28 Functions: 62 64 96.9 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
get_su_pwd 0
trapsig 0
usage 2
warn_on_mount_point 2
check_icu_locale_encoding 12
icu_language_tag 14
icu_validate_locale 14
add_stringlist_item 20
get_encoding_id 32
load_plpgsql 90
make_postgres 90
make_template0 90
setup_auth 90
setup_collation 90
setup_depend 90
setup_description 90
setup_privileges 90
setup_schema 90
vacuum_db 90
bootstrap_template1 92
choose_dsm_implementation 92
encodingid_to_string 92
locale_date_order 92
my_strftime 92
set_null_conf 92
setup_config 92
test_config_settings 92
create_xlog_or_symlink 96
create_data_directory 98
find_matching_ts_config 98
initialize_data_directory 98
setup_signals 98
setup_text_search 98
set_info_version 108
setlocales 108
setup_data_file_paths 108
setup_locale_encoding 108
check_need_password 110
get_id 110
setup_bin_paths 110
cleanup_directories_atexit 116
setup_pgdata 116
main 150
popen_check 182
write_version_file 182
pretty_wal_size 184
check_locale_encoding 204
check_authmethod_unspecified 220
check_authmethod_valid 220
test_specific_config_settings 228
escape_quotes_bki 294
writefile 368
setup_run_file 450
check_ok 466
check_locale_name 648
restore_global_locale 740
save_global_locale 740
readfile 818
check_input 1080
set_input 1080
escape_quotes 1108
replace_token 1380
guc_value_requires_quotes 1676
replace_guc_value 1676

Generated by: LCOV version 1.14