LCOV - code coverage report
Current view: top level - src/backend/utils/misc - guc.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 83.0 % 2247 1864
Test Date: 2026-07-26 09:15:38 Functions: 97.0 % 99 96
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 67.5 % 1652 1115

Function Name Sort by function name Hit count Sort by function hit count
AlterSystemSetConfigFile 122
AtEOXact_GUC 972399
AtStart_GUC 657058
BeginReportingGUCOptions 14985
DefineCustomBoolVariable 5018
DefineCustomEnumVariable 2420
DefineCustomIntVariable 73
DefineCustomRealVariable 28
DefineCustomStringVariable 4920
EstimateGUCStateSpace 681
GUCArrayAdd 792
GUCArrayDelete 20
GUCArrayReset 1
GUC_check_errcode 33
GetConfigOption 13892
GetConfigOptionByName 7093
GetConfigOptionFlags 33
GetConfigOptionResetString 0
InitializeGUCOptions 1300
InitializeGUCOptionsFromEnvironment 2171
InitializeOneGUCOption 620105
MarkGUCPrefixReserved 2532
NewGUCNestLevel 317238
ParseLongOption 35237
ProcessConfigFileInternal 3419
ProcessGUCArray 4538
RemoveGUCFromLists 50029
ReportChangedGUCOptions 462911
ReportGUCOption 375577
ResetAllOptions 11
RestoreGUCState 2018
RestrictSearchPath 248447
SelectConfigFiles 1272
SerializeGUCState 681
SetConfigOption 184588
ShowGUCOption 1193284
TransformGUCArray 4616
add_guc_variable 12457
add_placeholder_variable 76
assignable_custom_variable_name 130
build_guc_variables 1300
call_bool_check_hook 315153
call_enum_check_hook 151512
call_int_check_hook 277655
call_real_check_hook 47327
call_string_check_hook 540272
can_skip_gucvar 192035
check_GUC_name_for_parameter_acl 34
config_enum_get_options 83122
config_enum_lookup_by_name 87207
config_enum_lookup_by_value 269649
convert_GUC_name_for_parameter_acl 176
convert_int_from_base_unit 436
convert_real_from_base_unit 178
convert_to_base_unit 9230
define_custom_variable 12459
discard_stack_value 37311
do_serialize 70272
do_serialize_binary 82183
estimate_variable_size 42594
extra_field_used 257672
find_option 928751
free_placeholder 83
get_config_handle 78
get_config_unit_name 809799
get_explain_guc_options 8
get_guc_variables 1898
guc_free 1004154
guc_malloc 1056997
guc_name_compare 8677701
guc_name_hash 1511372
guc_name_match 928583
guc_realloc 0
guc_restore_error_context_callback 0
guc_strdup 895299
guc_var_compare 7331092
init_custom_variable 12459
parse_and_validate_value 711853
parse_int 71678
parse_real 6264
pg_timezone_abbrev_initialize 2142
push_old_value 373219
read_gucstate 216843
read_gucstate_binary 252140
reapply_stacked_values 78
replace_auto_config_value 92
serialize_variable 42594
set_config_option 625956
set_config_option_ext 72370
set_config_sourcefile 93259
set_config_with_handle 716658
set_extra_field 2422785
set_guc_source 1032981
set_stack_value 365659
set_string_field 1500986
string_field_used 1405123
valid_custom_variable_name 163
validate_option_array_item 814
write_auto_conf_file 92

Generated by: LCOV version 2.0-1