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-09-07 12:15:56 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
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 77
get_config_handle 78
reapply_stacked_values 79
DefineCustomIntVariable 83
free_placeholder 84
replace_auto_config_value 96
write_auto_conf_file 96
AlterSystemSetConfigFile 126
assignable_custom_variable_name 131
valid_custom_variable_name 164
convert_GUC_name_for_parameter_acl 176
convert_real_from_base_unit 178
convert_int_from_base_unit 442
EstimateGUCStateSpace 681
SerializeGUCState 681
GUCArrayAdd 804
validate_option_array_item 826
SelectConfigFiles 1297
InitializeGUCOptions 1325
build_guc_variables 1325
get_guc_variables 1936
RestoreGUCState 2006
pg_timezone_abbrev_initialize 2215
InitializeGUCOptionsFromEnvironment 2244
DefineCustomEnumVariable 2411
MarkGUCPrefixReserved 2535
ProcessConfigFileInternal 3517
ProcessGUCArray 4548
TransformGUCArray 4626
DefineCustomStringVariable 4906
DefineCustomBoolVariable 5001
parse_real 6291
convert_to_base_unit 9558
GetConfigOptionByName 11245
add_guc_variable 12427
define_custom_variable 12429
init_custom_variable 12429
GetConfigOption 14423
BeginReportingGUCOptions 15452
ParseLongOption 35436
discard_stack_value 37266
estimate_variable_size 42597
serialize_variable 42597
call_real_check_hook 48123
RemoveGUCFromLists 49751
do_serialize 70290
set_config_option_ext 71994
parse_int 73376
do_serialize_binary 82208
config_enum_get_options 84744
config_enum_lookup_by_name 87734
set_config_sourcefile 95419
call_enum_check_hook 153074
SetConfigOption 188982
can_skip_gucvar 191440
read_gucstate 215712
read_gucstate_binary 250818
RestrictSearchPath 253448
extra_field_used 262296
config_enum_lookup_by_value 274966
call_int_check_hook 282885
call_bool_check_hook 319637
NewGUCNestLevel 327727
set_stack_value 371602
push_old_value 379163
ReportGUCOption 390374
ReportChangedGUCOptions 462591
call_string_check_hook 552879
InitializeOneGUCOption 631846
set_config_option 638814
AtStart_GUC 666724
parse_and_validate_value 724791
set_config_with_handle 729564
get_config_unit_name 827741
guc_strdup 917376
guc_name_match 951080
find_option 951249
AtEOXact_GUC 992536
guc_free 1023352
set_guc_source 1051242
guc_malloc 1081529
ShowGUCOption 1230177
string_field_used 1437769
set_string_field 1537068
guc_name_hash 1545860
set_extra_field 2465244
guc_var_compare 7540118
guc_name_compare 8925861

Generated by: LCOV version 2.0-1