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: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 90.8 % 5448 4947 10 491 1 41 4905 11
Current Date: 2026-11-05 14:14:01 +0100 Functions: 99.4 % 174 173 1 8 165
Baseline: lcov-20261105-baseline Branches: 73.5 % 3988 2932 17 1039 1 25 2906
Baseline Date: 2026-11-05 14:14:01 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 78.1 % 32 25 7 25
(30,360] days: 80.0 % 100 80 10 10 41 39
(360..) days: 91.1 % 5316 4842 474 1 4841
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:
(7,30] days: 77.8 % 18 14 4 14
(30,360] days: 56.9 % 72 41 17 14 25 16
(360..) days: 73.8 % 3898 2877 1021 1 2876

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 251897 90.1 % (665 / 738) 75.2 % (346 / 460)
get_name_for_var_field CBC 1058 78.9 % (116 / 147) 49.7 % (77 / 155)
pg_get_constraintdef_worker GNC 4382 83.6 % (148 / 177) 69.5 % (66 / 95)
isSimpleNode CBC 3897 71.1 % (69 / 97) 66.7 % (54 / 81)
get_setop_query CBC 463 71.4 % (50 / 70) 50.0 % (26 / 52)
pg_get_triggerdef_worker CBC 727 90.1 % (127 / 141) 76.4 % (55 / 72)
get_insert_query_def CBC 194 85.9 % (79 / 92) 60.3 % (47 / 78)
get_rule_windowspec CBC 32 56.7 % (17 / 30) 33.3 % (8 / 24)
get_from_clause_item CBC 4641 91.3 % (126 / 138) 76.7 % (89 / 116)
pg_get_functiondef CBC 115 89.2 % (99 / 111) 75.0 % (60 / 80)
get_basic_select_query CBC 3067 79.2 % (42 / 53) 69.0 % (29 / 42)
get_variable CBC 134968 89.0 % (89 / 100) 75.8 % (91 / 120)
get_rule_groupingset CBC 12 70.6 % (24 / 34) 61.5 % (16 / 26)
pg_get_indexdef_worker CBC 5546 92.0 % (115 / 125) 79.0 % (79 / 100)
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_func_sql_syntax CBC 124 94.9 % (131 / 138) 73.5 % (36 / 49)
get_update_query_targetlist_def CBC 110 88.1 % (52 / 59) 69.2 % (36 / 52)
get_window_frame_options CBC 218 84.8 % (39 / 46) 78.9 % (30 / 38)
build_colinfo_names_hash CBC 66333 68.4 % (13 / 19) 50.0 % (8 / 16)
get_sublink_expr CBC 306 90.6 % (58 / 64) 76.5 % (26 / 34)
get_windowfunc_expr_helper CBC 266 88.5 % (46 / 52) 62.5 % (35 / 56)
appendContextKeyword CBC 19728 73.7 % (14 / 19) 66.7 % (4 / 6)
generate_function_name CBC 9861 83.3 % (25 / 30) 57.1 % (16 / 28)
make_ruledef CBC 309 94.6 % (87 / 92) 62.8 % (27 / 43)
pg_get_expr_worker CBC 5717 80.8 % (21 / 26) 50.0 % (13 / 26)
pg_get_partkeydef_worker CBC 907 92.6 % (63 / 68) 70.8 % (34 / 48)
pg_get_querydef UBC 0 0.0 % (0 / 5) 0.0 % (0 / 2)
processIndirection CBC 721 83.3 % (25 / 30) 63.6 % (14 / 22)
generate_relation_name CBC 4975 83.3 % (20 / 24) 75.0 % (18 / 24)
get_with_clause CBC 3497 94.7 % (72 / 76) 75.8 % (50 / 66)
identify_join_columns GNC 940 86.7 % (26 / 30) 58.8 % (20 / 34)
resolve_special_varno CBC 108783 90.2 % (37 / 41) 55.6 % (20 / 36)
set_join_column_names GNC 940 96.5 % (111 / 115) 72.4 % (71 / 98)
generate_operator_name CBC 45151 88.9 % (24 / 27) 58.8 % (10 / 17)
get_merge_query_def CBC 8 96.2 % (76 / 79) 80.0 % (48 / 60)
get_opclass_name CBC 7503 78.6 % (11 / 14) 60.0 % (6 / 10)
get_select_query_def CBC 3170 92.9 % (39 / 42) 82.1 % (23 / 28)
get_utility_query_def CBC 9 76.9 % (10 / 13) 37.5 % (3 / 8)
get_xmltable CBC 38 94.4 % (51 / 54) 77.3 % (51 / 66)
has_dangerous_join_using CBC 8538 85.7 % (18 / 21) 82.1 % (23 / 28)
looks_like_function CBC 1520 86.4 % (19 / 22) 83.3 % (10 / 12)
pg_get_ruledef_worker CBC 313 87.5 % (21 / 24) 50.0 % (9 / 18)
pg_get_viewdef_worker CBC 2153 88.9 % (24 / 27) 50.0 % (9 / 18)
printSubscripts CBC 320 75.0 % (9 / 12) 75.0 % (6 / 8)
print_function_arguments CBC 4862 96.2 % (75 / 78) 83.9 % (47 / 56)
find_param_generator CBC 1787 93.1 % (27 / 29) 76.2 % (32 / 42)
generate_collation_name CBC 306 83.3 % (10 / 12) 33.3 % (2 / 6)
generate_qualified_type_name CBC 13 83.3 % (10 / 12) 25.0 % (2 / 8)
get_from_clause CBC 3037 93.5 % (29 / 31) 75.0 % (18 / 24)
get_from_clause_coldeflist CBC 4 90.5 % (19 / 21) 72.2 % (26 / 36)
get_json_constructor CBC 216 95.5 % (42 / 44) 84.6 % (22 / 26)
get_parameter CBC 5650 95.7 % (44 / 46) 77.3 % (34 / 44)
get_query_def CBC 3528 96.2 % (51 / 53) 80.0 % (16 / 20)
get_rule_orderby CBC 246 90.9 % (20 / 22) 81.2 % (13 / 16)
make_viewdef CBC 2149 93.3 % (28 / 30) 50.0 % (10 / 20)
pg_get_function_arg_default CBC 36 93.3 % (28 / 30) 77.8 % (14 / 18)
pg_get_serial_sequence CBC 8 93.3 % (28 / 30) 55.6 % (10 / 18)
pg_get_statisticsobj_worker CBC 496 97.2 % (70 / 72) 80.6 % (50 / 62)
set_using_names CBC 8758 96.4 % (54 / 56) 79.2 % (38 / 48)
add_cast_to CBC 1424 90.0 % (9 / 10) 25.0 % (1 / 4)
find_param_referent CBC 5662 97.1 % (33 / 34) 85.4 % (41 / 48)
find_recursive_union CBC 116 85.7 % (6 / 7) 50.0 % (6 / 12)
flatten_reloptions CBC 4581 91.7 % (11 / 12) 50.0 % (3 / 6)
generate_operator_clause CBC 3307 94.4 % (17 / 18) 60.0 % (6 / 10)
generate_qualified_relation_name CBC 4590 88.9 % (8 / 9) 25.0 % (1 / 4)
get_agg_combine_expr CBC 560 85.7 % (6 / 7) 25.0 % (1 / 4)
get_agg_expr_helper CBC 3389 98.0 % (49 / 50) 84.1 % (37 / 44)
get_func_expr CBC 8185 97.3 % (36 / 37) 88.9 % (32 / 36)
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_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_relation_name CBC 10067 80.0 % (4 / 5) 25.0 % (1 / 4)
get_reloptions CBC 131 94.4 % (17 / 18) 87.5 % (7 / 8)
get_rte_alias CBC 4028 95.7 % (22 / 23) 95.5 % (21 / 22)
get_rule_sortgroupclause CBC 435 96.2 % (25 / 26) 70.8 % (17 / 24)
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_simple_values_rte CBC 3067 96.3 % (26 / 27) 79.5 % (35 / 44)
get_tablesample_def CBC 18 93.3 % (14 / 15) 80.0 % (8 / 10)
json_table_plan_is_default GNC 116 92.3 % (12 / 13) 75.0 % (9 / 12)
make_colname_unique CBC 306219 92.9 % (13 / 14) 83.3 % (5 / 6)
pg_get_constraintdef_ext CBC 2784 87.5 % (7 / 8) 75.0 % (3 / 4)
pg_get_expr CBC 5221 87.5 % (7 / 8) 50.0 % (1 / 2)
pg_get_expr_ext CBC 496 88.9 % (8 / 9) 50.0 % (2 / 4)
pg_get_function_sqlbody CBC 1807 92.3 % (12 / 13) 75.0 % (3 / 4)
pg_get_indexdef_ext CBC 1375 88.9 % (8 / 9) 50.0 % (2 / 4)
pg_get_ruledef_ext CBC 76 87.5 % (7 / 8) 50.0 % (2 / 4)
pg_get_statisticsobjdef_columns CBC 276 83.3 % (5 / 6) 50.0 % (1 / 2)
pg_get_statisticsobjdef_expressions CBC 136 96.0 % (24 / 25) 80.0 % (8 / 10)
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_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_wrap CBC 4 87.5 % (7 / 8) 50.0 % (1 / 2)
add_to_names_hash CBC 335564 100.0 % (4 / 4) 100.0 % (2 / 2)
colname_is_unique CBC 307850 100.0 % (21 / 21) 100.0 % (32 / 32)
decompile_column_index_array CBC 3121 100.0 % (9 / 9) 100.0 % (8 / 8)
deparse_context_for CBC 14686 100.0 % (19 / 19)
deparse_context_for_plan_tree GNC 17279 100.0 % (18 / 18) 71.4 % (10 / 14)
deparse_expression CBC 58951 100.0 % (2 / 2)
deparse_expression_pretty CBC 67457 100.0 % (17 / 17)
destroy_colinfo_names_hash CBC 66333 100.0 % (5 / 5) 100.0 % (2 / 2)
expand_colnames_array_to CBC 67525 100.0 % (7 / 7) 100.0 % (4 / 4)
find_param_generator_initplan CBC 2077 100.0 % (7 / 7) 85.7 % (12 / 14)
generate_opclass_name CBC 4 100.0 % (4 / 4)
get_agg_expr CBC 3321 100.0 % (3 / 3)
get_coercion_expr CBC 3726 100.0 % (13 / 13) 83.3 % (10 / 12)
get_column_alias_list CBC 3773 100.0 % (14 / 14) 87.5 % (7 / 8)
get_const_collation CBC 43173 100.0 % (7 / 7) 100.0 % (4 / 4)
get_const_expr CBC 48035 100.0 % (51 / 51) 92.3 % (24 / 26)
get_delete_query_def CBC 39 100.0 % (18 / 18) 60.0 % (6 / 10)
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_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_oper_expr CBC 42639 100.0 % (18 / 18) 100.0 % (6 / 6)
get_range_partbound_string CBC 2702 100.0 % (18 / 18) 90.0 % (9 / 10)
get_returning_clause CBC 93 100.0 % (20 / 20) 92.9 % (13 / 14)
get_rtable_name CBC 4104 100.0 % (4 / 4) 50.0 % (2 / 4)
get_rule_expr_funccall CBC 576 100.0 % (8 / 8) 100.0 % (2 / 2)
get_rule_expr_paren CBC 113586 100.0 % (9 / 9) 100.0 % (8 / 8)
get_rule_expr_toplevel CBC 2323 100.0 % (5 / 5) 75.0 % (3 / 4)
get_rule_list_toplevel CBC 358 100.0 % (8 / 8) 83.3 % (5 / 6)
get_special_variable CBC 38566 100.0 % (8 / 8) 100.0 % (4 / 4)
get_tablefunc CBC 126 100.0 % (6 / 6) 75.0 % (3 / 4)
get_target_list CBC 2997 100.0 % (44 / 44) 81.0 % (34 / 42)
get_update_query_def CBC 86 100.0 % (20 / 20) 70.0 % (7 / 10)
get_values_def CBC 197 100.0 % (19 / 19) 87.5 % (14 / 16)
get_window_frame_options_for_explain CBC 190 100.0 % (17 / 17)
get_windowfunc_expr CBC 254 100.0 % (3 / 3)
is_input_argument CBC 64 100.0 % (4 / 4) 75.0 % (6 / 8)
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_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 3088 100.0 % (7 / 7) 100.0 % (2 / 2)
pg_get_indexdef_columns CBC 783 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_string CBC 179 100.0 % (2 / 2)
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 813 100.0 % (6 / 6) 100.0 % (2 / 2)
pg_get_partkeydef_columns CBC 94 100.0 % (3 / 3) 50.0 % (1 / 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_statisticsobjdef_string CBC 57 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)
pop_ancestor_plan CBC 3875 100.0 % (4 / 4)
pop_child_plan CBC 65971 100.0 % (5 / 5)
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)
push_ancestor_plan CBC 3875 100.0 % (8 / 8)
push_child_plan CBC 65971 100.0 % (5 / 5)
quote_identifier CBC 1873664 100.0 % (29 / 29) 94.1 % (32 / 34)
quote_qualified_identifier CBC 720306 100.0 % (6 / 6) 100.0 % (2 / 2)
removeStringInfoSpaces CBC 19114 100.0 % (4 / 4) 100.0 % (4 / 4)
select_rtable_names_for_explain CBC 17279 100.0 % (8 / 8)
set_deparse_context_plan CBC 42930 100.0 % (6 / 6) 50.0 % (1 / 2)
set_deparse_for_query CBC 3614 100.0 % (23 / 23) 95.0 % (19 / 20)
set_deparse_plan CBC 112776 100.0 % (39 / 39) 100.0 % (30 / 30)
set_relation_column_names GNC 65393 100.0 % (62 / 62) 95.7 % (44 / 46)
set_rtable_names CBC 35667 100.0 % (49 / 49) 97.6 % (41 / 42)
set_simple_column_names CBC 32053 100.0 % (10 / 10) 83.3 % (15 / 18)
simple_quote_literal CBC 18030 100.0 % (9 / 9) 100.0 % (4 / 4)
string_to_text CBC 25319 100.0 % (4 / 4)

Generated by: LCOV version 2.0-1