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 DCB
Current: 4b3c9325757dfd8f2312e9f1a8decf4431f344ae vs e87b024bfb8dd55e3049b1b6e6ab4e810cf1abc8 Lines: 90.8 % 5453 4954 10 489 1 43 4910 12
Current Date: 2026-11-28 16:48:44 +0900 Functions: 99.4 % 174 173 1 9 164
Baseline: lcov-20261128-baseline Branches: 73.6 % 3992 2939 18 1035 1 26 2912
Baseline Date: 2026-11-28 16:48:48 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 9 9 2 7
(30,360] days: 79.4 % 131 104 10 17 41 63
(360..) days: 91.1 % 5313 4841 472 1 4840
Function coverage date bins:
(30,360] days: 100.0 % 5 5 2 3
(360..) days: 99.4 % 169 168 1 7 161
Branch coverage date bins:
(7,30] days: 83.3 % 6 5 1 1 4
(30,360] days: 61.1 % 90 55 17 18 25 30
(360..) days: 73.9 % 3896 2879 1017 1 2878

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
add_cast_to CBC 1443 90.0 % (9 / 10) 25.0 % (1 / 4)
add_to_names_hash CBC 337420 100.0 % (4 / 4) 100.0 % (2 / 2)
appendContextKeyword CBC 19941 73.7 % (14 / 19) 66.7 % (4 / 6)
build_colinfo_names_hash CBC 67182 68.4 % (13 / 19) 50.0 % (8 / 16)
colname_is_unique CBC 309675 100.0 % (21 / 21) 100.0 % (32 / 32)
decompile_column_index_array CBC 3134 100.0 % (9 / 9) 100.0 % (8 / 8)
deparse_context_for CBC 14834 100.0 % (19 / 19)
deparse_context_for_plan_tree GNC 17428 100.0 % (18 / 18) 71.4 % (10 / 14)
deparse_expression CBC 59755 100.0 % (2 / 2)
deparse_expression_pretty CBC 68315 100.0 % (17 / 17)
destroy_colinfo_names_hash CBC 67182 100.0 % (5 / 5) 100.0 % (2 / 2)
expand_colnames_array_to CBC 68374 100.0 % (7 / 7) 100.0 % (4 / 4)
find_param_generator CBC 1811 93.1 % (27 / 29) 76.2 % (32 / 42)
find_param_generator_initplan CBC 2086 100.0 % (7 / 7) 85.7 % (12 / 14)
find_param_referent CBC 5760 97.1 % (33 / 34) 85.4 % (41 / 48)
find_recursive_union CBC 116 85.7 % (6 / 7) 50.0 % (6 / 12)
flatten_reloptions CBC 4609 91.7 % (11 / 12) 50.0 % (3 / 6)
generate_collation_name CBC 306 83.3 % (10 / 12) 33.3 % (2 / 6)
generate_function_name CBC 9916 83.3 % (25 / 30) 57.1 % (16 / 28)
generate_opclass_name CBC 4 100.0 % (4 / 4)
generate_operator_clause CBC 3332 94.4 % (17 / 18) 60.0 % (6 / 10)
generate_operator_name CBC 45416 88.9 % (24 / 27) 58.8 % (10 / 17)
generate_qualified_relation_name CBC 4618 88.9 % (8 / 9) 25.0 % (1 / 4)
generate_qualified_type_name CBC 13 83.3 % (10 / 12) 25.0 % (2 / 8)
generate_relation_name CBC 5021 83.3 % (20 / 24) 75.0 % (18 / 24)
get_agg_combine_expr CBC 560 85.7 % (6 / 7) 25.0 % (1 / 4)
get_agg_expr CBC 3330 100.0 % (3 / 3)
get_agg_expr_helper CBC 3398 98.0 % (49 / 50) 84.1 % (37 / 44)
get_basic_select_query CBC 3103 79.2 % (42 / 53) 69.0 % (29 / 42)
get_coercion_expr CBC 3789 100.0 % (13 / 13) 83.3 % (10 / 12)
get_column_alias_list CBC 3798 100.0 % (14 / 14) 87.5 % (7 / 8)
get_const_collation CBC 43530 100.0 % (7 / 7) 100.0 % (4 / 4)
get_const_expr CBC 48398 100.0 % (51 / 51) 92.3 % (24 / 26)
get_delete_query_def CBC 39 100.0 % (18 / 18) 60.0 % (6 / 10)
get_from_clause CBC 3081 93.5 % (29 / 31) 75.0 % (18 / 24)
get_from_clause_coldeflist CBC 4 90.5 % (19 / 21) 72.2 % (26 / 36)
get_from_clause_item CBC 4666 91.3 % (126 / 138) 76.7 % (89 / 116)
get_func_expr CBC 8258 97.3 % (36 / 37) 88.9 % (32 / 36)
get_func_sql_syntax CBC 124 94.9 % (131 / 138) 73.5 % (36 / 49)
get_insert_query_def CBC 194 85.9 % (79 / 92) 60.3 % (47 / 78)
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_behavior CBC 72 88.9 % (8 / 9) 50.0 % (4 / 8)
get_json_constructor CBC 216 95.5 % (42 / 44) 84.6 % (22 / 26)
get_json_constructor_options CBC 216 100.0 % (13 / 13) 87.5 % (14 / 16)
get_json_expr_options CBC 436 100.0 % (16 / 16) 90.0 % (18 / 20)
get_json_format CBC 148 100.0 % (10 / 10) 70.0 % (7 / 10)
get_json_path_spec CBC 436 80.0 % (4 / 5) 50.0 % (1 / 2)
get_json_returning CBC 212 87.5 % (7 / 8) 87.5 % (7 / 8)
get_json_table GNC 88 100.0 % (39 / 39) 90.6 % (29 / 32)
get_json_table_columns CBC 164 100.0 % (45 / 45) 84.6 % (44 / 52)
get_json_table_nested_columns CBC 104 100.0 % (15 / 15) 83.3 % (5 / 6)
get_json_table_plan GNC 12 62.5 % (15 / 24) 46.2 % (12 / 26)
get_lock_clause_strength CBC 8 30.8 % (4 / 13) 12.5 % (1 / 8)
get_merge_query_def CBC 16 96.2 % (76 / 79) 80.0 % (48 / 60)
get_name_for_var_field CBC 1071 78.9 % (116 / 147) 49.7 % (77 / 155)
get_opclass_name CBC 7549 78.6 % (11 / 14) 60.0 % (6 / 10)
get_oper_expr CBC 42904 100.0 % (18 / 18) 100.0 % (6 / 6)
get_parameter CBC 5748 95.7 % (44 / 46) 79.5 % (35 / 44)
get_query_def CBC 3572 96.2 % (51 / 53) 80.0 % (16 / 20)
get_range_partbound_string CBC 2702 100.0 % (18 / 18) 90.0 % (9 / 10)
get_relation_name CBC 10164 80.0 % (4 / 5) 25.0 % (1 / 4)
get_reloptions CBC 131 94.4 % (17 / 18) 87.5 % (7 / 8)
get_returning_clause CBC 97 100.0 % (20 / 20) 92.9 % (13 / 14)
get_rtable_name CBC 4137 100.0 % (4 / 4) 50.0 % (2 / 4)
get_rte_alias CBC 4061 95.7 % (22 / 23) 95.5 % (21 / 22)
get_rule_expr CBC 254729 90.1 % (665 / 738) 75.2 % (346 / 460)
get_rule_expr_funccall CBC 576 100.0 % (8 / 8) 100.0 % (2 / 2)
get_rule_expr_paren CBC 114144 100.0 % (9 / 9) 100.0 % (8 / 8)
get_rule_expr_toplevel CBC 2623 100.0 % (5 / 5) 75.0 % (3 / 4)
get_rule_groupingset CBC 12 70.6 % (24 / 34) 61.5 % (16 / 26)
get_rule_list_toplevel CBC 366 100.0 % (8 / 8) 83.3 % (5 / 6)
get_rule_orderby CBC 246 90.9 % (20 / 22) 81.2 % (13 / 16)
get_rule_sortgroupclause CBC 448 96.2 % (25 / 26) 70.8 % (17 / 24)
get_rule_windowclause CBC 32 92.9 % (13 / 14) 80.0 % (8 / 10)
get_rule_windowspec CBC 32 56.7 % (17 / 30) 33.3 % (8 / 24)
get_select_query_def CBC 3206 92.9 % (39 / 42) 82.1 % (23 / 28)
get_setop_query CBC 463 71.4 % (50 / 70) 50.0 % (26 / 52)
get_simple_binary_op_name CBC 100 88.9 % (8 / 9) 50.0 % (2 / 4)
get_simple_values_rte CBC 3103 96.3 % (26 / 27) 79.5 % (35 / 44)
get_special_variable CBC 39426 100.0 % (8 / 8) 100.0 % (4 / 4)
get_sublink_expr CBC 306 90.6 % (58 / 64) 76.5 % (26 / 34)
get_tablefunc CBC 126 100.0 % (6 / 6) 75.0 % (3 / 4)
get_tablesample_def CBC 18 93.3 % (14 / 15) 80.0 % (8 / 10)
get_target_list CBC 3037 100.0 % (44 / 44) 81.0 % (34 / 42)
get_update_query_def CBC 86 100.0 % (20 / 20) 70.0 % (7 / 10)
get_update_query_targetlist_def CBC 118 88.1 % (52 / 59) 69.2 % (36 / 52)
get_utility_query_def CBC 9 76.9 % (10 / 13) 37.5 % (3 / 8)
get_values_def CBC 197 100.0 % (19 / 19) 87.5 % (14 / 16)
get_variable CBC 136893 89.0 % (89 / 100) 75.8 % (91 / 120)
get_window_frame_options CBC 218 84.8 % (39 / 46) 78.9 % (30 / 38)
get_window_frame_options_for_explain CBC 190 100.0 % (17 / 17)
get_windowfunc_expr CBC 254 100.0 % (3 / 3)
get_windowfunc_expr_helper CBC 266 88.5 % (46 / 52) 62.5 % (35 / 56)
get_with_clause CBC 3541 94.7 % (72 / 76) 75.8 % (50 / 66)
get_xmltable CBC 38 94.4 % (51 / 54) 77.3 % (51 / 66)
has_dangerous_join_using CBC 8607 85.7 % (18 / 21) 82.1 % (23 / 28)
identify_join_columns GNC 940 86.7 % (26 / 30) 58.8 % (20 / 34)
isSimpleNode CBC 3905 71.1 % (69 / 97) 66.7 % (54 / 81)
is_input_argument CBC 64 100.0 % (4 / 4) 75.0 % (6 / 8)
json_table_plan_is_default GNC 116 92.3 % (12 / 13) 75.0 % (9 / 12)
looks_like_function CBC 1534 86.4 % (19 / 22) 83.3 % (10 / 12)
make_colname_unique CBC 308040 92.9 % (13 / 14) 83.3 % (5 / 6)
make_ruledef CBC 313 94.6 % (87 / 92) 62.8 % (27 / 43)
make_viewdef CBC 2173 93.3 % (28 / 30) 50.0 % (10 / 20)
pg_get_constraintdef CBC 1130 100.0 % (7 / 7) 100.0 % (2 / 2)
pg_get_constraintdef_command CBC 468 100.0 % (2 / 2)
pg_get_constraintdef_ext CBC 2797 87.5 % (7 / 8) 75.0 % (3 / 4)
pg_get_constraintdef_worker GNC 4395 83.6 % (148 / 177) 69.5 % (66 / 95)
pg_get_expr CBC 5259 100.0 % (8 / 8) 100.0 % (2 / 2)
pg_get_expr_ext CBC 496 88.9 % (8 / 9) 50.0 % (2 / 4)
pg_get_expr_worker CBC 5755 84.6 % (22 / 26) 53.8 % (14 / 26)
pg_get_function_arg_default CBC 36 93.3 % (28 / 30) 77.8 % (14 / 18)
pg_get_function_arguments CBC 2467 100.0 % (9 / 9) 100.0 % (2 / 2)
pg_get_function_identity_arguments CBC 2113 100.0 % (9 / 9) 100.0 % (2 / 2)
pg_get_function_result CBC 2171 100.0 % (12 / 12) 100.0 % (4 / 4)
pg_get_function_sqlbody CBC 1822 92.3 % (12 / 13) 75.0 % (3 / 4)
pg_get_functiondef GNC 127 89.3 % (100 / 112) 75.0 % (60 / 80)
pg_get_indexdef CBC 3108 100.0 % (7 / 7) 100.0 % (2 / 2)
pg_get_indexdef_columns CBC 804 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_indexdef_ext CBC 1375 88.9 % (8 / 9) 50.0 % (2 / 4)
pg_get_indexdef_string CBC 187 100.0 % (2 / 2)
pg_get_indexdef_worker CBC 5595 92.0 % (115 / 125) 79.0 % (79 / 100)
pg_get_partconstrdef_string CBC 65 100.0 % (4 / 4)
pg_get_partition_constraintdef CBC 121 100.0 % (9 / 9) 100.0 % (2 / 2)
pg_get_partkeydef CBC 831 100.0 % (6 / 6) 100.0 % (2 / 2)
pg_get_partkeydef_columns CBC 94 100.0 % (3 / 3) 50.0 % (1 / 2)
pg_get_partkeydef_worker CBC 925 92.6 % (63 / 68) 70.8 % (34 / 48)
pg_get_querydef UBC 0 0.0 % (0 / 5) 0.0 % (0 / 2)
pg_get_ruledef CBC 237 100.0 % (7 / 7) 100.0 % (2 / 2)
pg_get_ruledef_ext CBC 80 87.5 % (7 / 8) 50.0 % (2 / 4)
pg_get_ruledef_worker CBC 317 87.5 % (21 / 24) 50.0 % (9 / 18)
pg_get_serial_sequence CBC 8 93.3 % (28 / 30) 55.6 % (10 / 18)
pg_get_statisticsobj_worker CBC 509 97.2 % (70 / 72) 80.6 % (50 / 62)
pg_get_statisticsobjdef CBC 176 100.0 % (6 / 6) 100.0 % (2 / 2)
pg_get_statisticsobjdef_columns CBC 276 83.3 % (5 / 6) 50.0 % (1 / 2)
pg_get_statisticsobjdef_expressions CBC 140 96.0 % (24 / 25) 80.0 % (8 / 10)
pg_get_statisticsobjdef_string CBC 57 100.0 % (2 / 2)
pg_get_triggerdef CBC 96 100.0 % (6 / 6) 100.0 % (2 / 2)
pg_get_triggerdef_ext CBC 631 85.7 % (6 / 7) 50.0 % (1 / 2)
pg_get_triggerdef_worker CBC 727 90.1 % (127 / 141) 76.4 % (55 / 72)
pg_get_userbyid CBC 1215 90.9 % (10 / 11) 50.0 % (1 / 2)
pg_get_viewdef CBC 1442 100.0 % (7 / 7) 100.0 % (2 / 2)
pg_get_viewdef_ext CBC 407 87.5 % (7 / 8) 50.0 % (2 / 4)
pg_get_viewdef_name CBC 52 88.9 % (8 / 9) 50.0 % (1 / 2)
pg_get_viewdef_name_ext CBC 272 90.0 % (9 / 10) 50.0 % (2 / 4)
pg_get_viewdef_worker CBC 2177 88.9 % (24 / 27) 50.0 % (9 / 18)
pg_get_viewdef_wrap CBC 4 87.5 % (7 / 8) 50.0 % (1 / 2)
pop_ancestor_plan CBC 3949 100.0 % (4 / 4)
pop_child_plan CBC 67449 100.0 % (5 / 5)
printSubscripts CBC 324 75.0 % (9 / 12) 75.0 % (6 / 8)
print_function_arguments CBC 4904 96.2 % (75 / 78) 83.9 % (47 / 56)
print_function_rettype CBC 2147 100.0 % (16 / 16) 100.0 % (8 / 8)
print_function_sqlbody CBC 141 100.0 % (26 / 26) 100.0 % (12 / 12)
print_function_trftypes CBC 123 100.0 % (10 / 10) 100.0 % (6 / 6)
processIndirection CBC 745 83.3 % (25 / 30) 63.6 % (14 / 22)
push_ancestor_plan CBC 3949 100.0 % (8 / 8)
push_child_plan CBC 67449 100.0 % (5 / 5)
quote_identifier CBC 1893038 100.0 % (29 / 29) 94.1 % (32 / 34)
quote_qualified_identifier CBC 729213 100.0 % (6 / 6) 100.0 % (2 / 2)
removeStringInfoSpaces CBC 19247 100.0 % (4 / 4) 100.0 % (4 / 4)
resolve_special_varno CBC 111210 90.2 % (37 / 41) 55.6 % (20 / 36)
select_rtable_names_for_explain CBC 17428 100.0 % (8 / 8)
set_deparse_context_plan CBC 43560 100.0 % (6 / 6) 50.0 % (1 / 2)
set_deparse_for_query CBC 3658 100.0 % (23 / 23) 95.0 % (19 / 20)
set_deparse_plan CBC 114958 100.0 % (39 / 39) 100.0 % (30 / 30)
set_join_column_names GNC 940 96.5 % (111 / 115) 72.4 % (71 / 98)
set_relation_column_names GNC 66242 100.0 % (62 / 62) 95.7 % (44 / 46)
set_rtable_names CBC 36008 100.0 % (49 / 49) 97.6 % (41 / 42)
set_simple_column_names CBC 32350 100.0 % (10 / 10) 83.3 % (15 / 18)
set_using_names CBC 8827 96.4 % (54 / 56) 79.2 % (38 / 48)
simple_quote_literal CBC 18036 100.0 % (9 / 9) 100.0 % (4 / 4)
string_to_text CBC 25504 100.0 % (4 / 4)

Generated by: LCOV version 2.0-1