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 03:15:59 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 23930
approx_tuple_count 623154
cached_scansel 1147745
calc_joinrel_size_estimate 227558
clamp_row_est 8596036
clamp_width_est 1557428
compute_bitmap_pages 581770
compute_gather_rows 37331
compute_semi_anti_join_factors 200600
cost_agg 74785
cost_append 63907
cost_bitmap_and_node 45579
cost_bitmap_heap_scan 468127
cost_bitmap_or_node 1700
cost_bitmap_tree_node 887105
cost_ctescan 4194
cost_functionscan 36267
cost_gather 20425
cost_gather_merge 16913
cost_group 1053
cost_incremental_sort 10651
cost_index 677216
cost_material 512346
cost_memoize_rescan 263782
cost_merge_append 9894
cost_namedtuplestorescan 447
cost_qual_eval 3782174
cost_qual_eval_node 1464964
cost_qual_eval_walker 7781588
cost_recursive_union 739
cost_rescan 2799961
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 342353
cost_sort 1584893
cost_subplan 33686
cost_subqueryscan 49727
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1595544
cost_valuesscan 7232
cost_windowagg 2727
extract_nonindex_conditions 818673
final_cost_hashjoin 352308
final_cost_mergejoin 371125
final_cost_nestloop 1203380
get_expr_width 1470969
get_foreign_key_join_selectivity 227558
get_indexpath_pages 179289
get_parallel_divisor 400525
get_parameterized_baserel_size 139329
get_parameterized_joinrel_size 11464
get_restriction_qual_cost 892977
get_windowclause_startup_tuples 2727
has_indexed_join_quals 733651
index_pages_fetched 972279
initial_cost_hashjoin 667840
initial_cost_mergejoin 1153102
initial_cost_nestloop 2799961
page_size 6238
relation_byte_size 3936121
set_baserel_size_estimates 402451
set_cte_size_estimates 4194
set_foreign_size_estimates 1394
set_function_size_estimates 36267
set_joinrel_size_estimates 216094
set_namedtuplestore_size_estimates 447
set_pathtarget_cost_width 480347
set_rel_width 403821
set_result_size_estimates 3887
set_subquery_size_estimates 30676
set_tablefunc_size_estimates 722
set_values_size_estimates 7232

Generated by: LCOV version 2.0-1