LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - ruleutils.c (source / functions) Coverage Total Hit UNC UBC GNC CBC
Current: 603a3335f2b60b2c798da5c627b3bb288b92a7bd vs e395fbd32a07557de4ac98088928c1749d4845d8 Lines: 90.6 % 5696 5161 10 525 31 5130
Current Date: 2026-07-25 17:13:00 -0400 Functions: 99.5 % 184 183 1 3 180
Baseline: lcov-20260726-baseline Branches: 73.3 % 4119 3020 17 1082 25 2995
Baseline Date: 2026-07-25 19:16:42 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 78.4 % 51 40 10 1 31 9
(30,360] days: 85.8 % 337 289 48 289
(360..) days: 91.0 % 5308 4832 476 4832
Function coverage date bins:
(7,30] days: 100.0 % 3 3 2 1
(30,360] days: 100.0 % 12 12 12
(360..) days: 99.4 % 169 168 1 1 167
Branch coverage date bins:
(7,30] days: 59.6 % 52 31 17 4 25 6
(30,360] days: 66.5 % 179 119 60 119
(360..) days: 73.8 % 3888 2870 1018 2870

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function Branches Sort by unexercised branches in function
get_rule_expr CBC 240554 89.6 % (660 / 737) 74.9 % (341 / 455)
get_name_for_var_field CBC 1050 78.9 % (116 / 147) 49.7 % (77 / 155)
get_insert_query_def CBC 194 85.9 % (79 / 92) 60.3 % (47 / 78)
get_variable CBC 127227 89.0 % (89 / 100) 75.8 % (91 / 120)
pg_get_constraintdef_worker CBC 4651 83.6 % (148 / 177) 69.5 % (66 / 95)
get_from_clause_item CBC 4662 92.2 % (142 / 154) 77.6 % (97 / 125)
set_join_column_names CBC 940 96.5 % (111 / 115) 72.4 % (71 / 98)
get_setop_query CBC 463 71.4 % (50 / 70) 50.0 % (26 / 52)
isSimpleNode CBC 3973 70.3 % (64 / 91) 64.9 % (48 / 74)
get_windowfunc_expr_helper CBC 258 88.5 % (46 / 52) 62.5 % (35 / 56)
pg_get_indexdef_worker CBC 5537 92.0 % (115 / 125) 79.0 % (79 / 100)
pg_get_functiondef CBC 127 89.2 % (99 / 111) 75.0 % (60 / 80)
make_propgraphdef_elements CBC 256 89.2 % (58 / 65) 57.5 % (23 / 40)
pg_get_triggerdef_worker CBC 751 90.1 % (127 / 141) 76.4 % (55 / 72)
get_rule_windowspec CBC 32 56.7 % (17 / 30) 33.3 % (8 / 24)
get_update_query_targetlist_def CBC 118 88.1 % (52 / 59) 69.2 % (36 / 52)
get_with_clause CBC 3497 94.7 % (72 / 76) 75.8 % (50 / 66)
make_ruledef CBC 309 94.6 % (87 / 92) 62.8 % (27 / 43)
resolve_special_varno CBC 97683 90.2 % (37 / 41) 55.6 % (20 / 36)
get_xmltable CBC 38 94.4 % (51 / 54) 77.3 % (51 / 66)
get_json_table_plan GNC 12 62.5 % (15 / 24) 46.2 % (12 / 26)
identify_join_columns CBC 940 86.7 % (26 / 30) 58.8 % (20 / 34)
pg_get_partkeydef_worker CBC 920 92.6 % (63 / 68) 70.8 % (34 / 48)
get_basic_select_query CBC 3051 79.2 % (42 / 53) 69.0 % (29 / 42)
get_func_sql_syntax CBC 120 94.9 % (131 / 138) 73.5 % (36 / 49)
pg_get_expr_worker CBC 6535 80.8 % (21 / 26) 50.0 % (13 / 26)
generate_function_name CBC 9825 83.3 % (25 / 30) 57.1 % (16 / 28)
get_merge_query_def CBC 8 96.2 % (76 / 79) 80.0 % (48 / 60)
pg_get_statisticsobj_worker CBC 500 97.2 % (70 / 72) 80.6 % (50 / 62)
find_param_generator CBC 1709 93.1 % (27 / 29) 76.2 % (32 / 42)
get_from_clause_coldeflist CBC 4 90.5 % (19 / 21) 72.2 % (26 / 36)
get_parameter CBC 4798 95.7 % (44 / 46) 77.3 % (34 / 44)
get_path_pattern_expr_def CBC 14 65.4 % (34 / 52) 61.5 % (16 / 26)
get_rule_groupingset CBC 12 70.6 % (24 / 34) 61.5 % (16 / 26)
make_viewdef CBC 2161 93.3 % (28 / 30) 50.0 % (10 / 20)
set_using_names CBC 8791 96.4 % (54 / 56) 79.2 % (38 / 48)
get_simple_values_rte CBC 3051 96.3 % (26 / 27) 79.5 % (35 / 44)
pg_get_ruledef_worker CBC 313 87.5 % (21 / 24) 50.0 % (9 / 18)
pg_get_viewdef_worker CBC 2165 88.9 % (24 / 27) 50.0 % (9 / 18)
print_function_arguments CBC 4971 96.2 % (75 / 78) 83.9 % (47 / 56)
build_colinfo_names_hash CBC 64894 68.4 % (13 / 19) 50.0 % (8 / 16)
get_json_table_columns CBC 160 100.0 % (45 / 45) 84.6 % (44 / 52)
get_sublink_expr CBC 290 90.6 % (58 / 64) 76.5 % (26 / 34)
get_target_list CBC 3001 100.0 % (44 / 44) 81.0 % (34 / 42)
get_window_frame_options CBC 214 84.8 % (39 / 46) 78.9 % (30 / 38)
pg_get_serial_sequence CBC 8 93.3 % (28 / 30) 55.6 % (10 / 18)
processIndirection CBC 729 83.3 % (25 / 30) 63.6 % (14 / 22)
find_param_referent CBC 4810 97.1 % (33 / 34) 85.4 % (41 / 48)
generate_operator_name CBC 43832 88.9 % (24 / 27) 58.8 % (10 / 17)
get_agg_expr_helper CBC 3232 98.0 % (49 / 50) 84.1 % (37 / 44)
get_lock_clause_strength CBC 8 30.8 % (4 / 13) 12.5 % (1 / 8)
get_rule_sortgroupclause CBC 453 96.2 % (25 / 26) 70.8 % (17 / 24)
find_recursive_union CBC 116 85.7 % (6 / 7) 50.0 % (6 / 12)
generate_qualified_type_name CBC 9 83.3 % (10 / 12) 25.0 % (2 / 8)
generate_relation_name CBC 5484 83.3 % (20 / 24) 75.0 % (18 / 24)
get_from_clause CBC 3041 93.5 % (29 / 31) 75.0 % (18 / 24)
get_graph_label_expr CBC 96 90.9 % (20 / 22) 64.7 % (11 / 17)
get_select_query_def CBC 3154 92.9 % (39 / 42) 82.1 % (23 / 28)
get_utility_query_def CBC 9 76.9 % (10 / 13) 37.5 % (3 / 8)
has_dangerous_join_using CBC 8571 85.7 % (18 / 21) 82.1 % (23 / 28)
deparse_context_for_plan_tree CBC 16606 100.0 % (19 / 19) 71.4 % (10 / 14)
generate_collation_name CBC 368 83.3 % (10 / 12) 33.3 % (2 / 6)
generate_operator_clause CBC 3153 94.4 % (17 / 18) 60.0 % (6 / 10)
get_func_expr CBC 8212 97.3 % (36 / 37) 88.9 % (32 / 36)
get_json_behavior CBC 72 88.9 % (8 / 9) 50.0 % (4 / 8)
get_json_constructor CBC 204 95.3 % (41 / 43) 84.6 % (22 / 26)
get_opclass_name CBC 7361 78.6 % (11 / 14) 60.0 % (6 / 10)
get_query_def CBC 3528 96.2 % (51 / 53) 80.0 % (16 / 20)
pg_get_function_arg_default CBC 36 93.3 % (28 / 30) 77.8 % (14 / 18)
add_cast_to CBC 1375 90.0 % (9 / 10) 25.0 % (1 / 4)
flatten_reloptions CBC 4612 91.7 % (11 / 12) 50.0 % (3 / 6)
generate_qualified_relation_name CBC 4682 88.9 % (8 / 9) 25.0 % (1 / 4)
get_agg_combine_expr CBC 524 85.7 % (6 / 7) 25.0 % (1 / 4)
get_delete_query_def CBC 47 100.0 % (19 / 19) 70.0 % (7 / 10)
get_graph_pattern_def CBC 14 76.9 % (10 / 13) 70.0 % (7 / 10)
get_json_agg_constructor CBC 108 92.9 % (13 / 14) 62.5 % (5 / 8)
get_json_agg_constructor_expr CBC 28 85.7 % (6 / 7) 50.0 % (3 / 6)
get_json_format CBC 128 100.0 % (10 / 10) 70.0 % (7 / 10)
get_json_table GNC 84 100.0 % (39 / 39) 90.6 % (29 / 32)
get_relation_name CBC 10658 80.0 % (4 / 5) 25.0 % (1 / 4)
get_rule_orderby CBC 255 90.9 % (20 / 22) 81.2 % (13 / 16)
get_update_query_def CBC 94 100.0 % (21 / 21) 70.0 % (7 / 10)
json_table_plan_is_default GNC 116 92.3 % (12 / 13) 75.0 % (9 / 12)
set_simple_column_names CBC 32794 100.0 % (10 / 10) 83.3 % (15 / 18)
appendContextKeyword CBC 19626 73.7 % (14 / 19) 66.7 % (4 / 6)
find_param_generator_initplan CBC 1947 100.0 % (7 / 7) 85.7 % (12 / 14)
get_coercion_expr CBC 3715 100.0 % (13 / 13) 83.3 % (10 / 12)
get_const_expr CBC 47851 100.0 % (51 / 51) 92.3 % (24 / 26)
get_json_constructor_options CBC 204 100.0 % (13 / 13) 87.5 % (14 / 16)
get_json_expr_options CBC 428 100.0 % (16 / 16) 90.0 % (18 / 20)
get_rtable_name CBC 4141 100.0 % (4 / 4) 50.0 % (2 / 4)
get_rule_windowclause CBC 32 92.9 % (13 / 14) 80.0 % (8 / 10)
get_simple_binary_op_name CBC 100 88.9 % (8 / 9) 50.0 % (2 / 4)
get_tablesample_def CBC 18 93.3 % (14 / 15) 80.0 % (8 / 10)
get_values_def CBC 193 100.0 % (19 / 19) 87.5 % (14 / 16)
is_input_argument CBC 64 100.0 % (4 / 4) 75.0 % (6 / 8)
make_propgraphdef_labels CBC 380 100.0 % (23 / 23) 85.7 % (12 / 14)
make_propgraphdef_properties CBC 477 100.0 % (34 / 34) 88.9 % (16 / 18)
pg_get_expr_ext CBC 572 88.9 % (8 / 9) 50.0 % (2 / 4)
pg_get_indexdef_ext CBC 1347 88.9 % (8 / 9) 50.0 % (2 / 4)
pg_get_propgraphdef CBC 132 93.8 % (15 / 16) 66.7 % (4 / 6)
pg_get_querydef UBC 0 0.0 % (0 / 5) 0.0 % (0 / 2)
pg_get_ruledef_ext CBC 76 87.5 % (7 / 8) 50.0 % (2 / 4)
pg_get_statisticsobjdef_expressions CBC 128 96.0 % (24 / 25) 80.0 % (8 / 10)
pg_get_viewdef_ext CBC 399 87.5 % (7 / 8) 50.0 % (2 / 4)
pg_get_viewdef_name_ext CBC 268 90.0 % (9 / 10) 50.0 % (2 / 4)
printSubscripts CBC 316 75.0 % (9 / 12) 75.0 % (6 / 8)
quote_identifier CBC 1912680 100.0 % (29 / 29) 94.1 % (32 / 34)
set_relation_column_names CBC 63954 100.0 % (62 / 62) 95.7 % (44 / 46)
colname_is_unique CBC 304773 95.2 % (20 / 21) 96.9 % (31 / 32)
get_column_alias_list CBC 3794 100.0 % (14 / 14) 87.5 % (7 / 8)
get_for_portion_of CBC 141 100.0 % (13 / 13) 83.3 % (5 / 6)
get_json_path_spec CBC 428 80.0 % (4 / 5) 50.0 % (1 / 2)
get_json_returning CBC 200 87.5 % (7 / 8) 87.5 % (7 / 8)
get_json_table_nested_columns CBC 104 100.0 % (15 / 15) 83.3 % (5 / 6)
get_range_partbound_string CBC 3162 100.0 % (18 / 18) 90.0 % (9 / 10)
get_reloptions CBC 131 94.4 % (17 / 18) 87.5 % (7 / 8)
get_returning_clause CBC 109 100.0 % (20 / 20) 92.9 % (13 / 14)
get_rte_alias CBC 4065 95.7 % (22 / 23) 95.5 % (21 / 22)
get_rule_expr_toplevel CBC 2131 100.0 % (5 / 5) 75.0 % (3 / 4)
get_rule_list_toplevel CBC 326 100.0 % (8 / 8) 83.3 % (5 / 6)
get_tablefunc CBC 122 100.0 % (6 / 6) 75.0 % (3 / 4)
looks_like_function CBC 1335 91.7 % (11 / 12) 88.9 % (8 / 9)
make_colname_unique CBC 303206 92.9 % (13 / 14) 83.3 % (5 / 6)
pg_get_constraintdef_ext CBC 2959 87.5 % (7 / 8) 75.0 % (3 / 4)
pg_get_expr CBC 5963 87.5 % (7 / 8) 50.0 % (1 / 2)
pg_get_function_sqlbody CBC 1847 92.3 % (12 / 13) 75.0 % (3 / 4)
pg_get_indexdef_columns CBC 747 100.0 % (3 / 3) 50.0 % (1 / 2)
pg_get_indexdef_columns_extended CBC 4 100.0 % (5 / 5) 50.0 % (1 / 2)
pg_get_partkeydef_columns CBC 94 100.0 % (3 / 3) 50.0 % (1 / 2)
pg_get_statisticsobjdef_columns CBC 284 83.3 % (5 / 6) 50.0 % (1 / 2)
pg_get_triggerdef_ext CBC 655 85.7 % (6 / 7) 50.0 % (1 / 2)
pg_get_userbyid CBC 1251 90.9 % (10 / 11) 50.0 % (1 / 2)
pg_get_viewdef_name CBC 52 88.9 % (8 / 9) 50.0 % (1 / 2)
pg_get_viewdef_wrap CBC 4 87.5 % (7 / 8) 50.0 % (1 / 2)
set_deparse_context_plan CBC 39803 100.0 % (9 / 9) 75.0 % (3 / 4)
set_deparse_for_query CBC 3614 100.0 % (23 / 23) 95.0 % (19 / 20)
set_deparse_plan CBC 102058 97.1 % (34 / 35) 96.4 % (27 / 28)
set_rtable_names CBC 36408 100.0 % (49 / 49) 97.6 % (41 / 42)
add_to_names_hash CBC 332551 100.0 % (4 / 4) 100.0 % (2 / 2)
decompile_column_index_array CBC 4481 100.0 % (9 / 9) 100.0 % (8 / 8)
destroy_colinfo_names_hash CBC 64894 100.0 % (5 / 5) 100.0 % (2 / 2)
expand_colnames_array_to CBC 66086 100.0 % (7 / 7) 100.0 % (4 / 4)
get_const_collation CBC 42308 100.0 % (7 / 7) 100.0 % (4 / 4)
get_oper_expr CBC 41502 100.0 % (18 / 18) 100.0 % (6 / 6)
get_rule_expr_funccall CBC 572 100.0 % (8 / 8) 100.0 % (2 / 2)
get_rule_expr_paren CBC 110740 100.0 % (9 / 9) 100.0 % (8 / 8)
get_special_variable CBC 34660 100.0 % (8 / 8) 100.0 % (4 / 4)
pg_get_constraintdef CBC 1232 100.0 % (7 / 7) 100.0 % (2 / 2)
pg_get_function_arguments CBC 2504 100.0 % (9 / 9) 100.0 % (2 / 2)
pg_get_function_identity_arguments CBC 2138 100.0 % (9 / 9) 100.0 % (2 / 2)
pg_get_function_result CBC 2204 100.0 % (12 / 12) 100.0 % (4 / 4)
pg_get_indexdef CBC 3184 100.0 % (7 / 7) 100.0 % (2 / 2)
pg_get_partition_constraintdef CBC 153 100.0 % (9 / 9) 100.0 % (2 / 2)
pg_get_partkeydef CBC 826 100.0 % (6 / 6) 100.0 % (2 / 2)
pg_get_ruledef CBC 237 100.0 % (7 / 7) 100.0 % (2 / 2)
pg_get_statisticsobjdef CBC 163 100.0 % (6 / 6) 100.0 % (2 / 2)
pg_get_triggerdef CBC 96 100.0 % (6 / 6) 100.0 % (2 / 2)
pg_get_viewdef CBC 1442 100.0 % (7 / 7) 100.0 % (2 / 2)
print_function_rettype CBC 2176 100.0 % (16 / 16) 100.0 % (8 / 8)
print_function_sqlbody CBC 141 100.0 % (22 / 22) 100.0 % (8 / 8)
print_function_trftypes CBC 123 100.0 % (10 / 10) 100.0 % (6 / 6)
quote_qualified_identifier CBC 745475 100.0 % (6 / 6) 100.0 % (2 / 2)
removeStringInfoSpaces CBC 19108 100.0 % (4 / 4) 100.0 % (4 / 4)
simple_quote_literal CBC 18668 100.0 % (9 / 9) 100.0 % (4 / 4)
deparse_context_for CBC 16100 100.0 % (19 / 19)
deparse_expression CBC 55117 100.0 % (2 / 2)
deparse_expression_pretty CBC 64550 100.0 % (17 / 17)
generate_opclass_name CBC 4 100.0 % (4 / 4)
get_agg_expr CBC 3164 100.0 % (3 / 3)
get_window_frame_options_for_explain CBC 186 100.0 % (17 / 17)
get_windowfunc_expr CBC 246 100.0 % (3 / 3)
list_oid_str_pair_cmp_by_str CBC 97 100.0 % (4 / 4)
pg_get_constraintdef_command CBC 460 100.0 % (2 / 2)
pg_get_indexdef_string CBC 179 100.0 % (2 / 2)
pg_get_partconstrdef_string CBC 65 100.0 % (4 / 4)
pg_get_statisticsobjdef_string CBC 53 100.0 % (2 / 2)
pop_ancestor_plan CBC 3101 100.0 % (4 / 4)
pop_child_plan CBC 59154 100.0 % (5 / 5)
propdata_by_name_cmp CBC 773 100.0 % (6 / 6)
push_ancestor_plan CBC 3101 100.0 % (8 / 8)
push_child_plan CBC 59154 100.0 % (5 / 5)
select_rtable_names_for_explain CBC 16606 100.0 % (8 / 8)
string_to_text CBC 26843 100.0 % (4 / 4)

Generated by: LCOV version 2.0-1