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-22 20: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 23921
approx_tuple_count 622938
cached_scansel 1148031
calc_joinrel_size_estimate 227526
clamp_row_est 8601543
clamp_width_est 1558912
compute_bitmap_pages 583023
compute_gather_rows 37290
compute_semi_anti_join_factors 201208
cost_agg 74675
cost_append 64526
cost_bitmap_and_node 45811
cost_bitmap_heap_scan 469480
cost_bitmap_or_node 1700
cost_bitmap_tree_node 889482
cost_ctescan 4189
cost_functionscan 35867
cost_gather 20395
cost_gather_merge 16902
cost_group 1053
cost_incremental_sort 10595
cost_index 678388
cost_material 512165
cost_memoize_rescan 264389
cost_merge_append 9924
cost_namedtuplestorescan 447
cost_qual_eval 3787055
cost_qual_eval_node 1465310
cost_qual_eval_walker 7786513
cost_recursive_union 739
cost_rescan 2799177
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 343307
cost_sort 1585596
cost_subplan 33669
cost_subqueryscan 49674
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1596191
cost_valuesscan 7212
cost_windowagg 2717
extract_nonindex_conditions 820522
final_cost_hashjoin 352179
final_cost_mergejoin 371402
final_cost_nestloop 1204951
get_expr_width 1471593
get_foreign_key_join_selectivity 227526
get_indexpath_pages 180849
get_parallel_divisor 400411
get_parameterized_baserel_size 140093
get_parameterized_joinrel_size 11352
get_restriction_qual_cost 894852
get_windowclause_startup_tuples 2717
has_indexed_join_quals 735676
index_pages_fetched 976099
initial_cost_hashjoin 667828
initial_cost_mergejoin 1153384
initial_cost_nestloop 2799177
page_size 6210
relation_byte_size 3936325
set_baserel_size_estimates 402941
set_cte_size_estimates 4189
set_foreign_size_estimates 1394
set_function_size_estimates 35867
set_joinrel_size_estimates 216174
set_namedtuplestore_size_estimates 447
set_pathtarget_cost_width 480427
set_rel_width 404311
set_result_size_estimates 3887
set_subquery_size_estimates 30651
set_tablefunc_size_estimates 722
set_values_size_estimates 7212

Generated by: LCOV version 2.0-1