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

Generated by: LCOV version 2.0-1