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-09-20 18:15:52 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 21189
approx_tuple_count 565472
cached_scansel 1023658
calc_joinrel_size_estimate 208955
clamp_row_est 7725872
clamp_width_est 1500834
compute_bitmap_pages 568754
compute_gather_rows 36319
compute_semi_anti_join_factors 194671
cost_agg 74587
cost_append 57736
cost_bitmap_and_node 44200
cost_bitmap_heap_scan 456277
cost_bitmap_or_node 1686
cost_bitmap_tree_node 867129
cost_ctescan 3648
cost_functionscan 35093
cost_gather 21166
cost_gather_merge 15158
cost_group 1043
cost_incremental_sort 9354
cost_index 655634
cost_material 468979
cost_memoize_rescan 186446
cost_merge_append 7472
cost_namedtuplestorescan 393
cost_qual_eval 3555440
cost_qual_eval_node 1426559
cost_qual_eval_walker 7377221
cost_recursive_union 637
cost_rescan 2429481
cost_resultscan 3686
cost_samplescan 247
cost_seqscan 334416
cost_sort 1440522
cost_subplan 32227
cost_subqueryscan 48100
cost_tablefuncscan 619
cost_tidrangescan 1698
cost_tidscan 643
cost_tuplesort 1449876
cost_valuesscan 6797
cost_windowagg 2654
extract_nonindex_conditions 790466
final_cost_hashjoin 332365
final_cost_mergejoin 330498
final_cost_nestloop 1133660
get_expr_width 1345321
get_foreign_key_join_selectivity 208955
get_indexpath_pages 168788
get_parallel_divisor 369329
get_parameterized_baserel_size 132526
get_parameterized_joinrel_size 7804
get_restriction_qual_cost 870011
get_windowclause_startup_tuples 2654
has_indexed_join_quals 710208
index_pages_fetched 930993
initial_cost_hashjoin 610377
initial_cost_mergejoin 1028683
initial_cost_nestloop 2429481
page_size 5834
relation_byte_size 3524877
set_baserel_size_estimates 391005
set_cte_size_estimates 3648
set_foreign_size_estimates 1327
set_function_size_estimates 35093
set_joinrel_size_estimates 201151
set_namedtuplestore_size_estimates 393
set_pathtarget_cost_width 466110
set_rel_width 392312
set_result_size_estimates 3621
set_subquery_size_estimates 29227
set_tablefunc_size_estimates 619
set_values_size_estimates 6797

Generated by: LCOV version 2.0-1