LCOV - code coverage report
Current view: top level - src/backend/utils/misc - guc.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1851 2232 82.9 %
Date: 2026-02-09 04:18:26 Functions: 96 99 97.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
GetConfigOptionResetString 0
guc_realloc 0
guc_restore_error_context_callback 0
GUCArrayReset 2
get_explain_guc_options 12
ResetAllOptions 18
GUCArrayDelete 40
GetConfigOptionFlags 40
GUC_check_errcode 48
DefineCustomRealVariable 50
check_GUC_name_for_parameter_acl 68
reapply_stacked_values 98
free_placeholder 106
add_placeholder_variable 114
DefineCustomIntVariable 118
get_config_handle 132
replace_auto_config_value 166
write_auto_conf_file 166
AlterSystemSetConfigFile 214
assignable_custom_variable_name 214
valid_custom_variable_name 254
convert_real_from_base_unit 268
convert_GUC_name_for_parameter_acl 352
convert_int_from_base_unit 774
EstimateGUCStateSpace 996
SerializeGUCState 996
GUCArrayAdd 1452
validate_option_array_item 1496
SelectConfigFiles 2304
InitializeGUCOptions 2356
build_guc_variables 2356
RestoreGUCState 2970
get_guc_variables 3488
DefineCustomEnumVariable 3774
pg_timezone_abbrev_initialize 3900
MarkGUCPrefixReserved 3904
InitializeGUCOptionsFromEnvironment 3962
ProcessConfigFileInternal 6220
ProcessGUCArray 7246
TransformGUCArray 7378
DefineCustomStringVariable 7604
DefineCustomBoolVariable 7658
parse_real 9116
GetConfigOptionByName 12698
GetConfigOption 14722
convert_to_base_unit 15998
define_custom_variable 19204
init_custom_variable 19204
add_guc_variable 19220
BeginReportingGUCOptions 27814
discard_stack_value 57586
ParseLongOption 57694
estimate_variable_size 62354
serialize_variable 62354
call_real_check_hook 72168
RemoveGUCFromLists 73322
config_enum_lookup_by_name 74532
do_serialize 102768
set_config_option_ext 106550
do_serialize_binary 119988
parse_int 123912
config_enum_get_options 149342
set_config_sourcefile 155720
call_enum_check_hook 186068
can_skip_gucvar 281846
read_gucstate 319314
SetConfigOption 327466
read_gucstate_binary 370714
RestrictSearchPath 393536
NewGUCNestLevel 434832
set_stack_value 441526
extra_field_used 443432
push_old_value 452820
call_bool_check_hook 468014
call_int_check_hook 477960
config_enum_lookup_by_value 490370
ReportGUCOption 684108
ReportChangedGUCOptions 759420
call_string_check_hook 895860
set_config_option 903970
parse_and_validate_value 1037014
AtStart_GUC 1039786
set_config_with_handle 1043092
InitializeOneGUCOption 1063092
guc_name_match 1397446
find_option 1397736
set_guc_source 1404746
get_config_unit_name 1429238
AtEOXact_GUC 1473038
guc_strdup 1525556
guc_free 1669562
guc_malloc 1797398
ShowGUCOption 2127666
string_field_used 2291738
guc_name_hash 2406840
set_string_field 2426314
set_extra_field 3237958
guc_var_compare 12870774
guc_name_compare 15021262

Generated by: LCOV version 1.16