LCOV - code coverage report
Current view: top level - src/backend/utils/adt - ruleutils.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 90.8 % 5324 4833
Test Date: 2026-09-21 16:15:47 Functions: 99.4 % 174 173
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 75.1 % 3730 2801

Function Name Sort by function name Hit count Sort by function hit count
add_cast_to 1335
add_to_names_hash 331383
appendContextKeyword 19582
build_colinfo_names_hash 64618
colname_is_unique 303669
decompile_column_index_array 3121
deparse_context_for 14591
deparse_context_for_plan_tree 16992
deparse_expression 56559
deparse_expression_pretty 64871
destroy_colinfo_names_hash 64618
expand_colnames_array_to 65810
find_param_generator 1717
find_param_generator_initplan 1951
find_param_referent 5104
find_recursive_union 116
flatten_reloptions 4494
generate_collation_name 306
generate_function_name 9707
generate_opclass_name 4
generate_operator_clause 3129
generate_operator_name 44033
generate_qualified_relation_name 4544
generate_qualified_type_name 13
generate_relation_name 4975
get_agg_combine_expr 524
get_agg_expr 3164
get_agg_expr_helper 3232
get_basic_select_query 3039
get_coercion_expr 3571
get_column_alias_list 3761
get_const_collation 42240
get_const_expr 47090
get_delete_query_def 39
get_from_clause 3013
get_from_clause_coldeflist 4
get_from_clause_item 4629
get_func_expr 8065
get_func_sql_syntax 120
get_insert_query_def 194
get_json_agg_constructor 108
get_json_agg_constructor_expr 28
get_json_behavior 80
get_json_constructor 216
get_json_constructor_options 216
get_json_expr_options 428
get_json_format 148
get_json_path_spec 428
get_json_returning 212
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 7252
get_oper_expr 41656
get_parameter 5092
get_query_def 3500
get_range_partbound_string 2702
get_relation_name 9990
get_reloptions 131
get_returning_clause 93
get_rtable_name 4092
get_rte_alias 4016
get_rule_expr 243396
get_rule_expr_funccall 572
get_rule_expr_paren 111177
get_rule_expr_toplevel 2195
get_rule_groupingset 12
get_rule_list_toplevel 358
get_rule_orderby 246
get_rule_sortgroupclause 435
get_rule_windowclause 32
get_rule_windowspec 32
get_select_query_def 3142
get_setop_query 463
get_simple_binary_op_name 100
get_simple_values_rte 3039
get_special_variable 36209
get_sublink_expr 290
get_tablefunc 122
get_tablesample_def 18
get_target_list 2973
get_update_query_def 86
get_update_query_targetlist_def 110
get_utility_query_def 9
get_values_def 193
get_variable 129713
get_window_frame_options 218
get_window_frame_options_for_explain 190
get_windowfunc_expr 254
get_windowfunc_expr_helper 266
get_with_clause 3469
get_xmltable 38
has_dangerous_join_using 8494
identify_join_columns 940
isSimpleNode 3809
is_input_argument 64
json_table_plan_is_default 116
looks_like_function 1352
make_colname_unique 302038
make_ruledef 309
make_viewdef 2141
pg_get_constraintdef 1130
pg_get_constraintdef_command 468
pg_get_constraintdef_ext 2743
pg_get_constraintdef_worker 4341
pg_get_expr 5203
pg_get_expr_ext 496
pg_get_expr_worker 5699
pg_get_function_arg_default 36
pg_get_function_arguments 2452
pg_get_function_identity_arguments 2098
pg_get_function_result 2156
pg_get_function_sqlbody 1807
pg_get_functiondef 115
pg_get_indexdef 3042
pg_get_indexdef_columns 801
pg_get_indexdef_columns_extended 4
pg_get_indexdef_ext 1375
pg_get_indexdef_string 179
pg_get_indexdef_worker 5477
pg_get_partconstrdef_string 65
pg_get_partition_constraintdef 121
pg_get_partkeydef 813
pg_get_partkeydef_columns 94
pg_get_partkeydef_worker 907
pg_get_querydef 0
pg_get_ruledef 237
pg_get_ruledef_ext 76
pg_get_ruledef_worker 313
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 1215
pg_get_viewdef 1418
pg_get_viewdef_ext 403
pg_get_viewdef_name 52
pg_get_viewdef_name_ext 268
pg_get_viewdef_worker 2145
pg_get_viewdef_wrap 4
pop_ancestor_plan 3387
pop_child_plan 61555
printSubscripts 320
print_function_arguments 4862
print_function_rettype 2120
print_function_sqlbody 129
print_function_trftypes 111
processIndirection 721
push_ancestor_plan 3387
push_child_plan 61555
quote_identifier 1856563
quote_qualified_identifier 718307
removeStringInfoSpaces 19000
resolve_special_varno 101816
select_rtable_names_for_explain 16992
set_deparse_context_plan 41130
set_deparse_for_query 3586
set_deparse_plan 106072
set_join_column_names 940
set_relation_column_names 63678
set_rtable_names 35257
set_simple_column_names 31671
set_using_names 8714
simple_quote_literal 17903
string_to_text 25206

Generated by: LCOV version 2.0-1