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 % 5591 5069
Test Date: 2026-07-22 15:16:26 Functions: 99.5 % 184 183
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 75.0 % 3871 2902

Function Name Sort by function name Hit count Sort by function hit count
add_cast_to 1375
add_to_names_hash 332719
appendContextKeyword 19626
build_colinfo_names_hash 64950
colname_is_unique 304941
decompile_column_index_array 4481
deparse_context_for 16155
deparse_context_for_plan_tree 16607
deparse_expression 55119
deparse_expression_pretty 64552
destroy_colinfo_names_hash 64950
expand_colnames_array_to 66142
find_param_generator 1709
find_param_generator_initplan 1947
find_param_referent 4810
find_recursive_union 116
flatten_reloptions 4612
generate_collation_name 368
generate_function_name 9825
generate_opclass_name 4
generate_operator_clause 3141
generate_operator_name 43833
generate_qualified_relation_name 4682
generate_qualified_type_name 9
generate_relation_name 5484
get_agg_combine_expr 524
get_agg_expr 3164
get_agg_expr_helper 3232
get_basic_select_query 3051
get_coercion_expr 3715
get_column_alias_list 3794
get_const_collation 42309
get_const_expr 47852
get_delete_query_def 47
get_for_portion_of 141
get_from_clause 3041
get_from_clause_coldeflist 4
get_from_clause_item 4662
get_func_expr 8212
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 204
get_json_constructor_options 204
get_json_expr_options 428
get_json_format 128
get_json_path_spec 428
get_json_returning 200
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 1050
get_opclass_name 7361
get_oper_expr 41503
get_parameter 4798
get_path_pattern_expr_def 14
get_query_def 3528
get_range_partbound_string 3162
get_relation_name 10713
get_reloptions 131
get_returning_clause 109
get_rtable_name 4141
get_rte_alias 4065
get_rule_expr 240558
get_rule_expr_funccall 572
get_rule_expr_paren 110742
get_rule_expr_toplevel 2131
get_rule_groupingset 12
get_rule_list_toplevel 326
get_rule_orderby 255
get_rule_sortgroupclause 453
get_rule_windowclause 32
get_rule_windowspec 32
get_select_query_def 3154
get_setop_query 463
get_simple_binary_op_name 100
get_simple_values_rte 3051
get_special_variable 34660
get_sublink_expr 290
get_tablefunc 122
get_tablesample_def 18
get_target_list 3001
get_update_query_def 94
get_update_query_targetlist_def 118
get_utility_query_def 9
get_values_def 193
get_variable 127228
get_window_frame_options 214
get_window_frame_options_for_explain 186
get_windowfunc_expr 246
get_windowfunc_expr_helper 258
get_with_clause 3497
get_xmltable 38
has_dangerous_join_using 8571
identify_join_columns 940
isSimpleNode 3973
is_input_argument 64
json_table_plan_is_default 116
list_oid_str_pair_cmp_by_str 97
looks_like_function 1335
make_colname_unique 303374
make_propgraphdef_elements 256
make_propgraphdef_labels 380
make_propgraphdef_properties 477
make_ruledef 309
make_viewdef 2161
pg_get_constraintdef 1232
pg_get_constraintdef_command 460
pg_get_constraintdef_ext 2959
pg_get_constraintdef_worker 4651
pg_get_expr 5965
pg_get_expr_ext 572
pg_get_expr_worker 6537
pg_get_function_arg_default 36
pg_get_function_arguments 2504
pg_get_function_identity_arguments 2138
pg_get_function_result 2204
pg_get_function_sqlbody 1847
pg_get_functiondef 127
pg_get_indexdef 3184
pg_get_indexdef_columns 802
pg_get_indexdef_columns_extended 4
pg_get_indexdef_ext 1347
pg_get_indexdef_string 179
pg_get_indexdef_worker 5592
pg_get_partconstrdef_string 65
pg_get_partition_constraintdef 153
pg_get_partkeydef 826
pg_get_partkeydef_columns 94
pg_get_partkeydef_worker 920
pg_get_propgraphdef 132
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 500
pg_get_statisticsobjdef 163
pg_get_statisticsobjdef_columns 284
pg_get_statisticsobjdef_expressions 128
pg_get_statisticsobjdef_string 53
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 399
pg_get_viewdef_name 52
pg_get_viewdef_name_ext 268
pg_get_viewdef_worker 2165
pg_get_viewdef_wrap 4
pop_ancestor_plan 3101
pop_child_plan 59142
printSubscripts 316
print_function_arguments 4971
print_function_rettype 2176
print_function_sqlbody 141
print_function_trftypes 123
processIndirection 729
propdata_by_name_cmp 773
push_ancestor_plan 3101
push_child_plan 59142
quote_identifier 1911461
quote_qualified_identifier 746694
removeStringInfoSpaces 19108
resolve_special_varno 97671
select_rtable_names_for_explain 16607
set_deparse_context_plan 39804
set_deparse_for_query 3614
set_deparse_plan 102047
set_join_column_names 940
set_relation_column_names 64010
set_rtable_names 36464
set_simple_column_names 32850
set_using_names 8791
simple_quote_literal 18669
string_to_text 26843

Generated by: LCOV version 2.0-1