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-08-17 22:16:01 Functions: 97.0 % 99 96
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 67.4 % 1652 1114

Function Name Sort by function name Hit count Sort by function hit count
AlterSystemSetConfigFile 123
AtEOXact_GUC 982940
AtStart_GUC 665852
BeginReportingGUCOptions 15274
DefineCustomBoolVariable 5012
DefineCustomEnumVariable 2417
DefineCustomIntVariable 73
DefineCustomRealVariable 28
DefineCustomStringVariable 4915
EstimateGUCStateSpace 681
GUCArrayAdd 792
GUCArrayDelete 20
GUCArrayReset 1
GUC_check_errcode 33
GetConfigOption 14144
GetConfigOptionByName 11186
GetConfigOptionFlags 33
GetConfigOptionResetString 0
InitializeGUCOptions 1311
InitializeGUCOptionsFromEnvironment 2176
InitializeOneGUCOption 626052
MarkGUCPrefixReserved 2530
NewGUCNestLevel 318995
ParseLongOption 35392
ProcessConfigFileInternal 3435
ProcessGUCArray 4556
RemoveGUCFromLists 49960
ReportChangedGUCOptions 465263
ReportGUCOption 386907
ResetAllOptions 11
RestoreGUCState 2015
RestrictSearchPath 254667
SelectConfigFiles 1283
SerializeGUCState 681
SetConfigOption 187116
ShowGUCOption 1230916
TransformGUCArray 4634
add_guc_variable 12443
add_placeholder_variable 76
assignable_custom_variable_name 130
build_guc_variables 1311
call_bool_check_hook 317674
call_enum_check_hook 152384
call_int_check_hook 279548
call_real_check_hook 47677
call_string_check_hook 550506
can_skip_gucvar 191890
check_GUC_name_for_parameter_acl 34
config_enum_get_options 85179
config_enum_lookup_by_name 87617
config_enum_lookup_by_value 276005
convert_GUC_name_for_parameter_acl 176
convert_int_from_base_unit 440
convert_real_from_base_unit 178
convert_to_base_unit 9218
define_custom_variable 12445
discard_stack_value 37457
do_serialize 70272
do_serialize_binary 82183
estimate_variable_size 42594
extra_field_used 260131
find_option 943564
free_placeholder 83
get_config_handle 78
get_config_unit_name 832006
get_explain_guc_options 8
get_guc_variables 1946
guc_free 1017292
guc_malloc 1073235
guc_name_compare 8942529
guc_name_hash 1532187
guc_name_match 943396
guc_realloc 0
guc_restore_error_context_callback 0
guc_strdup 910329
guc_var_compare 7578938
init_custom_variable 12445
parse_and_validate_value 721777
parse_int 72092
parse_real 6273
pg_timezone_abbrev_initialize 2147
push_old_value 380163
read_gucstate 216588
read_gucstate_binary 251838
reapply_stacked_values 78
replace_auto_config_value 93
serialize_variable 42594
set_config_option 635702
set_config_option_ext 72285
set_config_sourcefile 93372
set_config_with_handle 726619
set_extra_field 2463285
set_guc_source 1049759
set_stack_value 372602
set_string_field 1536135
string_field_used 1435078
valid_custom_variable_name 163
validate_option_array_item 814
write_auto_conf_file 93

Generated by: LCOV version 2.0-1