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-29 07:16:07 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 23918
approx_tuple_count 625227
cached_scansel 1148626
calc_joinrel_size_estimate 228308
clamp_row_est 8615842
clamp_width_est 1561576
compute_bitmap_pages 583762
compute_gather_rows 37320
compute_semi_anti_join_factors 201317
cost_agg 74791
cost_append 64536
cost_bitmap_and_node 45685
cost_bitmap_heap_scan 469711
cost_bitmap_or_node 1700
cost_bitmap_tree_node 889915
cost_ctescan 4191
cost_functionscan 36185
cost_gather 20417
cost_gather_merge 16910
cost_group 1053
cost_incremental_sort 10649
cost_index 679803
cost_material 513195
cost_memoize_rescan 263660
cost_merge_append 9916
cost_namedtuplestorescan 445
cost_qual_eval 3797215
cost_qual_eval_node 1467483
cost_qual_eval_walker 7805669
cost_recursive_union 739
cost_rescan 2800799
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 344121
cost_sort 1586137
cost_subplan 33691
cost_subqueryscan 49719
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1596786
cost_valuesscan 7232
cost_windowagg 2717
extract_nonindex_conditions 822010
final_cost_hashjoin 353782
final_cost_mergejoin 373002
final_cost_nestloop 1206859
get_expr_width 1472005
get_foreign_key_join_selectivity 228308
get_indexpath_pages 179733
get_parallel_divisor 400394
get_parameterized_baserel_size 140355
get_parameterized_joinrel_size 11598
get_restriction_qual_cost 896232
get_windowclause_startup_tuples 2717
has_indexed_join_quals 735575
index_pages_fetched 976400
initial_cost_hashjoin 668104
initial_cost_mergejoin 1153983
initial_cost_nestloop 2800799
page_size 6238
relation_byte_size 3940905
set_baserel_size_estimates 404103
set_cte_size_estimates 4191
set_foreign_size_estimates 1395
set_function_size_estimates 36185
set_joinrel_size_estimates 216710
set_namedtuplestore_size_estimates 445
set_pathtarget_cost_width 480714
set_rel_width 405474
set_result_size_estimates 3887
set_subquery_size_estimates 30668
set_tablefunc_size_estimates 722
set_values_size_estimates 7232

Generated by: LCOV version 2.0-1