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-10-03 17:15:55 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 21187
approx_tuple_count 569479
cached_scansel 1033921
calc_joinrel_size_estimate 210356
clamp_row_est 7794620
clamp_width_est 1504644
compute_bitmap_pages 569677
compute_gather_rows 36306
compute_semi_anti_join_factors 196681
cost_agg 74767
cost_append 57801
cost_bitmap_and_node 44362
cost_bitmap_heap_scan 457506
cost_bitmap_or_node 1688
cost_bitmap_tree_node 868776
cost_ctescan 4016
cost_functionscan 35098
cost_gather 21164
cost_gather_merge 15147
cost_group 1043
cost_incremental_sort 9307
cost_index 657787
cost_material 472304
cost_memoize_rescan 190880
cost_merge_append 7472
cost_namedtuplestorescan 391
cost_qual_eval 3575461
cost_qual_eval_node 1422183
cost_qual_eval_walker 7405743
cost_recursive_union 692
cost_rescan 2454752
cost_resultscan 3692
cost_samplescan 247
cost_seqscan 334780
cost_sort 1452859
cost_subplan 32369
cost_subqueryscan 48662
cost_tablefuncscan 604
cost_tidrangescan 1683
cost_tidscan 643
cost_tuplesort 1462166
cost_valuesscan 6780
cost_windowagg 2654
extract_nonindex_conditions 793764
final_cost_hashjoin 335285
final_cost_mergejoin 332932
final_cost_nestloop 1138582
get_expr_width 1349567
get_foreign_key_join_selectivity 210356
get_indexpath_pages 171455
get_parallel_divisor 369257
get_parameterized_baserel_size 133327
get_parameterized_joinrel_size 8036
get_restriction_qual_cost 872011
get_windowclause_startup_tuples 2654
has_indexed_join_quals 715542
index_pages_fetched 938073
initial_cost_hashjoin 616313
initial_cost_mergejoin 1038970
initial_cost_nestloop 2454752
page_size 6124
relation_byte_size 3556919
set_baserel_size_estimates 392204
set_cte_size_estimates 4016
set_foreign_size_estimates 1327
set_function_size_estimates 35098
set_joinrel_size_estimates 202320
set_namedtuplestore_size_estimates 391
set_pathtarget_cost_width 463941
set_rel_width 393511
set_result_size_estimates 3627
set_subquery_size_estimates 29715
set_tablefunc_size_estimates 604
set_values_size_estimates 6780

Generated by: LCOV version 2.0-1