LCOV - differential code coverage report
Current view: top level - src/backend/optimizer/path - costsize.c (source / functions) Coverage Total Hit UNC LBC UBC GNC CBC DUB DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 98.0 % 1933 1894 1 38 136 1758 1 54
Current Date: 2026-06-29 16:15:13 +0200 Functions: 100.0 % 74 74 30 44 2
Baseline: lcov-20260630-baseline Branches: 82.8 % 1079 893 15 1 170 63 830
Baseline Date: 2026-06-29 13:01:57 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 136 136 136
(360..) days: 97.8 % 1797 1758 1 38 1758
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 100.0 % 73 73 29 44
Branch coverage date bins:
(30,360] days: 80.8 % 78 63 15 63
(360..) days: 82.9 % 1001 830 1 170 830

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
index_pages_fetched CBC 911053 65.2 % (15 / 23) 64.3 % (9 / 14)
get_windowclause_startup_tuples CBC 2554 90.3 % (56 / 62) 86.8 % (33 / 38)
cost_group CBC 1053 68.8 % (11 / 16) 50.0 % (1 / 2)
calc_joinrel_size_estimate CBC 209879 95.6 % (43 / 45) 88.5 % (23 / 26)
cost_rescan CBC 2410912 95.3 % (41 / 43) 91.7 % (11 / 12)
clamp_row_est CBC 7654090 85.7 % (6 / 7) 66.7 % (4 / 6)
clamp_width_est CBC 1497942 80.0 % (4 / 5) 50.0 % (2 / 4)
cost_bitmap_or_node CBC 1752 93.8 % (15 / 16) 75.0 % (9 / 12)
cost_bitmap_tree_node CBC 814965 92.3 % (12 / 13) 62.5 % (5 / 8)
cost_ctescan GNC 3505 95.7 % (22 / 23) 50.0 % (4 / 8)
cost_gather GNC 21889 94.1 % (16 / 17) 75.0 % (3 / 4)
cost_gather_merge GNC 15765 95.5 % (21 / 22) 66.7 % (4 / 6)
cost_namedtuplestorescan GNC 437 95.2 % (20 / 21) 50.0 % (4 / 8)
cost_qual_eval_walker CBC 7351143 98.8 % (85 / 86) 93.8 % (60 / 64)
cost_tidrangescan GNC 1703 97.1 % (34 / 35) 71.4 % (10 / 14)
final_cost_nestloop CBC 1085938 98.1 % (52 / 53) 95.8 % (23 / 24)
get_indexpath_pages CBC 163345 93.3 % (14 / 15) 75.0 % (15 / 20)
get_parameterized_baserel_size CBC 127094 88.9 % (8 / 9) 50.0 % (1 / 2)
initial_cost_mergejoin GNC 1036311 99.0 % (99 / 100) 75.0 % (42 / 56)
set_namedtuplestore_size_estimates CBC 437 88.9 % (8 / 9) 50.0 % (4 / 8)
set_subquery_size_estimates CBC 29517 95.5 % (21 / 22) 77.3 % (17 / 22)
append_nonpartial_cost GNC 21689 100.0 % (26 / 26) 92.3 % (24 / 26)
approx_tuple_count CBC 580154 100.0 % (11 / 11) 100.0 % (6 / 6)
cached_scansel GNC 1031346 100.0 % (24 / 24) 78.6 % (11 / 14)
compute_bitmap_pages CBC 540562 100.0 % (25 / 25) 88.9 % (16 / 18)
compute_gather_rows CBC 37649 100.0 % (3 / 3) 50.0 % (1 / 2)
compute_semi_anti_join_factors CBC 175370 100.0 % (20 / 20) 95.0 % (19 / 20)
cost_agg CBC 74401 100.0 % (67 / 67) 92.3 % (24 / 26)
cost_bitmap_and_node CBC 41120 100.0 % (16 / 16) 87.5 % (7 / 8)
cost_bitmap_heap_scan GNC 433326 100.0 % (37 / 37) 78.6 % (11 / 14)
cost_functionscan GNC 34963 100.0 % (25 / 25) 60.0 % (6 / 10)
cost_incremental_sort GNC 9663 100.0 % (34 / 34) 72.7 % (16 / 22)
cost_index GNC 642081 100.0 % (77 / 77) 88.9 % (32 / 36)
cost_material GNC 478259 100.0 % (14 / 14) 100.0 % (2 / 2)
cost_memoize_rescan GNC 182922 100.0 % (31 / 31) 81.8 % (18 / 22)
cost_merge_append GNC 7365 100.0 % (19 / 19) 50.0 % (2 / 4)
cost_qual_eval CBC 3501665 100.0 % (9 / 9) 100.0 % (6 / 6)
cost_qual_eval_node CBC 1415857 100.0 % (7 / 7)
cost_recursive_union GNC 633 100.0 % (17 / 17) 50.0 % (1 / 2)
cost_resultscan GNC 3681 100.0 % (20 / 20) 62.5 % (5 / 8)
cost_samplescan GNC 245 100.0 % (30 / 30) 64.3 % (9 / 14)
cost_seqscan GNC 337161 100.0 % (26 / 26) 75.0 % (6 / 8)
cost_sort GNC 1472910 100.0 % (8 / 8)
cost_subplan GNC 32201 100.0 % (22 / 22) 100.0 % (12 / 12)
cost_subqueryscan GNC 48298 100.0 % (26 / 26) 83.3 % (10 / 12)
cost_tablefuncscan GNC 517 100.0 % (25 / 25) 60.0 % (6 / 10)
cost_tidscan GNC 636 100.0 % (40 / 40) 67.9 % (19 / 28)
cost_tuplesort CBC 1482573 100.0 % (27 / 27) 92.9 % (13 / 14)
cost_valuesscan GNC 6951 100.0 % (23 / 23) 62.5 % (5 / 8)
cost_windowagg CBC 2554 100.0 % (29 / 29) 87.5 % (7 / 8)
extract_nonindex_conditions CBC 771701 100.0 % (10 / 10) 100.0 % (10 / 10)
final_cost_hashjoin GNC 339206 100.0 % (83 / 83) 97.5 % (39 / 40)
final_cost_mergejoin GNC 332322 100.0 % (85 / 85) 100.0 % (48 / 48)
get_expr_width CBC 1345774 100.0 % (19 / 19) 70.0 % (14 / 20)
get_foreign_key_join_selectivity CBC 209879 100.0 % (59 / 59) 85.3 % (58 / 68)
get_parallel_divisor CBC 373455 100.0 % (7 / 7) 100.0 % (4 / 4)
get_parameterized_joinrel_size CBC 9769 100.0 % (5 / 5) 100.0 % (2 / 2)
get_restriction_qual_cost CBC 849695 100.0 % (7 / 7) 100.0 % (2 / 2)
has_indexed_join_quals CBC 678721 100.0 % (29 / 29) 94.7 % (18 / 19)
initial_cost_hashjoin GNC 620975 100.0 % (38 / 38) 100.0 % (6 / 6)
initial_cost_nestloop GNC 2410912 100.0 % (26 / 26) 100.0 % (10 / 10)
page_size CBC 6134 100.0 % (2 / 2)
relation_byte_size CBC 3580929 100.0 % (2 / 2)
set_baserel_size_estimates CBC 393062 100.0 % (8 / 8) 50.0 % (1 / 2)
set_cte_size_estimates CBC 3505 100.0 % (9 / 9) 62.5 % (5 / 8)
set_foreign_size_estimates CBC 1265 100.0 % (6 / 6) 50.0 % (1 / 2)
set_function_size_estimates CBC 34963 100.0 % (12 / 12) 71.4 % (10 / 14)
set_joinrel_size_estimates CBC 200110 100.0 % (3 / 3)
set_pathtarget_cost_width CBC 465883 100.0 % (13 / 13) 100.0 % (8 / 8)
set_rel_width CBC 394307 100.0 % (55 / 55) 86.8 % (33 / 38)
set_result_size_estimates CBC 3616 100.0 % (6 / 6) 50.0 % (3 / 6)
set_tablefunc_size_estimates CBC 517 100.0 % (6 / 6) 50.0 % (3 / 6)
set_values_size_estimates CBC 6951 100.0 % (7 / 7) 50.0 % (3 / 6)

Generated by: LCOV version 2.0-1