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 % 5593 5071
Test Date: 2026-08-11 21:16:03 Functions: 99.5 % 184 183
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 74.9 % 3871 2901

Function Name Sort by function name Hit count Sort by function hit count
add_cast_to 1407
add_to_names_hash 332951
appendContextKeyword 19626
build_colinfo_names_hash 65092
colname_is_unique 305173
decompile_column_index_array 4481
deparse_context_for 16156
deparse_context_for_plan_tree 16656
deparse_expression 55194
deparse_expression_pretty 64663
destroy_colinfo_names_hash 65092
expand_colnames_array_to 66284
find_param_generator 1717
find_param_generator_initplan 1951
find_param_referent 4818
find_recursive_union 116
flatten_reloptions 4621
generate_collation_name 368
generate_function_name 9833
generate_opclass_name 4
generate_operator_clause 3229
generate_operator_name 43914
generate_qualified_relation_name 4691
generate_qualified_type_name 13
generate_relation_name 5524
get_agg_combine_expr 524
get_agg_expr 3164
get_agg_expr_helper 3232
get_basic_select_query 3063
get_coercion_expr 3724
get_column_alias_list 3794
get_const_collation 42465
get_const_expr 48032
get_delete_query_def 55
get_for_portion_of 157
get_from_clause 3069
get_from_clause_coldeflist 4
get_from_clause_item 4662
get_func_expr 8237
get_func_sql_syntax 120
get_graph_label_expr 96
get_graph_pattern_def 14
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 7378
get_oper_expr 41528
get_parameter 4806
get_path_pattern_expr_def 14
get_query_def 3556
get_range_partbound_string 3162
get_relation_name 10715
get_reloptions 131
get_returning_clause 109
get_rtable_name 4157
get_rte_alias 4081
get_rule_expr 241085
get_rule_expr_funccall 572
get_rule_expr_paren 110963
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 3166
get_setop_query 463
get_simple_binary_op_name 100
get_simple_values_rte 3063
get_special_variable 34730
get_sublink_expr 290
get_tablefunc 122
get_tablesample_def 18
get_target_list 3013
get_update_query_def 102
get_update_query_targetlist_def 126
get_utility_query_def 9
get_values_def 193
get_variable 127411
get_window_frame_options 214
get_window_frame_options_for_explain 186
get_windowfunc_expr 246
get_windowfunc_expr_helper 258
get_with_clause 3525
get_xmltable 38
has_dangerous_join_using 8615
identify_join_columns 940
isSimpleNode 3981
is_input_argument 64
json_table_plan_is_default 116
list_oid_str_pair_cmp_by_str 97
looks_like_function 1348
make_colname_unique 303606
make_propgraphdef_elements 256
make_propgraphdef_labels 380
make_propgraphdef_properties 477
make_ruledef 325
make_viewdef 2165
pg_get_constraintdef 1232
pg_get_constraintdef_command 468
pg_get_constraintdef_ext 2959
pg_get_constraintdef_worker 4659
pg_get_expr 5978
pg_get_expr_ext 572
pg_get_expr_worker 6550
pg_get_function_arg_default 36
pg_get_function_arguments 2509
pg_get_function_identity_arguments 2143
pg_get_function_result 2209
pg_get_function_sqlbody 1852
pg_get_functiondef 131
pg_get_indexdef 3189
pg_get_indexdef_columns 759
pg_get_indexdef_columns_extended 4
pg_get_indexdef_ext 1355
pg_get_indexdef_string 179
pg_get_indexdef_worker 5562
pg_get_partconstrdef_string 65
pg_get_partition_constraintdef 153
pg_get_partkeydef 834
pg_get_partkeydef_columns 94
pg_get_partkeydef_worker 928
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 504
pg_get_statisticsobjdef 163
pg_get_statisticsobjdef_columns 284
pg_get_statisticsobjdef_expressions 128
pg_get_statisticsobjdef_string 57
pg_get_triggerdef 96
pg_get_triggerdef_ext 655
pg_get_triggerdef_worker 751
pg_get_userbyid 1251
pg_get_viewdef 1442
pg_get_viewdef_ext 403
pg_get_viewdef_name 52
pg_get_viewdef_name_ext 268
pg_get_viewdef_worker 2169
pg_get_viewdef_wrap 4
pop_ancestor_plan 3101
pop_child_plan 59152
printSubscripts 316
print_function_arguments 4985
print_function_rettype 2185
print_function_sqlbody 145
print_function_trftypes 127
processIndirection 737
propdata_by_name_cmp 773
push_ancestor_plan 3101
push_child_plan 59152
quote_identifier 1916903
quote_qualified_identifier 748250
removeStringInfoSpaces 19108
resolve_special_varno 97815
select_rtable_names_for_explain 16656
set_deparse_context_plan 39879
set_deparse_for_query 3642
set_deparse_plan 102132
set_join_column_names 940
set_relation_column_names 64152
set_rtable_names 36542
set_simple_column_names 32900
set_using_names 8835
simple_quote_literal 18698
string_to_text 26918

Generated by: LCOV version 2.0-1