LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - ruleutils.c (source / functions) Coverage Total Hit UBC CBC EUB ECB
Current: c70b6db34ffeab48beef1fb4ce61bcad3772b8dd vs 06473f5a344df8c9594ead90a609b86f6724cff8 Lines: 90.5 % 5350 4843 507 4843
Current Date: 2025-09-06 07:49:51 +0900 Functions: 99.4 % 170 169 1 169
Baseline: lcov-20250907-010129-baseline Branches: 73.2 % 3910 2863 1047 2863 1 1
Baseline Date: 2025-09-05 08:21:35 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 95.7 % 139 133 6 133
(360..) days: 90.4 % 5211 4710 501 4710
Function coverage date bins:
(30,360] days: 100.0 % 3 3 3
(360..) days: 99.4 % 167 166 1 166
Branch coverage date bins:
(30,360] days: 75.0 % 120 90 30 90
(360..) days: 73.1 % 3792 2773 1017 2773 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 21 57.1 % (8 / 14) 60.0 % (6 / 10)
get_rule_windowspec CBC 21 56.7 % (17 / 30) 29.2 % (7 / 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)
pg_get_viewdef_name CBC 36 88.9 % (8 / 9) 50.0 % (1 / 2)
get_delete_query_def CBC 38 100.0 % (18 / 18) 60.0 % (6 / 10)
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_json_returning CBC 84 87.5 % (7 / 8) 87.5 % (7 / 8)
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_json_constructor CBC 87 94.4 % (34 / 36) 83.3 % (20 / 24)
get_json_constructor_options CBC 87 92.3 % (12 / 13) 81.2 % (13 / 16)
get_func_sql_syntax CBC 90 94.9 % (131 / 138) 73.5 % (36 / 49)
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_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 95 100.0 % (17 / 17)
print_function_sqlbody CBC 111 100.0 % (22 / 22) 100.0 % (8 / 8)
pg_get_indexdef_string CBC 114 100.0 % (2 / 2)
get_window_frame_options CBC 116 82.6 % (38 / 46) 76.3 % (29 / 38)
get_reloptions CBC 122 94.4 % (17 / 18) 87.5 % (7 / 8)
get_agg_combine_expr CBC 130 85.7 % (6 / 7) 25.0 % (1 / 4)
get_values_def CBC 136 100.0 % (19 / 19) 87.5 % (14 / 16)
pg_get_statisticsobjdef CBC 139 100.0 % (6 / 6) 100.0 % (2 / 2)
generate_collation_name CBC 147 83.3 % (10 / 12) 33.3 % (2 / 6)
get_windowfunc_expr CBC 153 100.0 % (3 / 3)
get_windowfunc_expr_helper CBC 159 85.7 % (42 / 49) 59.3 % (32 / 54)
get_rule_orderby CBC 166 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_viewdef_ext CBC 281 87.5 % (7 / 8) 50.0 % (2 / 4)
pg_get_ruledef_worker CBC 282 87.5 % (21 / 24) 50.0 % (9 / 18)
pg_get_constraintdef_command CBC 304 100.0 % (2 / 2)
get_rule_sortgroupclause CBC 342 96.2 % (25 / 26) 70.8 % (17 / 24)
pg_get_statisticsobj_worker CBC 359 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_rule_expr_funccall CBC 432 100.0 % (8 / 8) 100.0 % (2 / 2)
pg_get_indexdef_columns CBC 515 100.0 % (3 / 3) 50.0 % (1 / 2)
pg_get_triggerdef_ext CBC 625 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 707 90.1 % (127 / 141) 76.4 % (55 / 72)
pg_get_partkeydef CBC 738 100.0 % (6 / 6) 100.0 % (2 / 2)
identify_join_columns CBC 749 86.7 % (26 / 30) 58.8 % (20 / 34)
set_join_column_names CBC 749 96.5 % (111 / 115) 72.4 % (71 / 98)
add_cast_to CBC 797 90.0 % (9 / 10) 25.0 % (1 / 4)
pg_get_partkeydef_worker CBC 809 92.6 % (63 / 68) 70.8 % (34 / 48)
pg_get_userbyid CBC 867 90.9 % (10 / 11) 50.0 % (1 / 2)
get_agg_expr CBC 991 100.0 % (3 / 3)
pg_get_indexdef_ext CBC 997 88.9 % (8 / 9) 50.0 % (2 / 4)
get_agg_expr_helper CBC 1018 98.0 % (49 / 50) 84.1 % (37 / 44)
looks_like_function CBC 1057 91.7 % (11 / 12) 88.9 % (8 / 9)
pg_get_constraintdef CBC 1169 100.0 % (7 / 7) 100.0 % (2 / 2)
find_param_generator CBC 1273 93.1 % (27 / 29) 76.2 % (32 / 42)
pg_get_viewdef CBC 1316 100.0 % (7 / 7) 100.0 % (2 / 2)
find_param_generator_initplan CBC 1453 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 1811 92.3 % (12 / 13) 75.0 % (3 / 4)
make_viewdef CBC 1834 93.3 % (28 / 30) 50.0 % (10 / 20)
pg_get_viewdef_worker CBC 1837 88.9 % (24 / 27) 50.0 % (9 / 18)
print_function_rettype CBC 2018 100.0 % (16 / 16) 100.0 % (8 / 8)
pg_get_function_result CBC 2073 100.0 % (12 / 12) 100.0 % (4 / 4)
pg_get_function_identity_arguments CBC 2105 100.0 % (9 / 9) 100.0 % (2 / 2)
pop_ancestor_plan CBC 2317 100.0 % (4 / 4)
push_ancestor_plan CBC 2317 100.0 % (8 / 8)
get_range_partbound_string CBC 2358 100.0 % (18 / 18) 90.0 % (9 / 10)
pg_get_function_arguments CBC 2371 100.0 % (9 / 9) 100.0 % (2 / 2)
pg_get_constraintdef_ext CBC 2411 87.5 % (7 / 8) 75.0 % (3 / 4)
get_target_list CBC 2496 100.0 % (44 / 44) 81.0 % (34 / 42)
get_basic_select_query CBC 2531 79.2 % (42 / 53) 69.0 % (29 / 42)
get_simple_values_rte CBC 2531 96.3 % (26 / 27) 79.5 % (35 / 44)
get_from_clause CBC 2544 93.5 % (29 / 31) 75.0 % (18 / 24)
get_coercion_expr CBC 2570 100.0 % (13 / 13) 83.3 % (10 / 12)
get_select_query_def CBC 2613 74.5 % (41 / 55) 66.7 % (24 / 36)
isSimpleNode CBC 2763 63.7 % (58 / 91) 60.8 % (45 / 74)
decompile_column_index_array CBC 2798 100.0 % (9 / 9) 100.0 % (8 / 8)
get_with_clause CBC 2904 94.7 % (72 / 76) 75.8 % (50 / 66)
pg_get_indexdef CBC 2925 100.0 % (7 / 7) 100.0 % (2 / 2)
get_query_def CBC 2933 96.2 % (50 / 52) 80.0 % (16 / 20)
set_deparse_for_query CBC 3012 100.0 % (23 / 23) 95.0 % (19 / 20)
get_column_alias_list CBC 3108 100.0 % (14 / 14) 87.5 % (7 / 8)
generate_operator_clause CBC 3150 94.4 % (17 / 18) 60.0 % (6 / 10)
get_rte_alias CBC 3345 95.7 % (22 / 23) 95.5 % (21 / 22)
get_rtable_name CBC 3402 100.0 % (4 / 4) 50.0 % (2 / 4)
get_parameter CBC 3581 95.3 % (41 / 43) 73.8 % (31 / 42)
find_param_referent CBC 3590 97.1 % (33 / 34) 85.4 % (41 / 48)
get_from_clause_item CBC 3803 91.3 % (126 / 138) 76.7 % (89 / 116)
pg_get_constraintdef_worker CBC 3884 83.6 % (148 / 177) 69.5 % (66 / 95)
flatten_reloptions CBC 3956 91.7 % (11 / 12) 50.0 % (3 / 6)
generate_relation_name CBC 4050 83.3 % (20 / 24) 75.0 % (18 / 24)
generate_qualified_relation_name CBC 4196 83.3 % (10 / 12) 25.0 % (2 / 8)
pg_get_expr CBC 4447 87.5 % (7 / 8) 50.0 % (1 / 2)
pg_get_indexdef_worker CBC 4607 92.0 % (115 / 125) 79.0 % (79 / 100)
print_function_arguments CBC 4761 96.2 % (75 / 78) 83.9 % (47 / 56)
pg_get_expr_worker CBC 4809 80.8 % (21 / 26) 50.0 % (13 / 26)
get_func_expr CBC 6275 97.3 % (36 / 37) 88.9 % (32 / 36)
generate_function_name CBC 6343 83.9 % (26 / 31) 57.1 % (16 / 28)
get_opclass_name CBC 6543 78.6 % (11 / 14) 60.0 % (6 / 10)
has_dangerous_join_using CBC 7073 85.7 % (18 / 21) 82.1 % (23 / 28)
set_using_names CBC 7232 96.4 % (54 / 56) 79.2 % (38 / 48)
get_relation_name CBC 8432 80.0 % (4 / 5) 25.0 % (1 / 4)
deparse_context_for_plan_tree CBC 11966 100.0 % (19 / 19) 71.4 % (10 / 14)
select_rtable_names_for_explain CBC 11966 100.0 % (8 / 8)
deparse_context_for CBC 12202 100.0 % (19 / 19)
simple_quote_literal CBC 13662 100.0 % (9 / 9) 87.5 % (7 / 8)
removeStringInfoSpaces CBC 14750 100.0 % (4 / 4) 100.0 % (4 / 4)
appendContextKeyword CBC 14971 73.7 % (14 / 19) 66.7 % (4 / 6)
get_special_variable CBC 21992 100.0 % (8 / 8) 100.0 % (4 / 4)
string_to_text CBC 22798 100.0 % (4 / 4)
set_simple_column_names CBC 24250 100.0 % (10 / 10) 83.3 % (15 / 18)
set_deparse_context_plan CBC 26909 100.0 % (9 / 9) 75.0 % (3 / 4)
set_rtable_names CBC 27262 100.0 % (49 / 49) 97.6 % (41 / 42)
get_oper_expr CBC 30280 100.0 % (18 / 18) 100.0 % (6 / 6)
get_const_collation CBC 31051 100.0 % (7 / 7) 100.0 % (4 / 4)
generate_operator_name CBC 32007 88.9 % (24 / 27) 58.8 % (10 / 17)
get_const_expr CBC 35119 100.0 % (51 / 51) 92.3 % (24 / 26)
pop_child_plan CBC 35631 100.0 % (5 / 5)
push_child_plan CBC 35631 100.0 % (5 / 5)
deparse_expression CBC 36693 100.0 % (2 / 2)
deparse_expression_pretty CBC 43567 100.0 % (17 / 17)
set_relation_column_names CBC 46683 100.0 % (62 / 62) 95.7 % (44 / 46)
build_colinfo_names_hash CBC 47432 68.4 % (13 / 19) 50.0 % (8 / 16)
destroy_colinfo_names_hash CBC 47432 100.0 % (5 / 5) 100.0 % (2 / 2)
expand_colnames_array_to CBC 48332 100.0 % (7 / 7) 100.0 % (4 / 4)
resolve_special_varno CBC 60449 90.2 % (37 / 41) 55.6 % (20 / 36)
set_deparse_plan CBC 64857 97.1 % (34 / 35) 96.4 % (27 / 28)
get_rule_expr_paren CBC 81117 100.0 % (9 / 9) 100.0 % (8 / 8)
get_variable CBC 87039 89.0 % (89 / 100) 75.8 % (91 / 120)
get_rule_expr CBC 168218 89.8 % (653 / 727) 74.9 % (337 / 450)
make_colname_unique CBC 228063 92.9 % (13 / 14) 83.3 % (5 / 6)
colname_is_unique CBC 229247 95.2 % (20 / 21) 96.9 % (31 / 32)
add_to_names_hash CBC 252055 100.0 % (4 / 4) 100.0 % (2 / 2)
quote_qualified_identifier CBC 625186 100.0 % (6 / 6) 100.0 % (2 / 2)
quote_identifier CBC 1259958 100.0 % (29 / 29) 94.1 % (32 / 34)

Generated by: LCOV version 2.4-beta