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-10-18 01:15:54 Functions: 97.0 % 99 96
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 67.3 % 1660 1118

Function Name Sort by function name Hit count Sort by function hit count
AlterSystemSetConfigFile 131
AtEOXact_GUC 965622
AtStart_GUC 649802
BeginReportingGUCOptions 15822
DefineCustomBoolVariable 5009
DefineCustomEnumVariable 2415
DefineCustomIntVariable 90
DefineCustomRealVariable 28
DefineCustomStringVariable 4923
EstimateGUCStateSpace 674
GUCArrayAdd 810
GUCArrayDelete 20
GUCArrayReset 1
GUC_check_errcode 33
GetConfigOption 15046
GetConfigOptionByName 11395
GetConfigOptionFlags 33
GetConfigOptionResetString 0
InitializeGUCOptions 1371
InitializeGUCOptionsFromEnvironment 2330
InitializeOneGUCOption 650998
MarkGUCPrefixReserved 2546
NewGUCNestLevel 317728
ParseLongOption 35973
ProcessConfigFileInternal 3649
ProcessGUCArray 4609
RemoveGUCFromLists 50467
ReportChangedGUCOptions 459117
ReportGUCOption 397042
ResetAllOptions 11
RestoreGUCState 2034
RestrictSearchPath 243996
SelectConfigFiles 1343
SerializeGUCState 674
SetConfigOption 194069
ShowGUCOption 1287951
TransformGUCArray 4687
add_guc_variable 12463
add_placeholder_variable 86
assignable_custom_variable_name 140
build_guc_variables 1371
call_bool_check_hook 325296
call_enum_check_hook 155321
call_int_check_hook 292178
call_real_check_hook 49674
call_string_check_hook 552537
can_skip_gucvar 192181
check_GUC_name_for_parameter_acl 34
config_enum_get_options 90163
config_enum_lookup_by_name 87919
config_enum_lookup_by_value 291234
convert_GUC_name_for_parameter_acl 176
convert_int_from_base_unit 448
convert_real_from_base_unit 178
convert_to_base_unit 9887
define_custom_variable 12465
discard_stack_value 36964
do_serialize 69768
do_serialize_binary 81579
estimate_variable_size 42225
extra_field_used 265376
find_option 957603
free_placeholder 93
get_config_handle 78
get_config_unit_name 878703
get_explain_guc_options 8
get_guc_variables 2060
guc_free 1031039
guc_malloc 1092381
guc_name_compare 9338753
guc_name_hash 1570695
guc_name_match 957426
guc_realloc 0
guc_restore_error_context_callback 0
guc_strdup 925853
guc_var_compare 7923445
init_custom_variable 12465
parse_and_validate_value 724052
parse_int 75758
parse_real 6126
pg_timezone_abbrev_initialize 2301
push_old_value 369193
read_gucstate 218910
read_gucstate_binary 254520
reapply_stacked_values 88
replace_auto_config_value 97
serialize_variable 42225
set_config_option 636830
set_config_option_ext 73069
set_config_sourcefile 98523
set_config_with_handle 728849
set_extra_field 2433641
set_guc_source 1040398
set_stack_value 361623
set_string_field 1502540
string_field_used 1414869
valid_custom_variable_name 181
validate_option_array_item 832
write_auto_conf_file 97

Generated by: LCOV version 2.0-1