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-19 00:15:48 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 21172
approx_tuple_count 566285
cached_scansel 1022036
calc_joinrel_size_estimate 208435
clamp_row_est 7722470
clamp_width_est 1493418
compute_bitmap_pages 567545
compute_gather_rows 36325
compute_semi_anti_join_factors 194499
cost_agg 74561
cost_append 57694
cost_bitmap_and_node 44189
cost_bitmap_heap_scan 455503
cost_bitmap_or_node 1686
cost_bitmap_tree_node 865986
cost_ctescan 3631
cost_functionscan 34871
cost_gather 21166
cost_gather_merge 15164
cost_group 1043
cost_incremental_sort 9343
cost_index 654319
cost_material 467916
cost_memoize_rescan 185673
cost_merge_append 7472
cost_namedtuplestorescan 393
cost_qual_eval 3556284
cost_qual_eval_node 1417520
cost_qual_eval_walker 7363112
cost_recursive_union 636
cost_rescan 2424316
cost_resultscan 3676
cost_samplescan 247
cost_seqscan 333575
cost_sort 1438487
cost_subplan 32156
cost_subqueryscan 48050
cost_tablefuncscan 604
cost_tidrangescan 1698
cost_tidscan 643
cost_tuplesort 1447830
cost_valuesscan 6783
cost_windowagg 2654
extract_nonindex_conditions 789039
final_cost_hashjoin 334157
final_cost_mergejoin 331150
final_cost_nestloop 1131998
get_expr_width 1336363
get_foreign_key_join_selectivity 208435
get_indexpath_pages 168333
get_parallel_divisor 369248
get_parameterized_baserel_size 132215
get_parameterized_joinrel_size 7867
get_restriction_qual_cost 868090
get_windowclause_startup_tuples 2654
has_indexed_join_quals 709668
index_pages_fetched 928941
initial_cost_hashjoin 611293
initial_cost_mergejoin 1027041
initial_cost_nestloop 2424316
page_size 5812
relation_byte_size 3521566
set_baserel_size_estimates 389861
set_cte_size_estimates 3631
set_foreign_size_estimates 1328
set_function_size_estimates 34871
set_joinrel_size_estimates 200568
set_namedtuplestore_size_estimates 393
set_pathtarget_cost_width 462049
set_rel_width 391169
set_result_size_estimates 3611
set_subquery_size_estimates 29180
set_tablefunc_size_estimates 604
set_values_size_estimates 6783

Generated by: LCOV version 2.0-1