LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - ruleutils.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GBC GIC GNC CBC DCB
Current: Differential Code Coverage 16@8cea358b128 vs 17@8cea358b128 Lines: 89.6 % 5198 4659 19 520 16 1 305 4337 16
Current Date: 2024-04-14 14:21:10 Functions: 98.8 % 165 163 2 22 141 1
Baseline: 16@8cea358b128 Branches: 72.5 % 3803 2756 64 6 3 974 24 4 213 2515
Baseline Date: 2024-04-14 14:21:09 Line coverage date bins:
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed [..60] days: 93.8 % 307 288 19 283 5
(60,120] days: 82.4 % 17 14 3 1 13
(180,240] days: 93.8 % 16 15 1 9 6
(240..) days: 89.4 % 4858 4342 516 16 1 12 4313
Function coverage date bins:
[..60] days: 100.0 % 11 11 11
(60,120] days: 100.0 % 1 1 1
(240..) days: 98.7 % 153 151 2 11 140
Branch coverage date bins:
[..60] days: 76.9 % 277 213 64 209 4
(60,120] days: 62.5 % 8 5 3 1 4
(180,240] days: 0.0 % 2 0 2
(240..) days: 72.2 % 3516 2538 6 3 969 23 4 4 2507

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 921 90.0 % (9 / 10) 25.0 % (1 / 4)
appendContextKeyword CBC 11372 73.7 % (14 / 19) 66.7 % (4 / 6)
colname_is_unique CBC 240850 100.0 % (18 / 18) 100.0 % (28 / 28)
decompile_column_index_array GNC 2360 100.0 % (9 / 9) 100.0 % (8 / 8)
deparse_context_for CBC 10504 100.0 % (19 / 19)
deparse_context_for_plan_tree CBC 11016 100.0 % (19 / 19) 71.4 % (10 / 14)
deparse_expression CBC 31414 100.0 % (2 / 2)
deparse_expression_pretty CBC 37252 100.0 % (14 / 14)
expand_colnames_array_to CBC 44933 100.0 % (7 / 7) 100.0 % (4 / 4)
find_param_generator GNC 1212 93.1 % (27 / 29) 76.2 % (32 / 42)
find_param_generator_initplan GNC 1376 100.0 % (7 / 7) 85.7 % (12 / 14)
find_param_referent CBC 3102 97.1 % (33 / 34) 85.4 % (41 / 48)
find_recursive_union CBC 87 85.7 % (6 / 7) 50.0 % (6 / 12)
flatten_reloptions CBC 3425 91.7 % (11 / 12) 50.0 % (3 / 6)
generate_collation_name CBC 143 83.3 % (10 / 12) 33.3 % (2 / 6)
generate_function_name GNC 5529 83.9 % (26 / 31) 57.1 % (16 / 28)
generate_opclass_name CBC 3 100.0 % (4 / 4)
generate_operator_clause CBC 3043 94.4 % (17 / 18) 60.0 % (6 / 10)
generate_operator_name CBC 28572 88.9 % (24 / 27) 58.8 % (10 / 17)
generate_qualified_relation_name CBC 3621 83.3 % (10 / 12) 25.0 % (2 / 8)
generate_qualified_type_name CBC 7 83.3 % (10 / 12) 25.0 % (2 / 8)
generate_relation_name CBC 3590 83.3 % (20 / 24) 75.0 % (18 / 24)
get_agg_combine_expr CBC 130 85.7 % (6 / 7) 25.0 % (1 / 4)
get_agg_expr CBC 922 100.0 % (3 / 3)
get_agg_expr_helper CBC 940 98.0 % (48 / 49) 84.1 % (37 / 44)
get_basic_select_query CBC 2172 79.2 % (42 / 53) 69.0 % (29 / 42)
get_coercion_expr CBC 2189 100.0 % (13 / 13) 83.3 % (10 / 12)
get_column_alias_list CBC 2610 100.0 % (14 / 14) 87.5 % (7 / 8)
get_const_collation CBC 27494 100.0 % (7 / 7) 100.0 % (4 / 4)
get_const_expr CBC 31500 100.0 % (51 / 51) 92.3 % (24 / 26)
get_delete_query_def CBC 38 94.7 % (18 / 19) 60.0 % (6 / 10)
get_from_clause CBC 2173 93.5 % (29 / 31) 75.0 % (18 / 24)
get_from_clause_coldeflist CBC 3 90.5 % (19 / 21) 72.2 % (26 / 36)
get_from_clause_item CBC 3141 91.3 % (126 / 138) 76.7 % (89 / 116)
get_func_expr CBC 5343 97.2 % (35 / 36) 88.9 % (32 / 36)
get_func_sql_syntax GNC 90 94.9 % (131 / 138) 73.5 % (36 / 49)
get_insert_query_def CBC 170 84.7 % (72 / 85) 60.0 % (42 / 70)
get_json_agg_constructor CBC 24 91.7 % (11 / 12) 50.0 % (3 / 6)
get_json_behavior GNC 39 88.9 % (8 / 9) 50.0 % (4 / 8)
get_json_constructor GNC 69 94.4 % (34 / 36) 83.3 % (20 / 24)
get_json_constructor_options GNC 69 92.3 % (12 / 13) 81.2 % (13 / 16)
get_json_expr_options GNC 216 100.0 % (16 / 16) 85.0 % (17 / 20)
get_json_format CBC 72 90.0 % (9 / 10) 70.0 % (7 / 10)
get_json_path_spec GNC 216 80.0 % (4 / 5) 50.0 % (1 / 2)
get_json_returning CBC 66 87.5 % (7 / 8) 87.5 % (7 / 8)
get_json_table GNC 42 97.1 % (34 / 35) 82.1 % (23 / 28)
get_json_table_columns GNC 78 95.8 % (46 / 48) 83.3 % (45 / 54)
get_json_table_nested_columns GNC 51 100.0 % (15 / 15) 83.3 % (5 / 6)
get_list_partvalue_string GNC 3 100.0 % (6 / 6)
get_merge_query_def GNC 6 95.0 % (76 / 80) 80.0 % (48 / 60)
get_name_for_var_field CBC 479 77.4 % (106 / 137) 46.4 % (65 / 140)
get_opclass_name CBC 5625 78.6 % (11 / 14) 60.0 % (6 / 10)
get_oper_expr CBC 27098 100.0 % (18 / 18) 100.0 % (6 / 6)
get_parameter GNC 3093 93.0 % (40 / 43) 69.0 % (29 / 42)
get_query_def CBC 2550 95.1 % (39 / 41) 75.0 % (12 / 16)
get_range_partbound_string CBC 2310 100.0 % (18 / 18) 90.0 % (9 / 10)
get_relation_name CBC 7353 80.0 % (4 / 5) 25.0 % (1 / 4)
get_reloptions CBC 120 94.4 % (17 / 18) 87.5 % (7 / 8)
get_rtable_name CBC 2892 100.0 % (4 / 4) 50.0 % (2 / 4)
get_rte_alias CBC 2835 95.7 % (22 / 23) 95.5 % (21 / 22)
get_rule_expr GNC 145842 89.6 % (645 / 720) 74.7 % (331 / 443)
get_rule_expr_funccall CBC 324 100.0 % (8 / 8) 100.0 % (2 / 2)
get_rule_expr_paren CBC 72693 100.0 % (9 / 9) 100.0 % (8 / 8)
get_rule_expr_toplevel CBC 1411 100.0 % (5 / 5) 75.0 % (3 / 4)
get_rule_groupingset CBC 9 70.6 % (24 / 34) 61.5 % (16 / 26)
get_rule_list_toplevel CBC 204 100.0 % (8 / 8) 83.3 % (5 / 6)
get_rule_orderby CBC 137 90.9 % (20 / 22) 81.2 % (13 / 16)
get_rule_sortgroupclause CBC 297 86.4 % (19 / 22) 61.5 % (16 / 26)
get_rule_windowclause CBC 21 57.1 % (8 / 14) 60.0 % (6 / 10)
get_rule_windowspec CBC 21 64.8 % (46 / 71) 48.3 % (29 / 60)
get_select_query_def CBC 2244 75.4 % (43 / 57) 66.7 % (24 / 36)
get_setop_query CBC 304 69.7 % (46 / 66) 50.0 % (26 / 52)
get_simple_binary_op_name CBC 57 88.9 % (8 / 9) 50.0 % (2 / 4)
get_simple_values_rte CBC 2172 88.9 % (24 / 27) 79.5 % (35 / 44)
get_special_variable CBC 18220 100.0 % (8 / 8) 100.0 % (4 / 4)
get_sublink_expr CBC 203 90.6 % (58 / 64) 76.5 % (26 / 34)
get_tablesample_def CBC 16 93.3 % (14 / 15) 80.0 % (8 / 10)
get_target_list CBC 2125 100.0 % (44 / 44) 81.0 % (34 / 42)
get_update_query_def CBC 65 95.2 % (20 / 21) 70.0 % (7 / 10)
get_update_query_targetlist_def CBC 83 88.1 % (52 / 59) 69.2 % (36 / 52)
get_utility_query_def CBC 8 76.9 % (10 / 13) 37.5 % (3 / 8)
get_values_def CBC 136 100.0 % (19 / 19) 87.5 % (14 / 16)
get_variable CBC 72871 88.9 % (72 / 81) 71.6 % (63 / 88)
get_windowfunc_expr CBC 120 100.0 % (3 / 3)
get_windowfunc_expr_helper CBC 126 85.0 % (34 / 40) 71.1 % (27 / 38)
get_with_clause CBC 2523 93.4 % (71 / 76) 75.8 % (50 / 66)
get_xmltable GNC 28 94.3 % (50 / 53) 77.3 % (51 / 66)
has_dangerous_join_using CBC 6010 85.7 % (18 / 21) 82.1 % (23 / 28)
identify_join_columns CBC 585 86.7 % (26 / 30) 58.8 % (20 / 34)
isSimpleNode GNC 2410 64.8 % (57 / 88) 61.6 % (45 / 73)
is_input_argument CBC 48 100.0 % (4 / 4) 75.0 % (6 / 8)
looks_like_function CBC 871 91.7 % (11 / 12) 88.9 % (8 / 9)
make_colname_unique CBC 227787 92.9 % (13 / 14) 83.3 % (5 / 6)
make_ruledef CBC 275 94.4 % (84 / 89) 62.8 % (27 / 43)
make_viewdef CBC 1549 93.3 % (28 / 30) 50.0 % (10 / 20)
pg_get_constraintdef CBC 916 100.0 % (7 / 7) 100.0 % (2 / 2)
pg_get_constraintdef_command CBC 223 100.0 % (2 / 2)
pg_get_constraintdef_ext CBC 1944 87.5 % (7 / 8) 75.0 % (3 / 4)
pg_get_constraintdef_worker GNC 3083 84.0 % (147 / 175) 67.7 % (63 / 93)
pg_get_expr CBC 3801 87.5 % (7 / 8) 50.0 % (1 / 2)
pg_get_expr_ext CBC 239 88.9 % (8 / 9) 50.0 % (2 / 4)
pg_get_expr_worker CBC 4040 80.8 % (21 / 26) 50.0 % (13 / 26)
pg_get_function_arg_default CBC 27 93.3 % (28 / 30) 77.8 % (14 / 18)
pg_get_function_arguments CBC 2309 100.0 % (9 / 9) 100.0 % (2 / 2)
pg_get_function_identity_arguments CBC 2049 100.0 % (9 / 9) 100.0 % (2 / 2)
pg_get_function_result CBC 2013 100.0 % (12 / 12) 100.0 % (4 / 4)
pg_get_function_sqlbody CBC 1757 92.3 % (12 / 13) 75.0 % (3 / 4)
pg_get_functiondef CBC 82 89.0 % (97 / 109) 73.1 % (57 / 78)
pg_get_indexdef CBC 2468 100.0 % (7 / 7) 100.0 % (2 / 2)
pg_get_indexdef_columns CBC 382 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 928 88.9 % (8 / 9) 50.0 % (2 / 4)
pg_get_indexdef_string CBC 106 100.0 % (2 / 2)
pg_get_indexdef_worker CBC 3940 92.0 % (115 / 125) 79.0 % (79 / 100)
pg_get_partconstrdef_string CBC 43 100.0 % (4 / 4)
pg_get_partition_constraintdef CBC 78 100.0 % (9 / 9) 100.0 % (2 / 2)
pg_get_partkeydef CBC 641 100.0 % (6 / 6) 100.0 % (2 / 2)
pg_get_partkeydef_columns CBC 71 100.0 % (3 / 3) 50.0 % (1 / 2)
pg_get_partkeydef_worker CBC 712 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 221 100.0 % (7 / 7) 100.0 % (2 / 2)
pg_get_ruledef_ext CBC 57 87.5 % (7 / 8) 50.0 % (2 / 4)
pg_get_ruledef_worker CBC 278 84.0 % (21 / 25) 45.5 % (10 / 22)
pg_get_serial_sequence CBC 6 93.3 % (28 / 30) 55.6 % (10 / 18)
pg_get_statisticsobj_worker CBC 338 97.2 % (70 / 72) 80.6 % (50 / 62)
pg_get_statisticsobjdef CBC 133 100.0 % (6 / 6) 100.0 % (2 / 2)
pg_get_statisticsobjdef_columns CBC 198 83.3 % (5 / 6) 50.0 % (1 / 2)
pg_get_statisticsobjdef_expressions UBC 0 0.0 % (0 / 25) 0.0 % (0 / 10)
pg_get_statisticsobjdef_string CBC 7 100.0 % (2 / 2)
pg_get_triggerdef CBC 102 100.0 % (6 / 6) 100.0 % (2 / 2)
pg_get_triggerdef_ext CBC 580 85.7 % (6 / 7) 50.0 % (1 / 2)
pg_get_triggerdef_worker CBC 682 89.1 % (123 / 138) 75.7 % (56 / 74)
pg_get_userbyid CBC 794 90.9 % (10 / 11) 50.0 % (1 / 2)
pg_get_viewdef CBC 1058 100.0 % (7 / 7) 100.0 % (2 / 2)
pg_get_viewdef_ext CBC 254 87.5 % (7 / 8) 50.0 % (2 / 4)
pg_get_viewdef_name CBC 36 88.9 % (8 / 9) 50.0 % (1 / 2)
pg_get_viewdef_name_ext CBC 201 90.0 % (9 / 10) 50.0 % (2 / 4)
pg_get_viewdef_worker CBC 1552 85.7 % (24 / 28) 45.5 % (10 / 22)
pg_get_viewdef_wrap CBC 3 87.5 % (7 / 8) 50.0 % (1 / 2)
pop_ancestor_plan CBC 1890 100.0 % (4 / 4)
pop_child_plan CBC 29371 100.0 % (5 / 5)
printSubscripts CBC 197 75.0 % (9 / 12) 75.0 % (6 / 8)
print_function_arguments GNC 4637 96.2 % (75 / 78) 83.9 % (47 / 56)
print_function_rettype CBC 1971 100.0 % (16 / 16) 100.0 % (8 / 8)
print_function_sqlbody CBC 105 100.0 % (22 / 22) 100.0 % (8 / 8)
print_function_trftypes CBC 79 100.0 % (10 / 10) 100.0 % (6 / 6)
processIndirection CBC 624 83.3 % (25 / 30) 63.6 % (14 / 22)
push_ancestor_plan CBC 1890 100.0 % (8 / 8)
push_child_plan CBC 29371 100.0 % (5 / 5)
quote_identifier CBC 1136735 100.0 % (29 / 29) 94.1 % (32 / 34)
quote_qualified_identifier CBC 544007 100.0 % (6 / 6) 100.0 % (2 / 2)
removeStringInfoSpaces CBC 11145 100.0 % (4 / 4) 100.0 % (4 / 4)
resolve_special_varno CBC 49938 90.2 % (37 / 41) 55.6 % (20 / 36)
select_rtable_names_for_explain CBC 11016 100.0 % (8 / 8)
set_deparse_context_plan CBC 23718 100.0 % (6 / 6) 50.0 % (1 / 2)
set_deparse_for_query CBC 2627 100.0 % (21 / 21) 95.0 % (19 / 20)
set_deparse_plan CBC 54979 97.1 % (34 / 35) 96.4 % (27 / 28)
set_join_column_names CBC 585 96.3 % (105 / 109) 72.4 % (71 / 98)
set_relation_column_names CBC 43448 100.0 % (59 / 59) 95.7 % (44 / 46)
set_rtable_names CBC 24219 100.0 % (49 / 49) 97.6 % (41 / 42)
set_simple_column_names CBC 21592 100.0 % (9 / 9) 81.2 % (13 / 16)
set_using_names CBC 6169 96.4 % (54 / 56) 79.2 % (38 / 48)
simple_quote_literal CBC 12875 100.0 % (9 / 9) 87.5 % (7 / 8)
string_to_text CBC 20179 100.0 % (4 / 4)

Generated by: LCOV version 2.1-beta2-3-g6141622