LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - ruleutils.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DCB
Current: ba12a202ce1b5581dc0ed149cf3f637d7897ad5d vs 2866d8c7dbfc9d882a7d80fef93fbbe763709932 Lines: 90.6 % 5697 5164 10 523 41 5123 11
Current Date: 2026-08-27 14:31:44 +0300 Functions: 99.5 % 184 183 1 8 175
Baseline: lcov-20260827-baseline Branches: 73.3 % 4119 3021 17 1081 25 2996
Baseline Date: 2026-08-27 14:31:58 +0300 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 12 12 10 2
(30,360] days: 85.3 % 389 332 10 47 31 301
(360..) days: 91.0 % 5296 4820 476 4820
Function coverage date bins:
(30,360] days: 100.0 % 15 15 2 13
(360..) days: 99.4 % 169 168 1 6 162
Branch coverage date bins:
(30,360] days: 65.4 % 231 151 17 63 25 126
(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 241483 89.6 % (660 / 737) 74.9 % (341 / 455)
get_name_for_var_field CBC 1058 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 128746 89.0 % (89 / 100) 75.8 % (91 / 120)
pg_get_constraintdef_worker GNC 4571 83.6 % (148 / 177) 69.5 % (66 / 95)
get_from_clause_item CBC 4671 92.2 % (142 / 154) 77.6 % (97 / 125)
set_join_column_names GNC 940 96.5 % (111 / 115) 72.4 % (71 / 98)
get_setop_query CBC 463 71.4 % (50 / 70) 50.0 % (26 / 52)
isSimpleNode CBC 3817 70.3 % (64 / 91) 64.9 % (48 / 74)
get_windowfunc_expr_helper CBC 266 88.5 % (46 / 52) 62.5 % (35 / 56)
pg_get_indexdef_worker CBC 5544 92.0 % (115 / 125) 79.0 % (79 / 100)
pg_get_functiondef CBC 131 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 727 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 126 88.1 % (52 / 59) 69.2 % (36 / 52)
get_with_clause CBC 3534 94.7 % (72 / 76) 75.8 % (50 / 66)
make_ruledef CBC 325 94.6 % (87 / 92) 62.8 % (27 / 43)
resolve_special_varno CBC 100057 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 GNC 940 86.7 % (26 / 30) 58.8 % (20 / 34)
pg_get_partkeydef_worker CBC 912 92.6 % (63 / 68) 70.8 % (34 / 48)
get_basic_select_query CBC 3072 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 5971 80.8 % (21 / 26) 50.0 % (13 / 26)
generate_function_name CBC 9746 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 496 97.2 % (70 / 72) 80.6 % (50 / 62)
find_param_generator CBC 1717 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 4807 95.7 % (44 / 46) 77.3 % (34 / 44)
get_path_pattern_expr_def CBC 23 65.4 % (34 / 52) 61.5 % (16 / 26)
get_rule_groupingset CBC 12 70.6 % (24 / 34) 61.5 % (16 / 26)
make_viewdef CBC 2174 93.3 % (28 / 30) 50.0 % (10 / 20)
set_using_names CBC 8853 96.4 % (54 / 56) 79.2 % (38 / 48)
get_simple_values_rte CBC 3072 96.3 % (26 / 27) 79.5 % (35 / 44)
pg_get_ruledef_worker CBC 329 87.5 % (21 / 24) 50.0 % (9 / 18)
pg_get_viewdef_worker CBC 2178 88.9 % (24 / 27) 50.0 % (9 / 18)
print_function_arguments CBC 4995 96.2 % (75 / 78) 83.9 % (47 / 56)
build_colinfo_names_hash CBC 64709 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 3022 100.0 % (44 / 44) 81.0 % (34 / 42)
get_window_frame_options CBC 218 84.8 % (39 / 46) 78.9 % (30 / 38)
pg_get_serial_sequence CBC 8 93.3 % (28 / 30) 55.6 % (10 / 18)
processIndirection CBC 737 83.3 % (25 / 30) 63.6 % (14 / 22)
find_param_referent CBC 4819 97.1 % (33 / 34) 85.4 % (41 / 48)
generate_operator_name CBC 43797 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 13 83.3 % (10 / 12) 25.0 % (2 / 8)
generate_relation_name CBC 5505 83.3 % (20 / 24) 75.0 % (18 / 24)
get_from_clause CBC 3078 93.5 % (29 / 31) 75.0 % (18 / 24)
get_graph_label_expr CBC 105 90.9 % (20 / 22) 64.7 % (11 / 17)
get_select_query_def CBC 3175 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 8633 85.7 % (18 / 21) 82.1 % (23 / 28)
deparse_context_for_plan_tree GNC 16789 100.0 % (18 / 18) 71.4 % (10 / 14)
generate_collation_name CBC 368 83.3 % (10 / 12) 33.3 % (2 / 6)
generate_operator_clause CBC 3143 94.4 % (17 / 18) 60.0 % (6 / 10)
get_func_expr CBC 8156 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 208 95.5 % (42 / 44) 84.6 % (22 / 26)
get_opclass_name CBC 7389 78.6 % (11 / 14) 60.0 % (6 / 10)
get_query_def CBC 3565 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 4616 91.7 % (11 / 12) 50.0 % (3 / 6)
generate_qualified_relation_name CBC 4666 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 55 100.0 % (19 / 19) 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 148 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 10581 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 102 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 32280 100.0 % (10 / 10) 83.3 % (15 / 18)
appendContextKeyword CBC 19635 73.7 % (14 / 19) 66.7 % (4 / 6)
find_param_generator_initplan CBC 1951 100.0 % (7 / 7) 85.7 % (12 / 14)
get_coercion_expr CBC 3640 100.0 % (13 / 13) 83.3 % (10 / 12)
get_const_expr CBC 46949 100.0 % (51 / 51) 92.3 % (24 / 26)
get_graph_pattern_def CBC 23 92.3 % (12 / 13) 80.0 % (8 / 10)
get_json_constructor_options CBC 208 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 4166 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 496 88.9 % (8 / 9) 50.0 % (2 / 4)
pg_get_indexdef_ext CBC 1375 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 92 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 403 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 1899430 100.0 % (29 / 29) 94.1 % (32 / 34)
set_relation_column_names GNC 63769 100.0 % (62 / 62) 95.7 % (44 / 46)
colname_is_unique CBC 304215 95.2 % (20 / 21) 96.9 % (31 / 32)
get_column_alias_list CBC 3803 100.0 % (14 / 14) 87.5 % (7 / 8)
get_for_portion_of CBC 157 100.0 % (14 / 14) 83.3 % (5 / 6)
get_json_path_spec CBC 428 80.0 % (4 / 5) 50.0 % (1 / 2)
get_json_returning CBC 204 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 2642 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 4090 95.7 % (22 / 23) 95.5 % (21 / 22)
get_rule_expr_toplevel CBC 2195 100.0 % (5 / 5) 75.0 % (3 / 4)
get_rule_list_toplevel CBC 358 100.0 % (8 / 8) 83.3 % (5 / 6)
get_tablefunc CBC 122 100.0 % (6 / 6) 75.0 % (3 / 4)
looks_like_function CBC 1352 91.7 % (11 / 12) 88.9 % (8 / 9)
make_colname_unique CBC 302648 92.9 % (13 / 14) 83.3 % (5 / 6)
pg_get_constraintdef_ext CBC 2903 87.5 % (7 / 8) 75.0 % (3 / 4)
pg_get_expr CBC 5475 87.5 % (7 / 8) 50.0 % (1 / 2)
pg_get_function_sqlbody CBC 1857 92.3 % (12 / 13) 75.0 % (3 / 4)
pg_get_indexdef_columns CBC 746 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 276 83.3 % (5 / 6) 50.0 % (1 / 2)
pg_get_triggerdef_ext CBC 631 85.7 % (6 / 7) 50.0 % (1 / 2)
pg_get_userbyid CBC 1231 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 40395 100.0 % (9 / 9) 75.0 % (3 / 4)
set_deparse_for_query CBC 3651 100.0 % (23 / 23) 95.0 % (19 / 20)
set_deparse_plan CBC 104023 97.1 % (34 / 35) 96.4 % (27 / 28)
set_rtable_names CBC 35931 100.0 % (49 / 49) 97.6 % (41 / 42)
add_to_names_hash CBC 331993 100.0 % (4 / 4) 100.0 % (2 / 2)
decompile_column_index_array CBC 4433 100.0 % (9 / 9) 100.0 % (8 / 8)
destroy_colinfo_names_hash CBC 64709 100.0 % (5 / 5) 100.0 % (2 / 2)
expand_colnames_array_to CBC 65901 100.0 % (7 / 7) 100.0 % (4 / 4)
get_const_collation CBC 42094 100.0 % (7 / 7) 100.0 % (4 / 4)
get_oper_expr CBC 41411 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 110607 100.0 % (9 / 9) 100.0 % (8 / 8)
get_special_variable CBC 35547 100.0 % (8 / 8) 100.0 % (4 / 4)
pg_get_constraintdef CBC 1200 100.0 % (7 / 7) 100.0 % (2 / 2)
pg_get_function_arguments CBC 2514 100.0 % (9 / 9) 100.0 % (2 / 2)
pg_get_function_identity_arguments CBC 2148 100.0 % (9 / 9) 100.0 % (2 / 2)
pg_get_function_result CBC 2214 100.0 % (12 / 12) 100.0 % (4 / 4)
pg_get_indexdef CBC 3165 100.0 % (7 / 7) 100.0 % (2 / 2)
pg_get_partition_constraintdef CBC 121 100.0 % (9 / 9) 100.0 % (2 / 2)
pg_get_partkeydef CBC 818 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 1451 100.0 % (7 / 7) 100.0 % (2 / 2)
print_function_rettype CBC 2190 100.0 % (16 / 16) 100.0 % (8 / 8)
print_function_sqlbody CBC 145 100.0 % (22 / 22) 100.0 % (8 / 8)
print_function_trftypes CBC 127 100.0 % (10 / 10) 100.0 % (6 / 6)
quote_qualified_identifier CBC 736451 100.0 % (6 / 6) 100.0 % (2 / 2)
removeStringInfoSpaces CBC 19117 100.0 % (4 / 4) 100.0 % (4 / 4)
simple_quote_literal CBC 18067 100.0 % (9 / 9) 100.0 % (4 / 4)
deparse_context_for CBC 15403 100.0 % (19 / 19)
deparse_expression CBC 55760 100.0 % (2 / 2)
deparse_expression_pretty CBC 64566 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 190 100.0 % (17 / 17)
get_windowfunc_expr CBC 254 100.0 % (3 / 3)
list_oid_str_pair_cmp_by_str CBC 97 100.0 % (4 / 4)
pg_get_constraintdef_command CBC 468 100.0 % (2 / 2)
pg_get_indexdef_string CBC 178 100.0 % (2 / 2)
pg_get_partconstrdef_string CBC 65 100.0 % (4 / 4)
pg_get_statisticsobjdef_string CBC 57 100.0 % (2 / 2)
pop_ancestor_plan CBC 3102 100.0 % (4 / 4)
pop_child_plan CBC 60526 100.0 % (5 / 5)
propdata_by_name_cmp CBC 773 100.0 % (6 / 6)
push_ancestor_plan CBC 3102 100.0 % (8 / 8)
push_child_plan CBC 60526 100.0 % (5 / 5)
select_rtable_names_for_explain CBC 16789 100.0 % (8 / 8)
string_to_text CBC 26195 100.0 % (4 / 4)

Generated by: LCOV version 2.0-1