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-28 23:15:49 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 21383
approx_tuple_count 600787
cached_scansel 1085301
calc_joinrel_size_estimate 217971
clamp_row_est 7993416
clamp_width_est 1541902
compute_bitmap_pages 575135
compute_gather_rows 37134
compute_semi_anti_join_factors 201162
cost_agg 74605
cost_append 58178
cost_bitmap_and_node 44344
cost_bitmap_heap_scan 461612
cost_bitmap_or_node 1700
cost_bitmap_tree_node 873978
cost_ctescan 3581
cost_functionscan 35190
cost_gather 21634
cost_gather_merge 15505
cost_group 1043
cost_incremental_sort 10034
cost_index 664628
cost_material 496729
cost_memoize_rescan 191211
cost_merge_append 7392
cost_namedtuplestorescan 431
cost_qual_eval 3684910
cost_qual_eval_node 1442894
cost_qual_eval_walker 7609458
cost_recursive_union 638
cost_rescan 2551213
cost_resultscan 3686
cost_samplescan 245
cost_seqscan 341166
cost_sort 1545989
cost_subplan 32297
cost_subqueryscan 48994
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1556023
cost_valuesscan 6921
cost_windowagg 2654
extract_nonindex_conditions 801945
final_cost_hashjoin 349201
final_cost_mergejoin 352590
final_cost_nestloop 1168222
get_expr_width 1362110
get_foreign_key_join_selectivity 217971
get_indexpath_pages 171061
get_parallel_divisor 370853
get_parameterized_baserel_size 134990
get_parameterized_joinrel_size 9099
get_restriction_qual_cost 882673
get_windowclause_startup_tuples 2654
has_indexed_join_quals 733692
index_pages_fetched 945170
initial_cost_hashjoin 641577
initial_cost_mergejoin 1090306
initial_cost_nestloop 2551213
page_size 6164
relation_byte_size 3743145
set_baserel_size_estimates 398588
set_cte_size_estimates 3581
set_foreign_size_estimates 1334
set_function_size_estimates 35190
set_joinrel_size_estimates 208872
set_namedtuplestore_size_estimates 431
set_pathtarget_cost_width 469988
set_rel_width 399902
set_result_size_estimates 3621
set_subquery_size_estimates 30030
set_tablefunc_size_estimates 604
set_values_size_estimates 6921

Generated by: LCOV version 2.0-1