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-01 23:16:15 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 23918
approx_tuple_count 624228
cached_scansel 1147704
calc_joinrel_size_estimate 227964
clamp_row_est 8600980
clamp_width_est 1558017
compute_bitmap_pages 582668
compute_gather_rows 37325
compute_semi_anti_join_factors 200594
cost_agg 74780
cost_append 63877
cost_bitmap_and_node 45648
cost_bitmap_heap_scan 468747
cost_bitmap_or_node 1700
cost_bitmap_tree_node 888649
cost_ctescan 4201
cost_functionscan 36333
cost_gather 20422
cost_gather_merge 16910
cost_group 1053
cost_incremental_sort 10608
cost_index 677921
cost_material 512776
cost_memoize_rescan 263238
cost_merge_append 9894
cost_namedtuplestorescan 441
cost_qual_eval 3788085
cost_qual_eval_node 1466103
cost_qual_eval_walker 7791914
cost_recursive_union 739
cost_rescan 2800181
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 342682
cost_sort 1584508
cost_subplan 33685
cost_subqueryscan 49744
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1595116
cost_valuesscan 7231
cost_windowagg 2727
extract_nonindex_conditions 819362
final_cost_hashjoin 352507
final_cost_mergejoin 371931
final_cost_nestloop 1206285
get_expr_width 1471032
get_foreign_key_join_selectivity 227964
get_indexpath_pages 179073
get_parallel_divisor 400387
get_parameterized_baserel_size 139422
get_parameterized_joinrel_size 11600
get_restriction_qual_cost 894006
get_windowclause_startup_tuples 2727
has_indexed_join_quals 735181
index_pages_fetched 972452
initial_cost_hashjoin 667583
initial_cost_mergejoin 1153061
initial_cost_nestloop 2800181
page_size 6206
relation_byte_size 3936773
set_baserel_size_estimates 402895
set_cte_size_estimates 4201
set_foreign_size_estimates 1394
set_function_size_estimates 36333
set_joinrel_size_estimates 216364
set_namedtuplestore_size_estimates 441
set_pathtarget_cost_width 480543
set_rel_width 404265
set_result_size_estimates 3887
set_subquery_size_estimates 30692
set_tablefunc_size_estimates 722
set_values_size_estimates 7231

Generated by: LCOV version 2.0-1