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 1847
Test Date: 2026-12-04 21:16:11 Functions: 100.0 % 74 74
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 88.8 % 947 841

Function Name Sort by function name Hit count Sort by function hit count
append_nonpartial_cost 23942
approx_tuple_count 624551
cached_scansel 1147875
calc_joinrel_size_estimate 227997
clamp_row_est 8603861
clamp_width_est 1558792
compute_bitmap_pages 582633
compute_gather_rows 37327
compute_semi_anti_join_factors 200630
cost_agg 74804
cost_append 63926
cost_bitmap_and_node 45618
cost_bitmap_heap_scan 468684
cost_bitmap_or_node 1700
cost_bitmap_tree_node 888444
cost_ctescan 4210
cost_functionscan 36344
cost_gather 20421
cost_gather_merge 16913
cost_group 1053
cost_incremental_sort 10606
cost_index 678009
cost_material 512830
cost_memoize_rescan 263081
cost_merge_append 9894
cost_namedtuplestorescan 445
cost_qual_eval 3789660
cost_qual_eval_node 1467359
cost_qual_eval_walker 7797607
cost_recursive_union 739
cost_rescan 2800018
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 342818
cost_sort 1584841
cost_subplan 33697
cost_subqueryscan 49747
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1595447
cost_valuesscan 7257
cost_windowagg 2727
extract_nonindex_conditions 819486
final_cost_hashjoin 353253
final_cost_mergejoin 372171
final_cost_nestloop 1205653
get_expr_width 1471752
get_foreign_key_join_selectivity 227997
get_indexpath_pages 178867
get_parallel_divisor 400536
get_parameterized_baserel_size 139459
get_parameterized_joinrel_size 11598
get_restriction_qual_cost 894130
get_windowclause_startup_tuples 2727
has_indexed_join_quals 734431
index_pages_fetched 972334
initial_cost_hashjoin 667593
initial_cost_mergejoin 1153247
initial_cost_nestloop 2800018
page_size 6202
relation_byte_size 3937974
set_baserel_size_estimates 403067
set_cte_size_estimates 4210
set_foreign_size_estimates 1395
set_function_size_estimates 36344
set_joinrel_size_estimates 216399
set_namedtuplestore_size_estimates 445
set_pathtarget_cost_width 480987
set_rel_width 404437
set_result_size_estimates 3887
set_subquery_size_estimates 30696
set_tablefunc_size_estimates 722
set_values_size_estimates 7257

Generated by: LCOV version 2.0-1