LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - ruleutils.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC EUB ECB DUB DCB
Current: b45a8d7d8b306b43f31a002f1b3f1dddc8defeaf vs 8767b449a3a1e75626dfb08f24da54933171d4c5 Lines: 90.6 % 5364 4861 8 495 8 15 4838 4 5
Current Date: 2025-10-28 08:26:42 +0900 Functions: 99.4 % 170 169 1 4 165
Baseline: lcov-20251028-005825-baseline Branches: 73.3 % 3920 2875 6 1039 5 10 2860 1 1
Baseline Date: 2025-10-27 06:37:35 +0000 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 50.0 % 2 1 1 1
(7,30] days: 66.7 % 21 14 7 14
(30,360] days: 96.2 % 131 126 5 1 125
(360..) days: 90.6 % 5210 4720 490 7 4713
Function coverage date bins:
(30,360] days: 100.0 % 3 3 3
(360..) days: 99.4 % 167 166 1 4 162
Branch coverage date bins:
(1,7] days: 25.0 % 4 1 3 1
(7,30] days: 75.0 % 12 9 3 9
(30,360] days: 74.6 % 114 85 29 1 84
(360..) days: 73.3 % 3792 2780 1010 4 2776 1 1

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
pg_get_querydef UBC 0 0.0 % (0 / 5) 0.0 % (0 / 2)
generate_opclass_name CBC 3 100.0 % (4 / 4)
get_from_clause_coldeflist CBC 3 90.5 % (19 / 21) 72.2 % (26 / 36)
pg_get_viewdef_wrap CBC 3 87.5 % (7 / 8) 50.0 % (1 / 2)
pg_get_indexdef_columns_extended CBC 4 100.0 % (5 / 5) 50.0 % (1 / 2)
get_merge_query_def CBC 6 96.2 % (76 / 79) 80.0 % (48 / 60)
pg_get_serial_sequence CBC 6 93.3 % (28 / 30) 55.6 % (10 / 18)
generate_qualified_type_name CBC 7 83.3 % (10 / 12) 25.0 % (2 / 8)
get_utility_query_def CBC 8 76.9 % (10 / 13) 37.5 % (3 / 8)
get_rule_groupingset CBC 9 70.6 % (24 / 34) 61.5 % (16 / 26)
pg_get_statisticsobjdef_expressions CBC 12 96.0 % (24 / 25) 80.0 % (8 / 10)
pg_get_statisticsobjdef_string CBC 13 100.0 % (2 / 2)
get_tablesample_def CBC 16 93.3 % (14 / 15) 80.0 % (8 / 10)
get_rule_windowclause CBC 24 92.9 % (13 / 14) 80.0 % (8 / 10)
get_rule_windowspec CBC 24 56.7 % (17 / 30) 33.3 % (8 / 24)
pg_get_function_arg_default CBC 27 93.3 % (28 / 30) 77.8 % (14 / 18)
get_xmltable CBC 31 94.4 % (51 / 54) 77.3 % (51 / 66)
get_json_agg_constructor CBC 33 91.7 % (11 / 12) 50.0 % (3 / 6)
get_delete_query_def CBC 38 100.0 % (18 / 18) 60.0 % (6 / 10)
pg_get_viewdef_name CBC 39 88.9 % (8 / 9) 50.0 % (1 / 2)
get_json_behavior CBC 42 88.9 % (8 / 9) 50.0 % (4 / 8)
is_input_argument CBC 48 100.0 % (4 / 4) 75.0 % (6 / 8)
get_json_table_nested_columns CBC 51 100.0 % (15 / 15) 83.3 % (5 / 6)
get_json_table CBC 54 100.0 % (35 / 35) 89.3 % (25 / 28)
pg_get_partconstrdef_string CBC 55 100.0 % (4 / 4)
pg_get_ruledef_ext CBC 57 87.5 % (7 / 8) 50.0 % (2 / 4)
pg_get_partkeydef_columns CBC 71 100.0 % (3 / 3) 50.0 % (1 / 2)
get_returning_clause CBC 73 100.0 % (20 / 20) 92.9 % (13 / 14)
get_simple_binary_op_name CBC 75 88.9 % (8 / 9) 50.0 % (2 / 4)
get_update_query_def CBC 77 100.0 % (20 / 20) 70.0 % (7 / 10)
pg_get_triggerdef CBC 82 100.0 % (6 / 6) 100.0 % (2 / 2)
print_function_trftypes CBC 83 100.0 % (10 / 10) 100.0 % (6 / 6)
get_tablefunc CBC 85 100.0 % (6 / 6) 75.0 % (3 / 4)
pg_get_functiondef CBC 86 89.0 % (97 / 109) 73.1 % (57 / 78)
find_recursive_union CBC 87 85.7 % (6 / 7) 50.0 % (6 / 12)
get_func_sql_syntax CBC 90 94.9 % (131 / 138) 73.5 % (36 / 49)
get_json_returning CBC 90 87.5 % (7 / 8) 87.5 % (7 / 8)
get_json_table_columns CBC 90 100.0 % (45 / 45) 84.6 % (44 / 52)
pg_get_partition_constraintdef CBC 91 100.0 % (9 / 9) 100.0 % (2 / 2)
get_json_constructor CBC 93 94.4 % (34 / 36) 83.3 % (20 / 24)
get_json_constructor_options CBC 93 92.3 % (12 / 13) 81.2 % (13 / 16)
get_json_format CBC 93 100.0 % (10 / 10) 70.0 % (7 / 10)
get_update_query_targetlist_def CBC 95 88.1 % (52 / 59) 69.2 % (36 / 52)
get_window_frame_options_for_explain CBC 98 100.0 % (17 / 17)
print_function_sqlbody CBC 105 100.0 % (22 / 22) 100.0 % (8 / 8)
pg_get_indexdef_string CBC 114 100.0 % (2 / 2)
get_window_frame_options CBC 119 82.6 % (38 / 46) 76.3 % (29 / 38)
pg_get_statisticsobjdef CBC 121 100.0 % (6 / 6) 100.0 % (2 / 2)
get_reloptions CBC 122 94.4 % (17 / 18) 87.5 % (7 / 8)
get_values_def CBC 136 100.0 % (19 / 19) 87.5 % (14 / 16)
generate_collation_name CBC 147 83.3 % (10 / 12) 33.3 % (2 / 6)
get_windowfunc_expr CBC 162 100.0 % (3 / 3)
get_windowfunc_expr_helper GNC 168 88.5 % (46 / 52) 62.5 % (35 / 56)
get_rule_orderby CBC 169 90.9 % (20 / 22) 81.2 % (13 / 16)
get_insert_query_def CBC 170 84.5 % (71 / 84) 60.0 % (42 / 70)
pg_get_viewdef_name_ext CBC 201 90.0 % (9 / 10) 50.0 % (2 / 4)
pg_get_statisticsobjdef_columns CBC 207 83.3 % (5 / 6) 50.0 % (1 / 2)
pg_get_ruledef CBC 225 100.0 % (7 / 7) 100.0 % (2 / 2)
printSubscripts CBC 227 75.0 % (9 / 12) 75.0 % (6 / 8)
get_json_expr_options CBC 228 100.0 % (16 / 16) 90.0 % (18 / 20)
get_json_path_spec CBC 228 80.0 % (4 / 5) 50.0 % (1 / 2)
get_sublink_expr CBC 230 90.6 % (58 / 64) 76.5 % (26 / 34)
get_rule_list_toplevel CBC 252 100.0 % (8 / 8) 83.3 % (5 / 6)
make_ruledef CBC 279 94.6 % (87 / 92) 62.8 % (27 / 43)
pg_get_ruledef_worker CBC 282 87.5 % (21 / 24) 50.0 % (9 / 18)
pg_get_viewdef_ext CBC 282 87.5 % (7 / 8) 50.0 % (2 / 4)
pg_get_constraintdef_command CBC 304 100.0 % (2 / 2)
get_rule_sortgroupclause CBC 333 96.2 % (25 / 26) 70.8 % (17 / 24)
pg_get_statisticsobj_worker CBC 341 97.2 % (70 / 72) 80.6 % (50 / 62)
pg_get_expr_ext CBC 362 88.9 % (8 / 9) 50.0 % (2 / 4)
get_setop_query CBC 378 71.4 % (50 / 70) 50.0 % (26 / 52)
get_agg_combine_expr CBC 388 85.7 % (6 / 7) 25.0 % (1 / 4)
get_rule_expr_funccall CBC 438 100.0 % (8 / 8) 100.0 % (2 / 2)
pg_get_indexdef_columns CBC 533 100.0 % (3 / 3) 50.0 % (1 / 2)
pg_get_triggerdef_ext CBC 595 85.7 % (6 / 7) 50.0 % (1 / 2)
processIndirection CBC 636 83.3 % (25 / 30) 63.6 % (14 / 22)
get_name_for_var_field CBC 670 78.9 % (116 / 147) 49.7 % (77 / 155)
pg_get_triggerdef_worker CBC 677 90.1 % (127 / 141) 76.4 % (55 / 72)
pg_get_partkeydef CBC 714 100.0 % (6 / 6) 100.0 % (2 / 2)
identify_join_columns CBC 761 86.7 % (26 / 30) 58.8 % (20 / 34)
set_join_column_names CBC 761 96.5 % (111 / 115) 72.4 % (71 / 98)
pg_get_partkeydef_worker CBC 785 92.6 % (63 / 68) 70.8 % (34 / 48)
pg_get_userbyid CBC 873 90.9 % (10 / 11) 50.0 % (1 / 2)
pg_get_indexdef_ext CBC 997 88.9 % (8 / 9) 50.0 % (2 / 4)
looks_like_function CBC 1033 91.7 % (11 / 12) 88.9 % (8 / 9)
pg_get_constraintdef CBC 1069 100.0 % (7 / 7) 100.0 % (2 / 2)
add_cast_to CBC 1095 90.0 % (9 / 10) 25.0 % (1 / 4)
pg_get_viewdef CBC 1237 100.0 % (7 / 7) 100.0 % (2 / 2)
find_param_generator CBC 1276 93.1 % (27 / 29) 76.2 % (32 / 42)
find_param_generator_initplan CBC 1456 100.0 % (7 / 7) 85.7 % (12 / 14)
get_rule_expr_toplevel CBC 1522 100.0 % (5 / 5) 75.0 % (3 / 4)
pg_get_function_sqlbody CBC 1756 92.3 % (12 / 13) 75.0 % (3 / 4)
make_viewdef CBC 1759 93.3 % (28 / 30) 50.0 % (10 / 20)
pg_get_viewdef_worker CBC 1762 88.9 % (24 / 27) 50.0 % (9 / 18)
print_function_rettype CBC 1969 100.0 % (16 / 16) 100.0 % (8 / 8)
pg_get_function_result CBC 2018 100.0 % (12 / 12) 100.0 % (4 / 4)
pg_get_function_identity_arguments CBC 2044 100.0 % (9 / 9) 100.0 % (2 / 2)
get_range_partbound_string CBC 2298 100.0 % (18 / 18) 90.0 % (9 / 10)
pg_get_function_arguments CBC 2310 100.0 % (9 / 9) 100.0 % (2 / 2)
pop_ancestor_plan CBC 2320 100.0 % (4 / 4)
push_ancestor_plan CBC 2320 100.0 % (8 / 8)
get_agg_expr CBC 2349 100.0 % (3 / 3)
pg_get_constraintdef_ext CBC 2351 87.5 % (7 / 8) 75.0 % (3 / 4)
get_agg_expr_helper CBC 2376 98.0 % (49 / 50) 84.1 % (37 / 44)
get_target_list CBC 2415 100.0 % (44 / 44) 81.0 % (34 / 42)
get_basic_select_query GNC 2450 80.0 % (44 / 55) 70.5 % (31 / 44)
get_simple_values_rte CBC 2450 96.3 % (26 / 27) 79.5 % (35 / 44)
get_from_clause CBC 2463 93.5 % (29 / 31) 75.0 % (18 / 24)
get_select_query_def CBC 2532 74.5 % (41 / 55) 66.7 % (24 / 36)
get_coercion_expr CBC 2589 100.0 % (13 / 13) 83.3 % (10 / 12)
decompile_column_index_array CBC 2702 100.0 % (9 / 9) 100.0 % (8 / 8)
isSimpleNode CBC 2806 65.9 % (60 / 91) 62.2 % (46 / 74)
pg_get_indexdef CBC 2811 100.0 % (7 / 7) 100.0 % (2 / 2)
get_with_clause CBC 2823 94.7 % (72 / 76) 75.8 % (50 / 66)
get_query_def CBC 2852 96.2 % (50 / 52) 80.0 % (16 / 20)
set_deparse_for_query CBC 2931 100.0 % (23 / 23) 95.0 % (19 / 20)
get_column_alias_list CBC 3053 100.0 % (14 / 14) 87.5 % (7 / 8)
get_rte_alias CBC 3290 95.7 % (22 / 23) 95.5 % (21 / 22)
generate_operator_clause CBC 3321 94.4 % (17 / 18) 60.0 % (6 / 10)
get_rtable_name CBC 3347 100.0 % (4 / 4) 50.0 % (2 / 4)
get_parameter GNC 3587 95.7 % (44 / 46) 75.0 % (33 / 44)
find_param_referent CBC 3596 97.1 % (33 / 34) 85.4 % (41 / 48)
pg_get_constraintdef_worker CBC 3724 83.6 % (148 / 177) 69.5 % (66 / 95)
get_from_clause_item CBC 3760 91.3 % (126 / 138) 76.7 % (89 / 116)
flatten_reloptions CBC 3842 91.7 % (11 / 12) 50.0 % (3 / 6)
generate_relation_name CBC 3959 83.3 % (20 / 24) 75.0 % (18 / 24)
generate_qualified_relation_name CBC 4052 83.3 % (10 / 12) 25.0 % (2 / 8)
pg_get_expr CBC 4232 87.5 % (7 / 8) 50.0 % (1 / 2)
pg_get_indexdef_worker CBC 4511 92.0 % (115 / 125) 79.0 % (79 / 100)
pg_get_expr_worker CBC 4594 80.8 % (21 / 26) 50.0 % (13 / 26)
print_function_arguments CBC 4633 96.2 % (75 / 78) 83.9 % (47 / 56)
get_func_expr CBC 6284 97.3 % (36 / 37) 88.9 % (32 / 36)
get_opclass_name CBC 6309 78.6 % (11 / 14) 60.0 % (6 / 10)
has_dangerous_join_using CBC 6949 85.7 % (18 / 21) 82.1 % (23 / 28)
set_using_names CBC 7108 96.4 % (54 / 56) 79.2 % (38 / 48)
generate_function_name CBC 7461 83.9 % (26 / 31) 57.1 % (16 / 28)
get_relation_name CBC 8150 80.0 % (4 / 5) 25.0 % (1 / 4)
deparse_context_for CBC 11791 100.0 % (19 / 19)
deparse_context_for_plan_tree CBC 12114 100.0 % (19 / 19) 71.4 % (10 / 14)
select_rtable_names_for_explain CBC 12114 100.0 % (8 / 8)
simple_quote_literal CBC 13618 100.0 % (9 / 9) 87.5 % (7 / 8)
removeStringInfoSpaces CBC 14823 100.0 % (4 / 4) 100.0 % (4 / 4)
appendContextKeyword CBC 15040 73.7 % (14 / 19) 66.7 % (4 / 6)
string_to_text CBC 21991 100.0 % (4 / 4)
set_simple_column_names CBC 23981 100.0 % (10 / 10) 83.3 % (15 / 18)
get_special_variable CBC 25465 100.0 % (8 / 8) 100.0 % (4 / 4)
set_rtable_names CBC 26912 100.0 % (49 / 49) 97.6 % (41 / 42)
set_deparse_context_plan CBC 28823 100.0 % (9 / 9) 75.0 % (3 / 4)
get_oper_expr CBC 30559 100.0 % (18 / 18) 100.0 % (6 / 6)
get_const_collation CBC 30887 100.0 % (7 / 7) 100.0 % (4 / 4)
generate_operator_name CBC 32287 88.9 % (24 / 27) 58.8 % (10 / 17)
get_const_expr CBC 34883 100.0 % (51 / 51) 92.3 % (24 / 26)
deparse_expression CBC 40455 100.0 % (2 / 2)
pop_child_plan CBC 43244 100.0 % (5 / 5)
push_child_plan CBC 43244 100.0 % (5 / 5)
set_relation_column_names CBC 46964 100.0 % (62 / 62) 95.7 % (44 / 46)
deparse_expression_pretty CBC 47020 100.0 % (17 / 17)
build_colinfo_names_hash CBC 47725 68.4 % (13 / 19) 50.0 % (8 / 16)
destroy_colinfo_names_hash CBC 47725 100.0 % (5 / 5) 100.0 % (2 / 2)
expand_colnames_array_to CBC 48625 100.0 % (7 / 7) 100.0 % (4 / 4)
resolve_special_varno CBC 71807 90.2 % (37 / 41) 55.6 % (20 / 36)
set_deparse_plan CBC 74387 97.1 % (34 / 35) 96.4 % (27 / 28)
get_rule_expr_paren CBC 81616 100.0 % (9 / 9) 100.0 % (8 / 8)
get_variable CBC 94085 89.0 % (89 / 100) 75.8 % (91 / 120)
get_rule_expr GNC 176484 89.4 % (655 / 733) 74.4 % (338 / 454)
make_colname_unique CBC 228605 92.9 % (13 / 14) 83.3 % (5 / 6)
colname_is_unique CBC 229789 95.2 % (20 / 21) 96.9 % (31 / 32)
add_to_names_hash CBC 253302 100.0 % (4 / 4) 100.0 % (2 / 2)
quote_qualified_identifier CBC 625962 100.0 % (6 / 6) 100.0 % (2 / 2)
quote_identifier CBC 1269277 100.0 % (29 / 29) 94.1 % (32 / 34)

Generated by: LCOV version 2.4-beta