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: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 98.0 % 1933 1894 1 38 136 1758 1 54
Current Date: 2026-05-05 10:23:31 +0900 Functions: 100.0 % 74 74 30 44 2
Baseline: lcov-20260505-025707-baseline Branches: 82.8 % 1079 893 15 1 170 63 830 6 24
Baseline Date: 2026-05-05 10:27:06 +0900 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
cost_samplescan GNC 245 100.0 % (30 / 30) 64.3 % (9 / 14)
cost_namedtuplestorescan GNC 438 95.2 % (20 / 21) 50.0 % (4 / 8)
set_namedtuplestore_size_estimates CBC 438 88.9 % (8 / 9) 50.0 % (4 / 8)
cost_tablefuncscan GNC 517 100.0 % (25 / 25) 60.0 % (6 / 10)
set_tablefunc_size_estimates CBC 517 100.0 % (6 / 6) 50.0 % (3 / 6)
cost_tidscan GNC 643 100.0 % (40 / 40) 67.9 % (19 / 28)
cost_recursive_union GNC 690 100.0 % (17 / 17) 50.0 % (1 / 2)
cost_group CBC 1033 68.8 % (11 / 16) 50.0 % (1 / 2)
set_foreign_size_estimates CBC 1257 100.0 % (6 / 6) 50.0 % (1 / 2)
cost_tidrangescan GNC 1704 97.1 % (34 / 35) 71.4 % (10 / 14)
cost_bitmap_or_node CBC 1752 93.8 % (15 / 16) 75.0 % (9 / 12)
cost_windowagg CBC 2539 100.0 % (29 / 29) 87.5 % (7 / 8)
get_windowclause_startup_tuples CBC 2539 90.3 % (56 / 62) 86.8 % (33 / 38)
cost_ctescan GNC 3607 95.7 % (22 / 23) 50.0 % (4 / 8)
set_cte_size_estimates CBC 3607 100.0 % (9 / 9) 62.5 % (5 / 8)
set_result_size_estimates CBC 3616 100.0 % (6 / 6) 50.0 % (3 / 6)
cost_resultscan GNC 3681 100.0 % (20 / 20) 62.5 % (5 / 8)
cost_valuesscan GNC 6858 100.0 % (23 / 23) 62.5 % (5 / 8)
set_values_size_estimates CBC 6858 100.0 % (7 / 7) 50.0 % (3 / 6)
page_size CBC 7034 100.0 % (2 / 2)
cost_merge_append GNC 7365 100.0 % (19 / 19) 50.0 % (2 / 4)
get_parameterized_joinrel_size CBC 9437 100.0 % (5 / 5) 100.0 % (2 / 2)
cost_incremental_sort GNC 10353 100.0 % (34 / 34) 72.7 % (16 / 22)
cost_gather_merge GNC 15861 95.5 % (21 / 22) 66.7 % (4 / 6)
append_nonpartial_cost GNC 21741 100.0 % (26 / 26) 92.3 % (24 / 26)
cost_gather GNC 21942 94.1 % (16 / 17) 75.0 % (3 / 4)
set_subquery_size_estimates CBC 30756 95.5 % (21 / 22) 77.3 % (17 / 22)
cost_subplan GNC 34158 100.0 % (22 / 22) 100.0 % (12 / 12)
cost_functionscan GNC 35764 100.0 % (25 / 25) 60.0 % (6 / 10)
set_function_size_estimates CBC 35764 100.0 % (12 / 12) 71.4 % (10 / 14)
compute_gather_rows CBC 37798 100.0 % (3 / 3) 50.0 % (1 / 2)
cost_bitmap_and_node CBC 41734 100.0 % (16 / 16) 87.5 % (7 / 8)
cost_subqueryscan GNC 49514 100.0 % (26 / 26) 83.3 % (10 / 12)
cost_agg CBC 74481 100.0 % (67 / 67) 92.3 % (24 / 26)
get_parameterized_baserel_size CBC 133054 88.9 % (8 / 9) 50.0 % (1 / 2)
get_indexpath_pages CBC 170435 93.3 % (14 / 15) 75.0 % (15 / 20)
compute_semi_anti_join_factors CBC 184951 100.0 % (20 / 20) 95.0 % (19 / 20)
cost_memoize_rescan GNC 203115 100.0 % (31 / 31) 81.8 % (18 / 22)
set_joinrel_size_estimates CBC 208447 100.0 % (3 / 3)
calc_joinrel_size_estimate CBC 217884 95.6 % (43 / 45) 88.5 % (23 / 26)
get_foreign_key_join_selectivity CBC 217884 100.0 % (59 / 59) 85.3 % (58 / 68)
final_cost_mergejoin GNC 348209 100.0 % (85 / 85) 100.0 % (48 / 48)
cost_seqscan GNC 348234 100.0 % (26 / 26) 75.0 % (6 / 8)
final_cost_hashjoin GNC 351606 100.0 % (83 / 83) 97.5 % (39 / 40)
get_parallel_divisor CBC 373744 100.0 % (7 / 7) 100.0 % (4 / 4)
set_baserel_size_estimates CBC 406200 100.0 % (8 / 8) 50.0 % (1 / 2)
set_rel_width CBC 407437 100.0 % (55 / 55) 86.8 % (33 / 38)
cost_bitmap_heap_scan GNC 449641 100.0 % (37 / 37) 78.6 % (11 / 14)
set_pathtarget_cost_width CBC 472480 100.0 % (13 / 13) 100.0 % (8 / 8)
cost_material GNC 504029 100.0 % (14 / 14) 100.0 % (2 / 2)
compute_bitmap_pages CBC 561582 100.0 % (25 / 25) 88.9 % (16 / 18)
approx_tuple_count CBC 602921 100.0 % (11 / 11) 100.0 % (6 / 6)
initial_cost_hashjoin GNC 660164 100.0 % (38 / 38) 100.0 % (6 / 6)
cost_index GNC 668468 100.0 % (77 / 77) 88.9 % (32 / 36)
has_indexed_join_quals CBC 728558 100.0 % (29 / 29) 94.7 % (18 / 19)
extract_nonindex_conditions CBC 804401 100.0 % (10 / 10) 100.0 % (10 / 10)
cost_bitmap_tree_node CBC 842561 92.3 % (12 / 13) 62.5 % (5 / 8)
get_restriction_qual_cost CBC 878975 100.0 % (7 / 7) 100.0 % (2 / 2)
index_pages_fetched CBC 951919 65.2 % (15 / 23) 64.3 % (9 / 14)
cached_scansel GNC 1122141 100.0 % (24 / 24) 78.6 % (11 / 14)
initial_cost_mergejoin GNC 1127106 99.0 % (99 / 100) 75.0 % (42 / 56)
final_cost_nestloop CBC 1154562 98.1 % (52 / 53) 95.8 % (23 / 24)
get_expr_width CBC 1419284 100.0 % (19 / 19) 70.0 % (14 / 20)
cost_qual_eval_node CBC 1457288 100.0 % (7 / 7)
clamp_width_est CBC 1543889 80.0 % (4 / 5) 50.0 % (2 / 4)
cost_sort GNC 1582456 100.0 % (8 / 8)
cost_tuplesort CBC 1592809 100.0 % (27 / 27) 92.9 % (13 / 14)
cost_rescan CBC 2586039 95.3 % (41 / 43) 91.7 % (11 / 12)
initial_cost_nestloop GNC 2586039 100.0 % (26 / 26) 100.0 % (10 / 10)
cost_qual_eval CBC 3667087 100.0 % (9 / 9) 100.0 % (6 / 6)
relation_byte_size CBC 3817807 100.0 % (2 / 2)
cost_qual_eval_walker CBC 7621888 98.8 % (85 / 86) 93.8 % (60 / 64)
clamp_row_est CBC 8092310 85.7 % (6 / 7) 66.7 % (4 / 6)

Generated by: LCOV version 2.5.0-beta