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-11-20 14:16:13 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
cost_samplescan 262
cost_namedtuplestorescan 445
set_namedtuplestore_size_estimates 445
cost_tidscan 643
cost_recursive_union 719
cost_tablefuncscan 722
set_tablefunc_size_estimates 722
cost_group 1048
set_foreign_size_estimates 1395
cost_bitmap_or_node 1700
cost_tidrangescan 1703
cost_windowagg 2707
get_windowclause_startup_tuples 2707
set_result_size_estimates 3887
cost_resultscan 3952
cost_ctescan 4135
set_cte_size_estimates 4135
page_size 6202
cost_valuesscan 7206
set_values_size_estimates 7206
cost_merge_append 9924
cost_incremental_sort 10619
get_parameterized_joinrel_size 11356
cost_gather_merge 16902
cost_gather 20393
append_nonpartial_cost 23913
set_subquery_size_estimates 30578
cost_subplan 33634
cost_functionscan 35872
set_function_size_estimates 35872
compute_gather_rows 37288
cost_bitmap_and_node 45646
cost_subqueryscan 49599
cost_append 64513
cost_agg 74666
get_parameterized_baserel_size 140086
get_indexpath_pages 180015
compute_semi_anti_join_factors 201203
set_joinrel_size_estimates 216157
calc_joinrel_size_estimate 227513
get_foreign_key_join_selectivity 227513
cost_memoize_rescan 263865
cost_seqscan 343240
final_cost_hashjoin 351770
final_cost_mergejoin 371979
get_parallel_divisor 400327
set_baserel_size_estimates 402752
set_rel_width 404123
cost_bitmap_heap_scan 468774
set_pathtarget_cost_width 479634
cost_material 512124
compute_bitmap_pages 582319
approx_tuple_count 623584
initial_cost_hashjoin 667569
cost_index 678352
has_indexed_join_quals 733899
extract_nonindex_conditions 820483
cost_bitmap_tree_node 888142
get_restriction_qual_cost 893989
index_pages_fetched 975405
cached_scansel 1147913
initial_cost_mergejoin 1153262
final_cost_nestloop 1202982
cost_qual_eval_node 1464139
get_expr_width 1469717
clamp_width_est 1557935
cost_sort 1584929
cost_tuplesort 1595548
cost_rescan 2797821
initial_cost_nestloop 2797821
cost_qual_eval 3784666
relation_byte_size 3934714
cost_qual_eval_walker 7780895
clamp_row_est 8596651

Generated by: LCOV version 2.0-1