LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - ruleutils.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GNC CBC DCB
Current: b368bdd230181c60e085267fe65d42fd372d3a24 vs d39fda1cc404834781458376173e5293f870e83a Lines: 90.7 % 5426 4924 10 2 490 1 41 4882 11
Current Date: 2026-09-21 17:36:50 +0700 Functions: 99.4 % 174 173 1 8 165
Baseline: lcov-20260921-baseline Branches: 73.5 % 3972 2918 17 2 1035 1 25 2892
Baseline Date: 2026-09-21 12:11:14 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 78.5 % 130 102 10 18 41 61
(360..) days: 91.0 % 5296 4822 2 472 1 4821
Function coverage date bins:
(30,360] days: 100.0 % 5 5 2 3
(360..) days: 99.4 % 169 168 1 6 162
Branch coverage date bins:
(30,360] days: 57.0 % 86 49 17 20 25 24
(360..) days: 73.8 % 3886 2869 2 1015 1 2868

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 243450 89.5 % (656 / 733) 74.9 % (340 / 454)
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 129724 89.0 % (89 / 100) 75.8 % (91 / 120)
pg_get_constraintdef_worker GNC 4341 83.6 % (148 / 177) 69.5 % (66 / 95)
get_from_clause_item CBC 4629 91.3 % (126 / 138) 76.7 % (89 / 116)
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 3809 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 5441 92.0 % (115 / 125) 79.0 % (79 / 100)
pg_get_functiondef CBC 115 89.2 % (99 / 111) 75.0 % (60 / 80)
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 110 88.1 % (52 / 59) 69.2 % (36 / 52)
get_with_clause CBC 3469 94.7 % (72 / 76) 75.8 % (50 / 66)
make_ruledef CBC 309 94.6 % (87 / 92) 62.8 % (27 / 43)
resolve_special_varno CBC 101828 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 907 92.6 % (63 / 68) 70.8 % (34 / 48)
get_basic_select_query CBC 3039 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 5701 80.8 % (21 / 26) 50.0 % (13 / 26)
generate_function_name CBC 9704 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 5092 95.7 % (44 / 46) 77.3 % (34 / 44)
get_rule_groupingset CBC 12 70.6 % (24 / 34) 61.5 % (16 / 26)
make_viewdef CBC 2141 93.3 % (28 / 30) 50.0 % (10 / 20)
set_using_names CBC 8714 96.4 % (54 / 56) 79.2 % (38 / 48)
get_simple_values_rte CBC 3039 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 2145 88.9 % (24 / 27) 50.0 % (9 / 18)
print_function_arguments CBC 4862 96.2 % (75 / 78) 83.9 % (47 / 56)
build_colinfo_names_hash CBC 64584 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 2973 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 721 83.3 % (25 / 30) 63.6 % (14 / 22)
find_param_referent CBC 5104 97.1 % (33 / 34) 85.4 % (41 / 48)
generate_operator_name CBC 44047 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 435 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 4975 83.3 % (20 / 24) 75.0 % (18 / 24)
get_from_clause CBC 3013 93.5 % (29 / 31) 75.0 % (18 / 24)
get_select_query_def CBC 3142 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 8494 85.7 % (18 / 21) 82.1 % (23 / 28)
deparse_context_for_plan_tree GNC 16992 100.0 % (18 / 18) 71.4 % (10 / 14)
generate_collation_name CBC 306 83.3 % (10 / 12) 33.3 % (2 / 6)
generate_operator_clause CBC 3134 94.4 % (17 / 18) 60.0 % (6 / 10)
get_delete_query_def CBC 39 100.0 % (18 / 18) 60.0 % (6 / 10)
get_func_expr CBC 8062 97.3 % (36 / 37) 88.9 % (32 / 36)
get_json_behavior CBC 80 88.9 % (8 / 9) 50.0 % (4 / 8)
get_json_constructor CBC 216 95.5 % (42 / 44) 84.6 % (22 / 26)
get_opclass_name CBC 7251 78.6 % (11 / 14) 60.0 % (6 / 10)
get_query_def CBC 3500 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 1362 90.0 % (9 / 10) 25.0 % (1 / 4)
flatten_reloptions CBC 4493 91.7 % (11 / 12) 50.0 % (3 / 6)
generate_qualified_relation_name CBC 4543 88.9 % (8 / 9) 25.0 % (1 / 4)
get_agg_combine_expr CBC 524 85.7 % (6 / 7) 25.0 % (1 / 4)
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 9954 80.0 % (4 / 5) 25.0 % (1 / 4)
get_rule_orderby CBC 246 90.9 % (20 / 22) 81.2 % (13 / 16)
get_update_query_def CBC 86 100.0 % (20 / 20) 70.0 % (7 / 10)
json_table_plan_is_default GNC 116 92.3 % (12 / 13) 75.0 % (9 / 12)
set_simple_column_names CBC 31637 100.0 % (10 / 10) 83.3 % (15 / 18)
appendContextKeyword CBC 19582 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 3571 100.0 % (13 / 13) 83.3 % (10 / 12)
get_const_expr CBC 47109 100.0 % (51 / 51) 92.3 % (24 / 26)
get_json_constructor_options CBC 216 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 4092 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)
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_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 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 320 75.0 % (9 / 12) 75.0 % (6 / 8)
quote_identifier CBC 1857287 100.0 % (29 / 29) 94.1 % (32 / 34)
set_relation_column_names GNC 63644 100.0 % (62 / 62) 95.7 % (44 / 46)
get_column_alias_list CBC 3761 100.0 % (14 / 14) 87.5 % (7 / 8)
get_json_path_spec CBC 428 80.0 % (4 / 5) 50.0 % (1 / 2)
get_json_returning CBC 212 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 2702 100.0 % (18 / 18) 90.0 % (9 / 10)
get_reloptions CBC 131 94.4 % (17 / 18) 87.5 % (7 / 8)
get_returning_clause CBC 93 100.0 % (20 / 20) 92.9 % (13 / 14)
get_rte_alias CBC 4016 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 301924 92.9 % (13 / 14) 83.3 % (5 / 6)
pg_get_constraintdef_ext CBC 2743 87.5 % (7 / 8) 75.0 % (3 / 4)
pg_get_expr CBC 5205 87.5 % (7 / 8) 50.0 % (1 / 2)
pg_get_function_sqlbody CBC 1807 92.3 % (12 / 13) 75.0 % (3 / 4)
pg_get_indexdef_columns CBC 766 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 1215 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 41130 100.0 % (9 / 9) 75.0 % (3 / 4)
set_deparse_for_query CBC 3586 100.0 % (23 / 23) 95.0 % (19 / 20)
set_rtable_names CBC 35223 100.0 % (49 / 49) 97.6 % (41 / 42)
add_to_names_hash CBC 331269 100.0 % (4 / 4) 100.0 % (2 / 2)
colname_is_unique CBC 303555 100.0 % (21 / 21) 100.0 % (32 / 32)
decompile_column_index_array CBC 3121 100.0 % (9 / 9) 100.0 % (8 / 8)
destroy_colinfo_names_hash CBC 64584 100.0 % (5 / 5) 100.0 % (2 / 2)
expand_colnames_array_to CBC 65776 100.0 % (7 / 7) 100.0 % (4 / 4)
get_const_collation CBC 42259 100.0 % (7 / 7) 100.0 % (4 / 4)
get_oper_expr CBC 41670 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 111233 100.0 % (9 / 9) 100.0 % (8 / 8)
get_special_variable CBC 36209 100.0 % (8 / 8) 100.0 % (4 / 4)
pg_get_constraintdef CBC 1130 100.0 % (7 / 7) 100.0 % (2 / 2)
pg_get_function_arguments CBC 2452 100.0 % (9 / 9) 100.0 % (2 / 2)
pg_get_function_identity_arguments CBC 2098 100.0 % (9 / 9) 100.0 % (2 / 2)
pg_get_function_result CBC 2156 100.0 % (12 / 12) 100.0 % (4 / 4)
pg_get_indexdef CBC 3042 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 813 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 1418 100.0 % (7 / 7) 100.0 % (2 / 2)
print_function_rettype CBC 2120 100.0 % (16 / 16) 100.0 % (8 / 8)
print_function_sqlbody CBC 129 100.0 % (22 / 22) 100.0 % (8 / 8)
print_function_trftypes CBC 111 100.0 % (10 / 10) 100.0 % (6 / 6)
quote_qualified_identifier CBC 718652 100.0 % (6 / 6) 100.0 % (2 / 2)
removeStringInfoSpaces CBC 19000 100.0 % (4 / 4) 100.0 % (4 / 4)
set_deparse_plan CBC 106084 100.0 % (35 / 35) 100.0 % (28 / 28)
simple_quote_literal CBC 17931 100.0 % (9 / 9) 100.0 % (4 / 4)
deparse_context_for CBC 14557 100.0 % (19 / 19)
deparse_expression CBC 56558 100.0 % (2 / 2)
deparse_expression_pretty CBC 64872 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)
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 3387 100.0 % (4 / 4)
pop_child_plan CBC 61567 100.0 % (5 / 5)
push_ancestor_plan CBC 3387 100.0 % (8 / 8)
push_child_plan CBC 61567 100.0 % (5 / 5)
select_rtable_names_for_explain CBC 16992 100.0 % (8 / 8)
string_to_text CBC 25208 100.0 % (4 / 4)

Generated by: LCOV version 2.0-1