LCOV - code coverage report
Current view: top level - src/backend/utils/adt - ruleutils.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 90.7 % 5592 5073
Test Date: 2026-09-01 00:15:52 Functions: 99.5 % 184 183
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 75.0 % 3871 2905

Function Name Sort by function name Hit count Sort by function hit count
add_cast_to 1375
add_to_names_hash 332434
appendContextKeyword 19635
build_colinfo_names_hash 64867
colname_is_unique 304656
decompile_column_index_array 4433
deparse_context_for 15429
deparse_context_for_plan_tree 16831
deparse_expression 55917
deparse_expression_pretty 64716
destroy_colinfo_names_hash 64867
expand_colnames_array_to 66059
find_param_generator 1717
find_param_generator_initplan 1951
find_param_referent 4819
find_recursive_union 116
flatten_reloptions 4617
generate_collation_name 368
generate_function_name 9746
generate_opclass_name 4
generate_operator_clause 3168
generate_operator_name 43815
generate_qualified_relation_name 4667
generate_qualified_type_name 13
generate_relation_name 5505
get_agg_combine_expr 524
get_agg_expr 3164
get_agg_expr_helper 3232
get_basic_select_query 3072
get_coercion_expr 3640
get_column_alias_list 3803
get_const_collation 42097
get_const_expr 46952
get_delete_query_def 55
get_for_portion_of 157
get_from_clause 3078
get_from_clause_coldeflist 4
get_from_clause_item 4671
get_func_expr 8156
get_func_sql_syntax 120
get_graph_label_expr 105
get_graph_pattern_def 23
get_insert_query_def 194
get_json_agg_constructor 108
get_json_agg_constructor_expr 28
get_json_behavior 72
get_json_constructor 208
get_json_constructor_options 208
get_json_expr_options 428
get_json_format 148
get_json_path_spec 428
get_json_returning 204
get_json_table 84
get_json_table_columns 160
get_json_table_nested_columns 104
get_json_table_plan 12
get_lock_clause_strength 8
get_merge_query_def 8
get_name_for_var_field 1058
get_opclass_name 7390
get_oper_expr 41429
get_parameter 4807
get_path_pattern_expr_def 23
get_query_def 3565
get_range_partbound_string 2642
get_relation_name 10614
get_reloptions 131
get_returning_clause 109
get_rtable_name 4166
get_rte_alias 4090
get_rule_expr 241794
get_rule_expr_funccall 572
get_rule_expr_paren 110697
get_rule_expr_toplevel 2195
get_rule_groupingset 12
get_rule_list_toplevel 358
get_rule_orderby 255
get_rule_sortgroupclause 453
get_rule_windowclause 32
get_rule_windowspec 32
get_select_query_def 3175
get_setop_query 463
get_simple_binary_op_name 100
get_simple_values_rte 3072
get_special_variable 35618
get_sublink_expr 290
get_tablefunc 122
get_tablesample_def 18
get_target_list 3022
get_update_query_def 102
get_update_query_targetlist_def 126
get_utility_query_def 9
get_values_def 193
get_variable 128986
get_window_frame_options 218
get_window_frame_options_for_explain 190
get_windowfunc_expr 254
get_windowfunc_expr_helper 266
get_with_clause 3534
get_xmltable 38
has_dangerous_join_using 8633
identify_join_columns 940
isSimpleNode 3817
is_input_argument 64
json_table_plan_is_default 116
list_oid_str_pair_cmp_by_str 97
looks_like_function 1352
make_colname_unique 303089
make_propgraphdef_elements 256
make_propgraphdef_labels 380
make_propgraphdef_properties 477
make_ruledef 325
make_viewdef 2174
pg_get_constraintdef 1200
pg_get_constraintdef_command 468
pg_get_constraintdef_ext 2903
pg_get_constraintdef_worker 4571
pg_get_expr 5469
pg_get_expr_ext 496
pg_get_expr_worker 5965
pg_get_function_arg_default 36
pg_get_function_arguments 2514
pg_get_function_identity_arguments 2148
pg_get_function_result 2214
pg_get_function_sqlbody 1857
pg_get_functiondef 131
pg_get_indexdef 3165
pg_get_indexdef_columns 778
pg_get_indexdef_columns_extended 4
pg_get_indexdef_ext 1375
pg_get_indexdef_string 179
pg_get_indexdef_worker 5577
pg_get_partconstrdef_string 65
pg_get_partition_constraintdef 121
pg_get_partkeydef 818
pg_get_partkeydef_columns 94
pg_get_partkeydef_worker 912
pg_get_propgraphdef 132
pg_get_querydef 0
pg_get_ruledef 237
pg_get_ruledef_ext 92
pg_get_ruledef_worker 329
pg_get_serial_sequence 8
pg_get_statisticsobj_worker 496
pg_get_statisticsobjdef 163
pg_get_statisticsobjdef_columns 276
pg_get_statisticsobjdef_expressions 128
pg_get_statisticsobjdef_string 57
pg_get_triggerdef 96
pg_get_triggerdef_ext 631
pg_get_triggerdef_worker 727
pg_get_userbyid 1231
pg_get_viewdef 1451
pg_get_viewdef_ext 403
pg_get_viewdef_name 52
pg_get_viewdef_name_ext 268
pg_get_viewdef_worker 2178
pg_get_viewdef_wrap 4
pop_ancestor_plan 3102
pop_child_plan 60633
printSubscripts 316
print_function_arguments 4995
print_function_rettype 2190
print_function_sqlbody 145
print_function_trftypes 127
processIndirection 737
propdata_by_name_cmp 773
push_ancestor_plan 3102
push_child_plan 60633
quote_identifier 1901817
quote_qualified_identifier 738311
removeStringInfoSpaces 19117
resolve_special_varno 100243
select_rtable_names_for_explain 16831
set_deparse_context_plan 40499
set_deparse_for_query 3651
set_deparse_plan 104234
set_join_column_names 940
set_relation_column_names 63927
set_rtable_names 35999
set_simple_column_names 32348
set_using_names 8853
simple_quote_literal 18057
string_to_text 26188

Generated by: LCOV version 2.0-1