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 19: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 23951
approx_tuple_count 624435
cached_scansel 1147503
calc_joinrel_size_estimate 228411
clamp_row_est 8598793
clamp_width_est 1561856
compute_bitmap_pages 584038
compute_gather_rows 37328
compute_semi_anti_join_factors 201218
cost_agg 74791
cost_append 64603
cost_bitmap_and_node 45607
cost_bitmap_heap_scan 469705
cost_bitmap_or_node 1700
cost_bitmap_tree_node 890271
cost_ctescan 4205
cost_functionscan 36262
cost_gather 20427
cost_gather_merge 16908
cost_group 1053
cost_incremental_sort 10641
cost_index 680307
cost_material 513366
cost_memoize_rescan 261953
cost_merge_append 9916
cost_namedtuplestorescan 441
cost_qual_eval 3795792
cost_qual_eval_node 1469276
cost_qual_eval_walker 7813417
cost_recursive_union 738
cost_rescan 2796103
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 344518
cost_sort 1585039
cost_subplan 33663
cost_subqueryscan 49724
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1595680
cost_valuesscan 7231
cost_windowagg 2717
extract_nonindex_conditions 822455
final_cost_hashjoin 352718
final_cost_mergejoin 372285
final_cost_nestloop 1208707
get_expr_width 1470638
get_foreign_key_join_selectivity 228411
get_indexpath_pages 178044
get_parallel_divisor 400602
get_parameterized_baserel_size 140407
get_parameterized_joinrel_size 11501
get_restriction_qual_cost 896713
get_windowclause_startup_tuples 2717
has_indexed_join_quals 736191
index_pages_fetched 974813
initial_cost_hashjoin 667188
initial_cost_mergejoin 1152860
initial_cost_nestloop 2796103
page_size 6222
relation_byte_size 3936539
set_baserel_size_estimates 404547
set_cte_size_estimates 4205
set_foreign_size_estimates 1394
set_function_size_estimates 36262
set_joinrel_size_estimates 216910
set_namedtuplestore_size_estimates 441
set_pathtarget_cost_width 481292
set_rel_width 405917
set_result_size_estimates 3887
set_subquery_size_estimates 30671
set_tablefunc_size_estimates 722
set_values_size_estimates 7231

Generated by: LCOV version 2.0-1