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 1847
Test Date: 2026-12-04 08:16:11 Functions: 100.0 % 74 74
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 88.8 % 947 841

Function Name Sort by function name Hit count Sort by function hit count
append_nonpartial_cost 23922
approx_tuple_count 625178
cached_scansel 1144851
calc_joinrel_size_estimate 226876
clamp_row_est 8573468
clamp_width_est 1547612
compute_bitmap_pages 575935
compute_gather_rows 37320
compute_semi_anti_join_factors 199001
cost_agg 74758
cost_append 63887
cost_bitmap_and_node 45051
cost_bitmap_heap_scan 463428
cost_bitmap_or_node 1692
cost_bitmap_tree_node 879112
cost_ctescan 4204
cost_functionscan 36216
cost_gather 20420
cost_gather_merge 16907
cost_group 1053
cost_incremental_sort 10513
cost_index 671313
cost_material 510674
cost_memoize_rescan 261632
cost_merge_append 9894
cost_namedtuplestorescan 441
cost_qual_eval 3778720
cost_qual_eval_node 1458111
cost_qual_eval_walker 7760620
cost_recursive_union 739
cost_rescan 2787940
cost_resultscan 3942
cost_samplescan 262
cost_seqscan 340243
cost_sort 1581078
cost_subplan 33133
cost_subqueryscan 49633
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1591591
cost_valuesscan 7246
cost_windowagg 2727
extract_nonindex_conditions 811641
final_cost_hashjoin 354135
final_cost_mergejoin 372719
final_cost_nestloop 1201994
get_expr_width 1463813
get_foreign_key_join_selectivity 226876
get_indexpath_pages 175086
get_parallel_divisor 400492
get_parameterized_baserel_size 138230
get_parameterized_joinrel_size 12006
get_restriction_qual_cost 886072
get_windowclause_startup_tuples 2727
has_indexed_join_quals 731889
index_pages_fetched 961425
initial_cost_hashjoin 667451
initial_cost_mergejoin 1150223
initial_cost_nestloop 2787940
page_size 6228
relation_byte_size 3929205
set_baserel_size_estimates 400274
set_cte_size_estimates 4204
set_foreign_size_estimates 1394
set_function_size_estimates 36216
set_joinrel_size_estimates 214870
set_namedtuplestore_size_estimates 441
set_pathtarget_cost_width 478934
set_rel_width 401644
set_result_size_estimates 3877
set_subquery_size_estimates 30643
set_tablefunc_size_estimates 722
set_values_size_estimates 7246

Generated by: LCOV version 2.0-1