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-15 19:16:11 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 23896
approx_tuple_count 622883
cached_scansel 1146276
calc_joinrel_size_estimate 227635
clamp_row_est 8593560
clamp_width_est 1556797
compute_bitmap_pages 583394
compute_gather_rows 37285
compute_semi_anti_join_factors 201036
cost_agg 74581
cost_append 64388
cost_bitmap_and_node 45723
cost_bitmap_heap_scan 469481
cost_bitmap_or_node 1700
cost_bitmap_tree_node 889879
cost_ctescan 4139
cost_functionscan 35979
cost_gather 20387
cost_gather_merge 16905
cost_group 1048
cost_incremental_sort 10573
cost_index 678970
cost_material 512258
cost_memoize_rescan 261984
cost_merge_append 9858
cost_namedtuplestorescan 413
cost_qual_eval 3788727
cost_qual_eval_node 1464762
cost_qual_eval_walker 7790576
cost_recursive_union 718
cost_rescan 2792317
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 343532
cost_sort 1582591
cost_subplan 33573
cost_subqueryscan 49552
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1593164
cost_valuesscan 7094
cost_windowagg 2707
extract_nonindex_conditions 821001
final_cost_hashjoin 353277
final_cost_mergejoin 371555
final_cost_nestloop 1204411
get_expr_width 1466931
get_foreign_key_join_selectivity 227635
get_indexpath_pages 179405
get_parallel_divisor 400232
get_parameterized_baserel_size 140157
get_parameterized_joinrel_size 11349
get_restriction_qual_cost 894924
get_windowclause_startup_tuples 2707
has_indexed_join_quals 734232
index_pages_fetched 974779
initial_cost_hashjoin 668198
initial_cost_mergejoin 1151505
initial_cost_nestloop 2792317
page_size 6156
relation_byte_size 3931178
set_baserel_size_estimates 402929
set_cte_size_estimates 4139
set_foreign_size_estimates 1337
set_function_size_estimates 35979
set_joinrel_size_estimates 216286
set_namedtuplestore_size_estimates 413
set_pathtarget_cost_width 479371
set_rel_width 404242
set_result_size_estimates 3887
set_subquery_size_estimates 30530
set_tablefunc_size_estimates 722
set_values_size_estimates 7094

Generated by: LCOV version 2.0-1