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 % 1862 1823
Test Date: 2026-08-10 22:15:57 Functions: 100.0 % 74 74
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 88.7 % 919 815

Function Name Sort by function name Hit count Sort by function hit count
append_nonpartial_cost 21815
approx_tuple_count 605458
cached_scansel 1091374
calc_joinrel_size_estimate 218849
clamp_row_est 8044176
clamp_width_est 1552610
compute_bitmap_pages 582718
compute_gather_rows 37939
compute_semi_anti_join_factors 188257
cost_agg 74846
cost_append 59089
cost_bitmap_and_node 45010
cost_bitmap_heap_scan 467807
cost_bitmap_or_node 1800
cost_bitmap_tree_node 885979
cost_ctescan 3579
cost_functionscan 35197
cost_gather 22079
cost_gather_merge 15865
cost_group 1043
cost_incremental_sort 10030
cost_index 673338
cost_material 499433
cost_memoize_rescan 193299
cost_merge_append 7392
cost_namedtuplestorescan 433
cost_qual_eval 3706784
cost_qual_eval_node 1458568
cost_qual_eval_walker 7668372
cost_recursive_union 637
cost_rescan 2568332
cost_resultscan 3746
cost_samplescan 245
cost_seqscan 344418
cost_sort 1553407
cost_subplan 32569
cost_subqueryscan 49559
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 636
cost_tuplesort 1563437
cost_valuesscan 7013
cost_windowagg 2649
extract_nonindex_conditions 812484
final_cost_hashjoin 350621
final_cost_mergejoin 352607
final_cost_nestloop 1174940
get_expr_width 1372184
get_foreign_key_join_selectivity 218849
get_indexpath_pages 175787
get_parallel_divisor 374574
get_parameterized_baserel_size 136639
get_parameterized_joinrel_size 8686
get_restriction_qual_cost 892596
get_windowclause_startup_tuples 2649
has_indexed_join_quals 739501
index_pages_fetched 960147
initial_cost_hashjoin 646290
initial_cost_mergejoin 1096339
initial_cost_nestloop 2568332
page_size 6346
relation_byte_size 3761906
set_baserel_size_estimates 401435
set_cte_size_estimates 3579
set_foreign_size_estimates 1287
set_function_size_estimates 35197
set_joinrel_size_estimates 210163
set_namedtuplestore_size_estimates 433
set_pathtarget_cost_width 473013
set_rel_width 402702
set_result_size_estimates 3681
set_subquery_size_estimates 30248
set_tablefunc_size_estimates 604
set_values_size_estimates 7013

Generated by: LCOV version 2.0-1