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-21 03:16:10 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 23920
approx_tuple_count 624277
cached_scansel 1146491
calc_joinrel_size_estimate 227658
clamp_row_est 8585328
clamp_width_est 1558275
compute_bitmap_pages 582758
compute_gather_rows 37278
compute_semi_anti_join_factors 201047
cost_agg 74682
cost_append 64524
cost_bitmap_and_node 45595
cost_bitmap_heap_scan 468897
cost_bitmap_or_node 1700
cost_bitmap_tree_node 888719
cost_ctescan 4188
cost_functionscan 35944
cost_gather 20385
cost_gather_merge 16900
cost_group 1053
cost_incremental_sort 10612
cost_index 678884
cost_material 512162
cost_memoize_rescan 261421
cost_merge_append 9924
cost_namedtuplestorescan 441
cost_qual_eval 3789226
cost_qual_eval_node 1466314
cost_qual_eval_walker 7797665
cost_recursive_union 738
cost_rescan 2790923
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 343626
cost_sort 1583285
cost_subplan 33629
cost_subqueryscan 49657
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1593897
cost_valuesscan 7206
cost_windowagg 2717
extract_nonindex_conditions 820928
final_cost_hashjoin 351858
final_cost_mergejoin 372708
final_cost_nestloop 1205395
get_expr_width 1468087
get_foreign_key_join_selectivity 227658
get_indexpath_pages 178465
get_parallel_divisor 400361
get_parameterized_baserel_size 140112
get_parameterized_joinrel_size 11361
get_restriction_qual_cost 894633
get_windowclause_startup_tuples 2717
has_indexed_join_quals 735043
index_pages_fetched 973867
initial_cost_hashjoin 666614
initial_cost_mergejoin 1151840
initial_cost_nestloop 2790923
page_size 6184
relation_byte_size 3930698
set_baserel_size_estimates 403313
set_cte_size_estimates 4188
set_foreign_size_estimates 1394
set_function_size_estimates 35944
set_joinrel_size_estimates 216297
set_namedtuplestore_size_estimates 441
set_pathtarget_cost_width 480199
set_rel_width 404683
set_result_size_estimates 3887
set_subquery_size_estimates 30632
set_tablefunc_size_estimates 722
set_values_size_estimates 7206

Generated by: LCOV version 2.0-1