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-15 05:15:40 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 568237
cached_scansel 1023020
calc_joinrel_size_estimate 209144
clamp_row_est 7751881
clamp_width_est 1506645
compute_bitmap_pages 569788
compute_gather_rows 36465
compute_semi_anti_join_factors 194723
cost_agg 74714
cost_append 58078
cost_bitmap_and_node 44281
cost_bitmap_heap_scan 457389
cost_bitmap_or_node 1686
cost_bitmap_tree_node 868973
cost_ctescan 3650
cost_functionscan 34962
cost_gather 21202
cost_gather_merge 15268
cost_group 1043
cost_incremental_sort 9332
cost_index 656394
cost_material 468408
cost_memoize_rescan 186269
cost_merge_append 7472
cost_namedtuplestorescan 437
cost_qual_eval 3568410
cost_qual_eval_node 1435373
cost_qual_eval_walker 7412343
cost_recursive_union 636
cost_rescan 2431140
cost_resultscan 3686
cost_samplescan 247
cost_seqscan 336104
cost_sort 1441101
cost_subplan 32296
cost_subqueryscan 48180
cost_tablefuncscan 604
cost_tidrangescan 1698
cost_tidscan 643
cost_tuplesort 1450433
cost_valuesscan 6831
cost_windowagg 2654
extract_nonindex_conditions 791324
final_cost_hashjoin 334966
final_cost_mergejoin 332580
final_cost_nestloop 1134696
get_expr_width 1352840
get_foreign_key_join_selectivity 209144
get_indexpath_pages 168336
get_parallel_divisor 369912
get_parameterized_baserel_size 132392
get_parameterized_joinrel_size 8387
get_restriction_qual_cost 872814
get_windowclause_startup_tuples 2654
has_indexed_join_quals 710200
index_pages_fetched 930956
initial_cost_hashjoin 611630
initial_cost_mergejoin 1028025
initial_cost_nestloop 2431140
page_size 5802
relation_byte_size 3528480
set_baserel_size_estimates 392578
set_cte_size_estimates 3650
set_foreign_size_estimates 1334
set_function_size_estimates 34962
set_joinrel_size_estimates 200757
set_namedtuplestore_size_estimates 437
set_pathtarget_cost_width 469430
set_rel_width 393892
set_result_size_estimates 3621
set_subquery_size_estimates 29249
set_tablefunc_size_estimates 604
set_values_size_estimates 6831

Generated by: LCOV version 2.0-1