LCOV - differential code coverage report
Current view: top level - src/backend/optimizer/path - costsize.c (source / functions) Coverage Total Hit UBC GNC CBC DCB
Current: 603a3335f2b60b2c798da5c627b3bb288b92a7bd vs e395fbd32a07557de4ac98088928c1749d4845d8 Lines: 98.0 % 1936 1897 39 8 1889 5
Current Date: 2026-07-25 17:13:00 -0400 Functions: 100.0 % 74 74 2 72
Baseline: lcov-20260726-baseline Branches: 82.8 % 1083 897 186 10 887
Baseline Date: 2026-07-25 19:16:42 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 8 8 8
(30,360] days: 100.0 % 123 123 123
(360..) days: 97.8 % 1805 1766 39 1766
Function coverage date bins:
(360..) days: 100.0 % 74 74 2 72
Branch coverage date bins:
(7,30] days: 100.0 % 10 10 10
(30,360] days: 80.6 % 72 58 14 58
(360..) days: 82.8 % 1001 829 172 829

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 CBC 245 100.0 % (30 / 30) 64.3 % (9 / 14)
cost_namedtuplestorescan CBC 437 95.2 % (20 / 21) 50.0 % (4 / 8)
set_namedtuplestore_size_estimates CBC 437 88.9 % (8 / 9) 50.0 % (4 / 8)
cost_tablefuncscan CBC 602 100.0 % (25 / 25) 60.0 % (6 / 10)
set_tablefunc_size_estimates CBC 602 100.0 % (6 / 6) 50.0 % (3 / 6)
cost_recursive_union CBC 633 100.0 % (17 / 17) 50.0 % (1 / 2)
cost_tidscan CBC 636 100.0 % (40 / 40) 67.9 % (19 / 28)
cost_group GNC 1043 68.8 % (11 / 16) 50.0 % (1 / 2)
set_foreign_size_estimates CBC 1275 100.0 % (6 / 6) 50.0 % (1 / 2)
cost_tidrangescan CBC 1703 97.1 % (34 / 35) 71.4 % (10 / 14)
cost_bitmap_or_node CBC 1772 93.8 % (15 / 16) 75.0 % (9 / 12)
cost_windowagg CBC 2647 100.0 % (29 / 29) 87.5 % (7 / 8)
get_windowclause_startup_tuples CBC 2647 90.3 % (56 / 62) 86.8 % (33 / 38)
cost_ctescan CBC 3518 95.7 % (22 / 23) 50.0 % (4 / 8)
set_cte_size_estimates CBC 3518 100.0 % (9 / 9) 62.5 % (5 / 8)
set_result_size_estimates CBC 3636 100.0 % (6 / 6) 50.0 % (3 / 6)
cost_resultscan CBC 3701 100.0 % (20 / 20) 62.5 % (5 / 8)
page_size CBC 6138 100.0 % (2 / 2)
cost_valuesscan CBC 6996 100.0 % (23 / 23) 62.5 % (5 / 8)
set_values_size_estimates CBC 6996 100.0 % (7 / 7) 50.0 % (3 / 6)
cost_merge_append CBC 7390 100.0 % (19 / 19) 50.0 % (2 / 4)
get_parameterized_joinrel_size CBC 9466 100.0 % (5 / 5) 100.0 % (2 / 2)
cost_incremental_sort CBC 9713 100.0 % (34 / 34) 72.7 % (16 / 22)
cost_gather_merge CBC 15813 95.5 % (21 / 22) 66.7 % (4 / 6)
append_nonpartial_cost CBC 21761 100.0 % (26 / 26) 92.3 % (24 / 26)
cost_gather CBC 21971 94.1 % (16 / 17) 75.0 % (3 / 4)
set_subquery_size_estimates CBC 30021 95.5 % (21 / 22) 77.3 % (17 / 22)
cost_subplan CBC 32238 100.0 % (22 / 22) 100.0 % (12 / 12)
cost_functionscan CBC 35061 100.0 % (25 / 25) 60.0 % (6 / 10)
set_function_size_estimates CBC 35061 100.0 % (12 / 12) 71.4 % (10 / 14)
compute_gather_rows CBC 37779 100.0 % (3 / 3) 50.0 % (1 / 2)
cost_bitmap_and_node CBC 44669 100.0 % (16 / 16) 87.5 % (7 / 8)
cost_subqueryscan CBC 49142 100.0 % (26 / 26) 83.3 % (10 / 12)
cost_append CBC 58917 100.0 % (56 / 56) 88.1 % (37 / 42)
cost_agg GNC 74665 100.0 % (70 / 70) 93.3 % (28 / 30)
get_parameterized_baserel_size CBC 135526 88.9 % (8 / 9) 50.0 % (1 / 2)
get_indexpath_pages CBC 172451 93.3 % (14 / 15) 75.0 % (15 / 20)
compute_semi_anti_join_factors CBC 186896 100.0 % (20 / 20) 95.0 % (19 / 20)
cost_memoize_rescan CBC 191620 100.0 % (31 / 31) 81.8 % (18 / 22)
set_joinrel_size_estimates CBC 208836 100.0 % (3 / 3)
calc_joinrel_size_estimate CBC 218302 95.6 % (43 / 45) 88.5 % (23 / 26)
get_foreign_key_join_selectivity CBC 218302 100.0 % (59 / 59) 85.3 % (58 / 68)
cost_seqscan CBC 341292 100.0 % (26 / 26) 75.0 % (6 / 8)
final_cost_hashjoin CBC 350121 100.0 % (83 / 83) 97.5 % (39 / 40)
final_cost_mergejoin CBC 352656 100.0 % (85 / 85) 100.0 % (48 / 48)
get_parallel_divisor CBC 374269 100.0 % (7 / 7) 100.0 % (4 / 4)
set_baserel_size_estimates CBC 397848 100.0 % (8 / 8) 50.0 % (1 / 2)
set_rel_width CBC 399103 100.0 % (55 / 55) 86.8 % (33 / 38)
cost_bitmap_heap_scan CBC 463050 100.0 % (37 / 37) 78.6 % (11 / 14)
set_pathtarget_cost_width CBC 465938 100.0 % (13 / 13) 100.0 % (8 / 8)
cost_material CBC 496634 100.0 % (14 / 14) 100.0 % (2 / 2)
compute_bitmap_pages CBC 576081 100.0 % (25 / 25) 88.9 % (16 / 18)
approx_tuple_count CBC 605800 100.0 % (11 / 11) 100.0 % (6 / 6)
initial_cost_hashjoin CBC 642440 100.0 % (38 / 38) 100.0 % (6 / 6)
cost_index CBC 665791 100.0 % (77 / 77) 88.9 % (32 / 36)
has_indexed_join_quals CBC 737453 100.0 % (29 / 29) 94.7 % (18 / 19)
extract_nonindex_conditions CBC 803837 100.0 % (10 / 10) 100.0 % (10 / 10)
cost_bitmap_tree_node CBC 877392 92.3 % (12 / 13) 62.5 % (5 / 8)
get_restriction_qual_cost CBC 884223 100.0 % (7 / 7) 100.0 % (2 / 2)
index_pages_fetched CBC 948130 65.2 % (15 / 23) 64.3 % (9 / 14)
cached_scansel CBC 1085992 100.0 % (24 / 24) 78.6 % (11 / 14)
initial_cost_mergejoin CBC 1090957 99.0 % (99 / 100) 75.0 % (42 / 56)
final_cost_nestloop CBC 1172451 98.1 % (52 / 53) 95.8 % (23 / 24)
get_expr_width CBC 1356387 100.0 % (19 / 19) 70.0 % (14 / 20)
cost_qual_eval_node CBC 1440982 100.0 % (7 / 7)
clamp_width_est CBC 1532804 80.0 % (4 / 5) 50.0 % (2 / 4)
cost_sort CBC 1545807 100.0 % (8 / 8)
cost_tuplesort CBC 1555520 100.0 % (27 / 27) 92.9 % (13 / 14)
cost_rescan CBC 2557415 95.3 % (41 / 43) 91.7 % (11 / 12)
initial_cost_nestloop CBC 2557415 100.0 % (26 / 26) 100.0 % (10 / 10)
cost_qual_eval CBC 3692530 100.0 % (9 / 9) 100.0 % (6 / 6)
relation_byte_size CBC 3745835 100.0 % (2 / 2)
cost_qual_eval_walker CBC 7622876 98.8 % (85 / 86) 93.8 % (60 / 64)
clamp_row_est CBC 8007295 85.7 % (6 / 7) 66.7 % (4 / 6)

Generated by: LCOV version 2.0-1