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-22 07:16:10 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 23929
approx_tuple_count 623720
cached_scansel 1148083
calc_joinrel_size_estimate 228011
clamp_row_est 8603396
clamp_width_est 1561141
compute_bitmap_pages 583540
compute_gather_rows 37288
compute_semi_anti_join_factors 201215
cost_agg 74696
cost_append 64551
cost_bitmap_and_node 45675
cost_bitmap_heap_scan 469556
cost_bitmap_or_node 1700
cost_bitmap_tree_node 889561
cost_ctescan 4195
cost_functionscan 36027
cost_gather 20393
cost_gather_merge 16902
cost_group 1053
cost_incremental_sort 10612
cost_index 679480
cost_material 512781
cost_memoize_rescan 263504
cost_merge_append 9924
cost_namedtuplestorescan 445
cost_qual_eval 3790483
cost_qual_eval_node 1467698
cost_qual_eval_walker 7803074
cost_recursive_union 739
cost_rescan 2798620
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 343957
cost_sort 1584982
cost_subplan 33669
cost_subqueryscan 49677
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1595594
cost_valuesscan 7211
cost_windowagg 2717
extract_nonindex_conditions 821625
final_cost_hashjoin 351804
final_cost_mergejoin 372429
final_cost_nestloop 1205867
get_expr_width 1472036
get_foreign_key_join_selectivity 228011
get_indexpath_pages 179984
get_parallel_divisor 400442
get_parameterized_baserel_size 140282
get_parameterized_joinrel_size 11448
get_restriction_qual_cost 895744
get_windowclause_startup_tuples 2717
has_indexed_join_quals 735866
index_pages_fetched 976374
initial_cost_hashjoin 667295
initial_cost_mergejoin 1153436
initial_cost_nestloop 2798620
page_size 6198
relation_byte_size 3935969
set_baserel_size_estimates 403750
set_cte_size_estimates 4195
set_foreign_size_estimates 1395
set_function_size_estimates 36027
set_joinrel_size_estimates 216563
set_namedtuplestore_size_estimates 445
set_pathtarget_cost_width 481026
set_rel_width 405121
set_result_size_estimates 3887
set_subquery_size_estimates 30652
set_tablefunc_size_estimates 722
set_values_size_estimates 7211

Generated by: LCOV version 2.0-1