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 % 1887 1848
Test Date: 2026-11-26 11:16:08 Functions: 100.0 % 74 74
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 89.0 % 947 843

Function Name Sort by function name Hit count Sort by function hit count
append_nonpartial_cost 23917
approx_tuple_count 624827
cached_scansel 1147384
calc_joinrel_size_estimate 227826
clamp_row_est 8609942
clamp_width_est 1559431
compute_bitmap_pages 582475
compute_gather_rows 37322
compute_semi_anti_join_factors 201196
cost_agg 74760
cost_append 64525
cost_bitmap_and_node 45672
cost_bitmap_heap_scan 468906
cost_bitmap_or_node 1700
cost_bitmap_tree_node 888574
cost_ctescan 4193
cost_functionscan 35960
cost_gather 20421
cost_gather_merge 16908
cost_group 1053
cost_incremental_sort 10627
cost_index 678463
cost_material 512287
cost_memoize_rescan 263245
cost_merge_append 9916
cost_namedtuplestorescan 447
cost_qual_eval 3794697
cost_qual_eval_node 1465458
cost_qual_eval_walker 7799729
cost_recursive_union 738
cost_rescan 2797135
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 343378
cost_sort 1584742
cost_subplan 33669
cost_subqueryscan 49707
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1595369
cost_valuesscan 7225
cost_windowagg 2717
extract_nonindex_conditions 820594
final_cost_hashjoin 354808
final_cost_mergejoin 372624
final_cost_nestloop 1205152
get_expr_width 1470865
get_foreign_key_join_selectivity 227826
get_indexpath_pages 179491
get_parallel_divisor 400380
get_parameterized_baserel_size 140104
get_parameterized_joinrel_size 11597
get_restriction_qual_cost 894451
get_windowclause_startup_tuples 2717
has_indexed_join_quals 734763
index_pages_fetched 974710
initial_cost_hashjoin 669260
initial_cost_mergejoin 1152741
initial_cost_nestloop 2797135
page_size 6214
relation_byte_size 3937843
set_baserel_size_estimates 403119
set_cte_size_estimates 4193
set_foreign_size_estimates 1394
set_function_size_estimates 35960
set_joinrel_size_estimates 216229
set_namedtuplestore_size_estimates 447
set_pathtarget_cost_width 481069
set_rel_width 404489
set_result_size_estimates 3887
set_subquery_size_estimates 30660
set_tablefunc_size_estimates 722
set_values_size_estimates 7225

Generated by: LCOV version 2.0-1