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-09-12 16:15:51 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 21306
approx_tuple_count 564983
cached_scansel 1022462
calc_joinrel_size_estimate 208359
clamp_row_est 7721178
clamp_width_est 1504975
compute_bitmap_pages 569272
compute_gather_rows 36476
compute_semi_anti_join_factors 194510
cost_agg 74677
cost_append 58055
cost_bitmap_and_node 44229
cost_bitmap_heap_scan 456930
cost_bitmap_or_node 1686
cost_bitmap_tree_node 867931
cost_ctescan 3646
cost_functionscan 34915
cost_gather 21210
cost_gather_merge 15271
cost_group 1043
cost_incremental_sort 9391
cost_index 655910
cost_material 468022
cost_memoize_rescan 186181
cost_merge_append 7472
cost_namedtuplestorescan 437
cost_qual_eval 3554262
cost_qual_eval_node 1431515
cost_qual_eval_walker 7390510
cost_recursive_union 634
cost_rescan 2424595
cost_resultscan 3686
cost_samplescan 247
cost_seqscan 335656
cost_sort 1440247
cost_subplan 32242
cost_subqueryscan 48148
cost_tablefuncscan 604
cost_tidrangescan 1698
cost_tidscan 643
cost_tuplesort 1449638
cost_valuesscan 6829
cost_windowagg 2654
extract_nonindex_conditions 790657
final_cost_hashjoin 331776
final_cost_mergejoin 330574
final_cost_nestloop 1132173
get_expr_width 1350182
get_foreign_key_join_selectivity 208359
get_indexpath_pages 168234
get_parallel_divisor 369959
get_parameterized_baserel_size 132236
get_parameterized_joinrel_size 7792
get_restriction_qual_cost 871857
get_windowclause_startup_tuples 2654
has_indexed_join_quals 709728
index_pages_fetched 930332
initial_cost_hashjoin 609458
initial_cost_mergejoin 1027467
initial_cost_nestloop 2424595
page_size 5842
relation_byte_size 3521675
set_baserel_size_estimates 392037
set_cte_size_estimates 3646
set_foreign_size_estimates 1334
set_function_size_estimates 34915
set_joinrel_size_estimates 200567
set_namedtuplestore_size_estimates 437
set_pathtarget_cost_width 468350
set_rel_width 393351
set_result_size_estimates 3621
set_subquery_size_estimates 29215
set_tablefunc_size_estimates 604
set_values_size_estimates 6829

Generated by: LCOV version 2.0-1