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-07-12 02:15:39 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 21744
approx_tuple_count 576524
cached_scansel 1033005
calc_joinrel_size_estimate 208684
clamp_row_est 7709978
clamp_width_est 1514363
compute_bitmap_pages 557681
compute_gather_rows 37751
compute_semi_anti_join_factors 175665
cost_agg 74571
cost_append 58866
cost_bitmap_and_node 42008
cost_bitmap_heap_scan 444175
cost_bitmap_or_node 1752
cost_bitmap_tree_node 836294
cost_ctescan 3528
cost_functionscan 34784
cost_gather 21954
cost_gather_merge 15802
cost_group 1053
cost_incremental_sort 10005
cost_index 653072
cost_material 479116
cost_memoize_rescan 184618
cost_merge_append 7390
cost_namedtuplestorescan 437
cost_qual_eval 3497254
cost_qual_eval_node 1431544
cost_qual_eval_walker 7355186
cost_recursive_union 634
cost_rescan 2411952
cost_resultscan 3681
cost_samplescan 245
cost_seqscan 339111
cost_sort 1476592
cost_subplan 32293
cost_subqueryscan 49082
cost_tablefuncscan 594
cost_tidrangescan 1703
cost_tidscan 636
cost_tuplesort 1486597
cost_valuesscan 6989
cost_windowagg 2657
extract_nonindex_conditions 782969
final_cost_hashjoin 336794
final_cost_mergejoin 329448
final_cost_nestloop 1081579
get_expr_width 1355646
get_foreign_key_join_selectivity 208684
get_indexpath_pages 169261
get_parallel_divisor 374206
get_parameterized_baserel_size 127398
get_parameterized_joinrel_size 8310
get_restriction_qual_cost 862827
get_windowclause_startup_tuples 2657
has_indexed_join_quals 677077
index_pages_fetched 928840
initial_cost_hashjoin 621450
initial_cost_mergejoin 1037970
initial_cost_nestloop 2411952
page_size 6200
relation_byte_size 3581811
set_baserel_size_estimates 395363
set_cte_size_estimates 3528
set_foreign_size_estimates 1269
set_function_size_estimates 34784
set_joinrel_size_estimates 200374
set_namedtuplestore_size_estimates 437
set_pathtarget_cost_width 470106
set_rel_width 396612
set_result_size_estimates 3616
set_subquery_size_estimates 30018
set_tablefunc_size_estimates 594
set_values_size_estimates 6989

Generated by: LCOV version 2.0-1