LCOV - code coverage report
Current view: top level - src/backend/utils/misc - guc.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 83.1 % 2255 1873
Test Date: 2026-09-27 22:15:46 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 131
AtEOXact_GUC 969747
AtStart_GUC 652337
BeginReportingGUCOptions 15600
DefineCustomBoolVariable 5013
DefineCustomEnumVariable 2417
DefineCustomIntVariable 84
DefineCustomRealVariable 28
DefineCustomStringVariable 4918
EstimateGUCStateSpace 669
GUCArrayAdd 804
GUCArrayDelete 20
GUCArrayReset 1
GUC_check_errcode 33
GetConfigOption 14587
GetConfigOptionByName 11310
GetConfigOptionFlags 33
GetConfigOptionResetString 0
InitializeGUCOptions 1354
InitializeGUCOptionsFromEnvironment 2254
InitializeOneGUCOption 644047
MarkGUCPrefixReserved 2542
NewGUCNestLevel 319319
ParseLongOption 35494
ProcessConfigFileInternal 3556
ProcessGUCArray 4545
RemoveGUCFromLists 49452
ReportChangedGUCOptions 457471
ReportGUCOption 392006
ResetAllOptions 11
RestoreGUCState 1994
RestrictSearchPath 245804
SelectConfigFiles 1326
SerializeGUCState 669
SetConfigOption 191865
ShowGUCOption 1270409
TransformGUCArray 4623
add_guc_variable 12458
add_placeholder_variable 78
assignable_custom_variable_name 132
build_guc_variables 1354
call_bool_check_hook 322757
call_enum_check_hook 153734
call_int_check_hook 288154
call_real_check_hook 49040
call_string_check_hook 548885
can_skip_gucvar 189390
check_GUC_name_for_parameter_acl 34
config_enum_get_options 88688
config_enum_lookup_by_name 87181
config_enum_lookup_by_value 286577
convert_GUC_name_for_parameter_acl 176
convert_int_from_base_unit 444
convert_real_from_base_unit 178
convert_to_base_unit 9560
define_custom_variable 12460
discard_stack_value 36590
do_serialize 69219
do_serialize_binary 80927
estimate_variable_size 41901
extra_field_used 261270
find_option 944626
free_placeholder 85
get_config_handle 78
get_config_unit_name 866280
get_explain_guc_options 8
get_guc_variables 2026
guc_free 1017481
guc_malloc 1079483
guc_name_compare 9278985
guc_name_hash 1551769
guc_name_match 944456
guc_realloc 0
guc_restore_error_context_callback 0
guc_strdup 915252
guc_var_compare 7890823
init_custom_variable 12460
parse_and_validate_value 718556
parse_int 74486
parse_real 6035
pg_timezone_abbrev_initialize 2225
push_old_value 370140
read_gucstate 214710
read_gucstate_binary 249599
reapply_stacked_values 80
replace_auto_config_value 97
serialize_variable 41901
set_config_option 632902
set_config_option_ext 71661
set_config_sourcefile 95260
set_config_with_handle 723270
set_extra_field 2427344
set_guc_source 1036776
set_stack_value 362571
set_string_field 1504172
string_field_used 1412045
valid_custom_variable_name 166
validate_option_array_item 826
write_auto_conf_file 97

Generated by: LCOV version 2.0-1