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-08-26 07:15:50 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 21796
approx_tuple_count 599694
cached_scansel 1092752
calc_joinrel_size_estimate 218872
clamp_row_est 8049850
clamp_width_est 1557241
compute_bitmap_pages 582609
compute_gather_rows 37921
compute_semi_anti_join_factors 203723
cost_agg 75022
cost_append 59056
cost_bitmap_and_node 45060
cost_bitmap_heap_scan 467890
cost_bitmap_or_node 1800
cost_bitmap_tree_node 885916
cost_ctescan 3574
cost_functionscan 35248
cost_gather 22067
cost_gather_merge 15859
cost_group 1043
cost_incremental_sort 10036
cost_index 673461
cost_material 499661
cost_memoize_rescan 194688
cost_merge_append 7392
cost_namedtuplestorescan 431
cost_qual_eval 3700967
cost_qual_eval_node 1457992
cost_qual_eval_walker 7657301
cost_recursive_union 637
cost_rescan 2572338
cost_resultscan 3751
cost_samplescan 245
cost_seqscan 344843
cost_sort 1556638
cost_subplan 32601
cost_subqueryscan 49627
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1566674
cost_valuesscan 7084
cost_windowagg 2654
extract_nonindex_conditions 812762
final_cost_hashjoin 348962
final_cost_mergejoin 351652
final_cost_nestloop 1173049
get_expr_width 1376817
get_foreign_key_join_selectivity 218872
get_indexpath_pages 176769
get_parallel_divisor 374334
get_parameterized_baserel_size 136675
get_parameterized_joinrel_size 8426
get_restriction_qual_cost 893272
get_windowclause_startup_tuples 2654
has_indexed_join_quals 738836
index_pages_fetched 961726
initial_cost_hashjoin 646166
initial_cost_mergejoin 1097757
initial_cost_nestloop 2572338
page_size 6210
relation_byte_size 3764858
set_baserel_size_estimates 402098
set_cte_size_estimates 3574
set_foreign_size_estimates 1334
set_function_size_estimates 35248
set_joinrel_size_estimates 210446
set_namedtuplestore_size_estimates 431
set_pathtarget_cost_width 474175
set_rel_width 403412
set_result_size_estimates 3686
set_subquery_size_estimates 30290
set_tablefunc_size_estimates 604
set_values_size_estimates 7084

Generated by: LCOV version 2.0-1