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 % 2255 1872
Test Date: 2026-11-07 18:15:51 Functions: 97.0 % 99 96
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 67.4 % 1660 1119

Function Name Sort by function name Hit count Sort by function hit count
AlterSystemSetConfigFile 132
AtEOXact_GUC 957243
AtStart_GUC 644037
BeginReportingGUCOptions 15917
DefineCustomBoolVariable 5019
DefineCustomEnumVariable 2420
DefineCustomIntVariable 90
DefineCustomRealVariable 28
DefineCustomStringVariable 4933
EstimateGUCStateSpace 674
GUCArrayAdd 810
GUCArrayDelete 20
GUCArrayReset 1
GUC_check_errcode 33
GetConfigOption 15081
GetConfigOptionByName 11575
GetConfigOptionFlags 33
GetConfigOptionResetString 0
InitializeGUCOptions 1380
InitializeGUCOptionsFromEnvironment 2350
InitializeOneGUCOption 654885
MarkGUCPrefixReserved 2551
NewGUCNestLevel 315042
ParseLongOption 36053
ProcessConfigFileInternal 3678
ProcessGUCArray 4613
RemoveGUCFromLists 50468
ReportChangedGUCOptions 461102
ReportGUCOption 399101
ResetAllOptions 11
RestoreGUCState 2034
RestrictSearchPath 241003
SelectConfigFiles 1352
SerializeGUCState 674
SetConfigOption 193751
ShowGUCOption 1278303
TransformGUCArray 4691
add_guc_variable 12496
add_placeholder_variable 94
assignable_custom_variable_name 148
build_guc_variables 1380
call_bool_check_hook 326611
call_enum_check_hook 155749
call_int_check_hook 293587
call_real_check_hook 49970
call_string_check_hook 550247
can_skip_gucvar 192195
check_GUC_name_for_parameter_acl 34
config_enum_get_options 88952
config_enum_lookup_by_name 87952
config_enum_lookup_by_value 287799
convert_GUC_name_for_parameter_acl 176
convert_int_from_base_unit 454
convert_real_from_base_unit 178
convert_to_base_unit 9981
define_custom_variable 12490
discard_stack_value 37042
do_serialize 69768
do_serialize_binary 81579
estimate_variable_size 42225
extra_field_used 266094
find_option 956316
free_placeholder 93
get_config_handle 78
get_config_unit_name 866824
get_explain_guc_options 8
get_guc_variables 2032
guc_free 1031658
guc_malloc 1094109
guc_name_compare 9232286
guc_name_hash 1573327
guc_name_match 956119
guc_realloc 0
guc_restore_error_context_callback 0
guc_strdup 927019
guc_var_compare 7815708
init_custom_variable 12490
parse_and_validate_value 721322
parse_int 75784
parse_real 6132
pg_timezone_abbrev_initialize 2321
push_old_value 366137
read_gucstate 218898
read_gucstate_binary 254509
reapply_stacked_values 88
replace_auto_config_value 98
serialize_variable 42225
set_config_option 634032
set_config_option_ext 73065
set_config_sourcefile 99058
set_config_with_handle 726136
set_extra_field 2418536
set_guc_source 1034403
set_stack_value 358539
set_string_field 1485772
string_field_used 1401875
valid_custom_variable_name 189
validate_option_array_item 832
write_auto_conf_file 98

Generated by: LCOV version 2.0-1