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-03 18:16:14 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 23926
approx_tuple_count 624671
cached_scansel 1147756
calc_joinrel_size_estimate 227981
clamp_row_est 8606638
clamp_width_est 1558158
compute_bitmap_pages 582608
compute_gather_rows 37290
compute_semi_anti_join_factors 200607
cost_agg 74801
cost_append 63914
cost_bitmap_and_node 45625
cost_bitmap_heap_scan 468685
cost_bitmap_or_node 1700
cost_bitmap_tree_node 888399
cost_ctescan 4200
cost_functionscan 36352
cost_gather 20400
cost_gather_merge 16897
cost_group 1053
cost_incremental_sort 10627
cost_index 677935
cost_material 512721
cost_memoize_rescan 263057
cost_merge_append 9894
cost_namedtuplestorescan 447
cost_qual_eval 3792802
cost_qual_eval_node 1466537
cost_qual_eval_walker 7798004
cost_recursive_union 739
cost_rescan 2799158
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 342745
cost_sort 1584745
cost_subplan 33686
cost_subqueryscan 49736
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1595372
cost_valuesscan 7231
cost_windowagg 2727
extract_nonindex_conditions 819403
final_cost_hashjoin 354067
final_cost_mergejoin 372273
final_cost_nestloop 1207136
get_expr_width 1471221
get_foreign_key_join_selectivity 227981
get_indexpath_pages 178659
get_parallel_divisor 400306
get_parameterized_baserel_size 139449
get_parameterized_joinrel_size 11606
get_restriction_qual_cost 894024
get_windowclause_startup_tuples 2727
has_indexed_join_quals 735733
index_pages_fetched 971904
initial_cost_hashjoin 669403
initial_cost_mergejoin 1153113
initial_cost_nestloop 2799158
page_size 6228
relation_byte_size 3938718
set_baserel_size_estimates 402974
set_cte_size_estimates 4200
set_foreign_size_estimates 1394
set_function_size_estimates 36352
set_joinrel_size_estimates 216375
set_namedtuplestore_size_estimates 447
set_pathtarget_cost_width 480631
set_rel_width 404344
set_result_size_estimates 3887
set_subquery_size_estimates 30685
set_tablefunc_size_estimates 722
set_values_size_estimates 7231

Generated by: LCOV version 2.0-1