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 21:15:38 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
DefineCustomIntVariable 73
add_placeholder_variable 76
get_config_handle 78
reapply_stacked_values 78
free_placeholder 83
replace_auto_config_value 93
write_auto_conf_file 93
AlterSystemSetConfigFile 123
assignable_custom_variable_name 130
valid_custom_variable_name 163
convert_GUC_name_for_parameter_acl 176
convert_real_from_base_unit 178
convert_int_from_base_unit 440
EstimateGUCStateSpace 680
SerializeGUCState 680
GUCArrayAdd 792
validate_option_array_item 814
SelectConfigFiles 1283
InitializeGUCOptions 1311
build_guc_variables 1311
get_guc_variables 1945
RestoreGUCState 2019
pg_timezone_abbrev_initialize 2169
InitializeGUCOptionsFromEnvironment 2198
DefineCustomEnumVariable 2419
MarkGUCPrefixReserved 2532
ProcessConfigFileInternal 3457
ProcessGUCArray 4559
TransformGUCArray 4637
DefineCustomStringVariable 4919
DefineCustomBoolVariable 5016
parse_real 6271
convert_to_base_unit 9343
GetConfigOptionByName 11172
add_guc_variable 12453
define_custom_variable 12455
init_custom_variable 12455
GetConfigOption 14139
BeginReportingGUCOptions 15250
ParseLongOption 35383
discard_stack_value 37423
estimate_variable_size 42528
serialize_variable 42528
call_real_check_hook 47675
RemoveGUCFromLists 50053
do_serialize 70158
parse_int 72329
set_config_option_ext 72399
do_serialize_binary 82046
config_enum_get_options 85139
config_enum_lookup_by_name 87820
set_config_sourcefile 94106
call_enum_check_hook 152604
SetConfigOption 186838
can_skip_gucvar 191966
read_gucstate 216930
read_gucstate_binary 252245
RestrictSearchPath 252940
extra_field_used 260258
config_enum_lookup_by_value 275845
call_int_check_hook 279828
NewGUCNestLevel 317427
call_bool_check_hook 317853
set_stack_value 371149
push_old_value 378710
ReportGUCOption 386365
ReportChangedGUCOptions 465134
call_string_check_hook 549003
InitializeOneGUCOption 626155
set_config_option 634659
AtStart_GUC 662260
parse_and_validate_value 720835
set_config_with_handle 725658
get_config_unit_name 831597
guc_strdup 909174
guc_name_match 943834
find_option 944002
AtEOXact_GUC 977781
guc_free 1016504
set_guc_source 1047126
guc_malloc 1072160
ShowGUCOption 1229975
string_field_used 1428624
set_string_field 1527737
guc_name_hash 1532645
set_extra_field 2456564
guc_var_compare 7575196
guc_name_compare 8941321

Generated by: LCOV version 2.0-1