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-09-27 21:15:44 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
GetConfigOptionResetString 0
guc_realloc 0
guc_restore_error_context_callback 0
GUCArrayReset 1
get_explain_guc_options 8
ResetAllOptions 11
GUCArrayDelete 20
DefineCustomRealVariable 28
GUC_check_errcode 33
GetConfigOptionFlags 33
check_GUC_name_for_parameter_acl 34
add_placeholder_variable 78
get_config_handle 78
reapply_stacked_values 80
DefineCustomIntVariable 84
free_placeholder 85
replace_auto_config_value 97
write_auto_conf_file 97
AlterSystemSetConfigFile 131
assignable_custom_variable_name 132
valid_custom_variable_name 166
convert_GUC_name_for_parameter_acl 176
convert_real_from_base_unit 178
convert_int_from_base_unit 444
EstimateGUCStateSpace 669
SerializeGUCState 669
GUCArrayAdd 804
validate_option_array_item 826
SelectConfigFiles 1326
InitializeGUCOptions 1354
build_guc_variables 1354
RestoreGUCState 1993
get_guc_variables 2042
pg_timezone_abbrev_initialize 2238
InitializeGUCOptionsFromEnvironment 2267
DefineCustomEnumVariable 2415
MarkGUCPrefixReserved 2540
ProcessConfigFileInternal 3569
ProcessGUCArray 4544
TransformGUCArray 4622
DefineCustomStringVariable 4914
DefineCustomBoolVariable 5009
parse_real 6036
convert_to_base_unit 9631
GetConfigOptionByName 11283
add_guc_variable 12448
define_custom_variable 12450
init_custom_variable 12450
GetConfigOption 14587
BeginReportingGUCOptions 15600
ParseLongOption 35506
discard_stack_value 36587
estimate_variable_size 41901
serialize_variable 41901
call_real_check_hook 49041
RemoveGUCFromLists 49428
do_serialize 69219
set_config_option_ext 71631
parse_int 74189
do_serialize_binary 80927
config_enum_lookup_by_name 86809
config_enum_get_options 89387
set_config_sourcefile 95644
call_enum_check_hook 153360
can_skip_gucvar 189349
SetConfigOption 190276
read_gucstate 214620
RestrictSearchPath 241586
read_gucstate_binary 249497
extra_field_used 261055
call_int_check_hook 287841
config_enum_lookup_by_value 288632
NewGUCNestLevel 315039
call_bool_check_hook 322349
set_stack_value 358251
push_old_value 365820
ReportGUCOption 391954
ReportChangedGUCOptions 457473
call_string_check_hook 544408
set_config_option 627403
AtStart_GUC 643808
InitializeOneGUCOption 644013
parse_and_validate_value 713029
set_config_with_handle 717727
get_config_unit_name 873119
guc_strdup 911128
guc_name_match 939677
find_option 939847
AtEOXact_GUC 956939
guc_free 1013248
set_guc_source 1026769
guc_malloc 1075281
ShowGUCOption 1277169
string_field_used 1394385
set_string_field 1482525
guc_name_hash 1546970
set_extra_field 2403010
guc_var_compare 7953055
guc_name_compare 9337647

Generated by: LCOV version 2.0-1