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-09-09 18:15:52 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 21295
approx_tuple_count 564470
cached_scansel 1022195
calc_joinrel_size_estimate 208275
clamp_row_est 7729556
clamp_width_est 1506138
compute_bitmap_pages 569478
compute_gather_rows 36458
compute_semi_anti_join_factors 194569
cost_agg 74634
cost_append 58033
cost_bitmap_and_node 44270
cost_bitmap_heap_scan 457065
cost_bitmap_or_node 1686
cost_bitmap_tree_node 867769
cost_ctescan 3645
cost_functionscan 34919
cost_gather 21200
cost_gather_merge 15263
cost_group 1043
cost_incremental_sort 9407
cost_index 655935
cost_material 467976
cost_memoize_rescan 187577
cost_merge_append 7472
cost_namedtuplestorescan 441
cost_qual_eval 3549723
cost_qual_eval_node 1431219
cost_qual_eval_walker 7382145
cost_recursive_union 634
cost_rescan 2428179
cost_resultscan 3686
cost_samplescan 247
cost_seqscan 335585
cost_sort 1439898
cost_subplan 32220
cost_subqueryscan 48127
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1449305
cost_valuesscan 6825
cost_windowagg 2654
extract_nonindex_conditions 790711
final_cost_hashjoin 332180
final_cost_mergejoin 329594
final_cost_nestloop 1128535
get_expr_width 1350812
get_foreign_key_join_selectivity 208275
get_indexpath_pages 169815
get_parallel_divisor 369830
get_parameterized_baserel_size 132257
get_parameterized_joinrel_size 7745
get_restriction_qual_cost 871922
get_windowclause_startup_tuples 2654
has_indexed_join_quals 707150
index_pages_fetched 932224
initial_cost_hashjoin 610025
initial_cost_mergejoin 1027200
initial_cost_nestloop 2428179
page_size 5818
relation_byte_size 3522261
set_baserel_size_estimates 391965
set_cte_size_estimates 3645
set_foreign_size_estimates 1333
set_function_size_estimates 34919
set_joinrel_size_estimates 200530
set_namedtuplestore_size_estimates 441
set_pathtarget_cost_width 468071
set_rel_width 393277
set_result_size_estimates 3621
set_subquery_size_estimates 29199
set_tablefunc_size_estimates 604
set_values_size_estimates 6825

Generated by: LCOV version 2.0-1