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-02 16:15:46 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 21780
approx_tuple_count 603335
cached_scansel 1086727
calc_joinrel_size_estimate 218063
clamp_row_est 8005720
clamp_width_est 1548641
compute_bitmap_pages 580499
compute_gather_rows 37847
compute_semi_anti_join_factors 187355
cost_agg 74709
cost_append 58968
cost_bitmap_and_node 44793
cost_bitmap_heap_scan 465867
cost_bitmap_or_node 1772
cost_bitmap_tree_node 881930
cost_ctescan 3533
cost_functionscan 35172
cost_gather 22024
cost_gather_merge 15828
cost_group 1043
cost_incremental_sort 10059
cost_index 670457
cost_material 497913
cost_memoize_rescan 192523
cost_merge_append 7390
cost_namedtuplestorescan 431
cost_qual_eval 3688333
cost_qual_eval_node 1453230
cost_qual_eval_walker 7633457
cost_recursive_union 633
cost_rescan 2558288
cost_resultscan 3721
cost_samplescan 245
cost_seqscan 343504
cost_sort 1547393
cost_subplan 32377
cost_subqueryscan 49268
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 636
cost_tuplesort 1557452
cost_valuesscan 7008
cost_windowagg 2647
extract_nonindex_conditions 808860
final_cost_hashjoin 347748
final_cost_mergejoin 351157
final_cost_nestloop 1169532
get_expr_width 1367849
get_foreign_key_join_selectivity 218063
get_indexpath_pages 175161
get_parallel_divisor 374368
get_parameterized_baserel_size 136039
get_parameterized_joinrel_size 8568
get_restriction_qual_cost 889479
get_windowclause_startup_tuples 2647
has_indexed_join_quals 735571
index_pages_fetched 956222
initial_cost_hashjoin 642623
initial_cost_mergejoin 1091692
initial_cost_nestloop 2558288
page_size 6124
relation_byte_size 3746128
set_baserel_size_estimates 400257
set_cte_size_estimates 3533
set_foreign_size_estimates 1275
set_function_size_estimates 35172
set_joinrel_size_estimates 209495
set_namedtuplestore_size_estimates 431
set_pathtarget_cost_width 472141
set_rel_width 401512
set_result_size_estimates 3656
set_subquery_size_estimates 30084
set_tablefunc_size_estimates 604
set_values_size_estimates 7008

Generated by: LCOV version 2.0-1