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-07-26 08:15:28 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 92
write_auto_conf_file 92
AlterSystemSetConfigFile 122
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 436
EstimateGUCStateSpace 679
SerializeGUCState 679
GUCArrayAdd 792
validate_option_array_item 814
SelectConfigFiles 1272
InitializeGUCOptions 1300
build_guc_variables 1300
get_guc_variables 1895
RestoreGUCState 2006
pg_timezone_abbrev_initialize 2134
InitializeGUCOptionsFromEnvironment 2163
DefineCustomEnumVariable 2416
MarkGUCPrefixReserved 2528
ProcessConfigFileInternal 3411
ProcessGUCArray 4531
TransformGUCArray 4609
DefineCustomStringVariable 4912
DefineCustomBoolVariable 5010
parse_real 6261
GetConfigOptionByName 7081
convert_to_base_unit 9182
add_guc_variable 12437
define_custom_variable 12439
init_custom_variable 12439
GetConfigOption 13892
BeginReportingGUCOptions 15007
ParseLongOption 35159
discard_stack_value 37264
estimate_variable_size 42462
serialize_variable 42462
call_real_check_hook 47322
RemoveGUCFromLists 49723
do_serialize 70044
parse_int 71646
set_config_option_ext 71977
do_serialize_binary 81909
config_enum_get_options 82995
config_enum_lookup_by_name 87192
set_config_sourcefile 92786
call_enum_check_hook 151460
SetConfigOption 185211
can_skip_gucvar 191125
read_gucstate 215664
RestrictSearchPath 248740
read_gucstate_binary 250742
extra_field_used 257504
config_enum_lookup_by_value 269267
call_int_check_hook 277556
call_bool_check_hook 315084
NewGUCNestLevel 317466
set_stack_value 365786
push_old_value 373346
ReportGUCOption 376076
ReportChangedGUCOptions 463051
call_string_check_hook 540294
InitializeOneGUCOption 619779
set_config_option 626447
AtStart_GUC 657880
parse_and_validate_value 711976
set_config_with_handle 716776
get_config_unit_name 808540
guc_strdup 895144
guc_name_match 927940
find_option 928108
AtEOXact_GUC 973449
guc_free 1003021
set_guc_source 1033370
guc_malloc 1056658
ShowGUCOption 1192512
string_field_used 1405953
set_string_field 1502207
guc_name_hash 1510689
set_extra_field 2423690
guc_var_compare 7319197
guc_name_compare 8664323

Generated by: LCOV version 2.0-1