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-30 13:15:54 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 21406
approx_tuple_count 598162
cached_scansel 1083983
calc_joinrel_size_estimate 217522
clamp_row_est 7982060
clamp_width_est 1545526
compute_bitmap_pages 575111
compute_gather_rows 37142
compute_semi_anti_join_factors 201020
cost_agg 74619
cost_append 58223
cost_bitmap_and_node 44337
cost_bitmap_heap_scan 461562
cost_bitmap_or_node 1700
cost_bitmap_tree_node 873518
cost_ctescan 3577
cost_functionscan 35259
cost_gather 21644
cost_gather_merge 15503
cost_group 1043
cost_incremental_sort 9964
cost_index 664505
cost_material 496540
cost_memoize_rescan 191851
cost_merge_append 7392
cost_namedtuplestorescan 433
cost_qual_eval 3676347
cost_qual_eval_node 1443472
cost_qual_eval_walker 7601447
cost_recursive_union 636
cost_rescan 2548478
cost_resultscan 3686
cost_samplescan 245
cost_seqscan 341233
cost_sort 1543855
cost_subplan 32280
cost_subqueryscan 48988
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1553819
cost_valuesscan 6926
cost_windowagg 2654
extract_nonindex_conditions 801728
final_cost_hashjoin 348116
final_cost_mergejoin 350607
final_cost_nestloop 1165563
get_expr_width 1364794
get_foreign_key_join_selectivity 217522
get_indexpath_pages 172576
get_parallel_divisor 371026
get_parameterized_baserel_size 134974
get_parameterized_joinrel_size 8662
get_restriction_qual_cost 882759
get_windowclause_startup_tuples 2654
has_indexed_join_quals 733475
index_pages_fetched 946940
initial_cost_hashjoin 641311
initial_cost_mergejoin 1088988
initial_cost_nestloop 2548478
page_size 6090
relation_byte_size 3737651
set_baserel_size_estimates 398690
set_cte_size_estimates 3577
set_foreign_size_estimates 1334
set_function_size_estimates 35259
set_joinrel_size_estimates 208860
set_namedtuplestore_size_estimates 433
set_pathtarget_cost_width 471595
set_rel_width 400004
set_result_size_estimates 3621
set_subquery_size_estimates 30025
set_tablefunc_size_estimates 604
set_values_size_estimates 6926

Generated by: LCOV version 2.0-1