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-11 00:16:14 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 23823
approx_tuple_count 624345
cached_scansel 1135716
calc_joinrel_size_estimate 227218
clamp_row_est 8514084
clamp_width_est 1552692
compute_bitmap_pages 578364
compute_gather_rows 37225
compute_semi_anti_join_factors 201063
cost_agg 74314
cost_append 64174
cost_bitmap_and_node 44750
cost_bitmap_heap_scan 464937
cost_bitmap_or_node 1700
cost_bitmap_tree_node 880843
cost_ctescan 4135
cost_functionscan 35801
cost_gather 20325
cost_gather_merge 16907
cost_group 1043
cost_incremental_sort 10591
cost_index 669450
cost_material 511599
cost_memoize_rescan 256404
cost_merge_append 9858
cost_namedtuplestorescan 411
cost_qual_eval 3782155
cost_qual_eval_node 1459140
cost_qual_eval_walker 7764664
cost_recursive_union 719
cost_rescan 2771045
cost_resultscan 3937
cost_samplescan 262
cost_seqscan 342328
cost_sort 1579239
cost_subplan 33554
cost_subqueryscan 49528
cost_tablefuncscan 717
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1589830
cost_valuesscan 7085
cost_windowagg 2707
extract_nonindex_conditions 808675
final_cost_hashjoin 354420
final_cost_mergejoin 372523
final_cost_nestloop 1204351
get_expr_width 1460197
get_foreign_key_join_selectivity 227218
get_indexpath_pages 174695
get_parallel_divisor 399844
get_parameterized_baserel_size 137167
get_parameterized_joinrel_size 11541
get_restriction_qual_cost 888940
get_windowclause_startup_tuples 2707
has_indexed_join_quals 735178
index_pages_fetched 956941
initial_cost_hashjoin 668487
initial_cost_mergejoin 1140845
initial_cost_nestloop 2771045
page_size 6488
relation_byte_size 3919695
set_baserel_size_estimates 401585
set_cte_size_estimates 4135
set_foreign_size_estimates 1337
set_function_size_estimates 35801
set_joinrel_size_estimates 215677
set_namedtuplestore_size_estimates 411
set_pathtarget_cost_width 478707
set_rel_width 402898
set_result_size_estimates 3872
set_subquery_size_estimates 30508
set_tablefunc_size_estimates 717
set_values_size_estimates 7085

Generated by: LCOV version 2.0-1