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 % 1864 1825
Test Date: 2026-08-21 23:15:56 Functions: 100.0 % 74 74
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 88.7 % 921 817

Function Name Sort by function name Hit count Sort by function hit count
append_nonpartial_cost 21805
approx_tuple_count 605548
cached_scansel 1093821
calc_joinrel_size_estimate 219056
clamp_row_est 8051719
clamp_width_est 1556284
compute_bitmap_pages 582818
compute_gather_rows 37924
compute_semi_anti_join_factors 188674
cost_agg 74958
cost_append 59075
cost_bitmap_and_node 45071
cost_bitmap_heap_scan 468059
cost_bitmap_or_node 1800
cost_bitmap_tree_node 886323
cost_ctescan 3575
cost_functionscan 35243
cost_gather 22063
cost_gather_merge 15866
cost_group 1043
cost_incremental_sort 10068
cost_index 673700
cost_material 499983
cost_memoize_rescan 194222
cost_merge_append 7392
cost_namedtuplestorescan 437
cost_qual_eval 3705819
cost_qual_eval_node 1458826
cost_qual_eval_walker 7663628
cost_recursive_union 638
cost_rescan 2573763
cost_resultscan 3751
cost_samplescan 245
cost_seqscan 344815
cost_sort 1557691
cost_subplan 32627
cost_subqueryscan 49616
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 641
cost_tuplesort 1567759
cost_valuesscan 7081
cost_windowagg 2649
extract_nonindex_conditions 813081
final_cost_hashjoin 349642
final_cost_mergejoin 352325
final_cost_nestloop 1175012
get_expr_width 1376112
get_foreign_key_join_selectivity 219056
get_indexpath_pages 176677
get_parallel_divisor 374391
get_parameterized_baserel_size 136749
get_parameterized_joinrel_size 8539
get_restriction_qual_cost 893407
get_windowclause_startup_tuples 2649
has_indexed_join_quals 740264
index_pages_fetched 961749
initial_cost_hashjoin 646396
initial_cost_mergejoin 1098826
initial_cost_nestloop 2573763
page_size 6282
relation_byte_size 3767846
set_baserel_size_estimates 402062
set_cte_size_estimates 3575
set_foreign_size_estimates 1334
set_function_size_estimates 35243
set_joinrel_size_estimates 210517
set_namedtuplestore_size_estimates 437
set_pathtarget_cost_width 473732
set_rel_width 403376
set_result_size_estimates 3686
set_subquery_size_estimates 30279
set_tablefunc_size_estimates 604
set_values_size_estimates 7081

Generated by: LCOV version 2.0-1