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-24 23:16:57 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 23910
approx_tuple_count 628512
cached_scansel 1148724
calc_joinrel_size_estimate 228454
clamp_row_est 8619747
clamp_width_est 1556101
compute_bitmap_pages 582095
compute_gather_rows 37303
compute_semi_anti_join_factors 201343
cost_agg 74711
cost_append 64520
cost_bitmap_and_node 45548
cost_bitmap_heap_scan 468522
cost_bitmap_or_node 1700
cost_bitmap_tree_node 888374
cost_ctescan 4195
cost_functionscan 35910
cost_gather 20395
cost_gather_merge 16915
cost_group 1053
cost_incremental_sort 10604
cost_index 678701
cost_material 512683
cost_memoize_rescan 261801
cost_merge_append 9924
cost_namedtuplestorescan 445
cost_qual_eval 3808142
cost_qual_eval_node 1465332
cost_qual_eval_walker 7819108
cost_recursive_union 739
cost_rescan 2798694
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 343412
cost_sort 1586381
cost_subplan 33679
cost_subqueryscan 49725
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1596985
cost_valuesscan 7228
cost_windowagg 2717
extract_nonindex_conditions 820920
final_cost_hashjoin 355620
final_cost_mergejoin 375825
final_cost_nestloop 1210936
get_expr_width 1467734
get_foreign_key_join_selectivity 228454
get_indexpath_pages 177341
get_parallel_divisor 400286
get_parameterized_baserel_size 140186
get_parameterized_joinrel_size 12108
get_restriction_qual_cost 894066
get_windowclause_startup_tuples 2717
has_indexed_join_quals 738573
index_pages_fetched 972556
initial_cost_hashjoin 669090
initial_cost_mergejoin 1154081
initial_cost_nestloop 2798694
page_size 6206
relation_byte_size 3942677
set_baserel_size_estimates 403149
set_cte_size_estimates 4195
set_foreign_size_estimates 1395
set_function_size_estimates 35910
set_joinrel_size_estimates 216346
set_namedtuplestore_size_estimates 445
set_pathtarget_cost_width 479472
set_rel_width 404520
set_result_size_estimates 3887
set_subquery_size_estimates 30676
set_tablefunc_size_estimates 722
set_values_size_estimates 7228

Generated by: LCOV version 2.0-1