LCOV - code coverage report
Current view: top level - src/backend/optimizer/path - costsize.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 97.9 % 1862 1823
Test Date: 2026-08-01 00:15:49 Functions: 100.0 % 74 74
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 88.7 % 919 815

Function Name Sort by function name Hit count Sort by function hit count
append_nonpartial_cost 21797
approx_tuple_count 602299
cached_scansel 1087931
calc_joinrel_size_estimate 217675
clamp_row_est 8002286
clamp_width_est 1547009
compute_bitmap_pages 579553
compute_gather_rows 37829
compute_semi_anti_join_factors 187463
cost_agg 74719
cost_append 59001
cost_bitmap_and_node 44800
cost_bitmap_heap_scan 465361
cost_bitmap_or_node 1772
cost_bitmap_tree_node 881034
cost_ctescan 3521
cost_functionscan 35043
cost_gather 22014
cost_gather_merge 15820
cost_group 1043
cost_incremental_sort 10043
cost_index 669559
cost_material 497551
cost_memoize_rescan 193083
cost_merge_append 7390
cost_namedtuplestorescan 437
cost_qual_eval 3682116
cost_qual_eval_node 1450365
cost_qual_eval_walker 7618564
cost_recursive_union 634
cost_rescan 2559958
cost_resultscan 3721
cost_samplescan 245
cost_seqscan 342993
cost_sort 1548833
cost_subplan 32419
cost_subqueryscan 49277
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 636
cost_tuplesort 1558876
cost_valuesscan 7002
cost_windowagg 2647
extract_nonindex_conditions 808030
final_cost_hashjoin 347105
final_cost_mergejoin 350197
final_cost_nestloop 1167719
get_expr_width 1367669
get_foreign_key_join_selectivity 217675
get_indexpath_pages 175344
get_parallel_divisor 374400
get_parameterized_baserel_size 135915
get_parameterized_joinrel_size 8496
get_restriction_qual_cost 888324
get_windowclause_startup_tuples 2647
has_indexed_join_quals 735419
index_pages_fetched 955571
initial_cost_hashjoin 643235
initial_cost_mergejoin 1092896
initial_cost_nestloop 2559958
page_size 6224
relation_byte_size 3746686
set_baserel_size_estimates 399605
set_cte_size_estimates 3521
set_foreign_size_estimates 1275
set_function_size_estimates 35043
set_joinrel_size_estimates 209179
set_namedtuplestore_size_estimates 437
set_pathtarget_cost_width 471682
set_rel_width 400859
set_result_size_estimates 3656
set_subquery_size_estimates 30095
set_tablefunc_size_estimates 604
set_values_size_estimates 7002

Generated by: LCOV version 2.0-1