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-19 01:15:50 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 23905
approx_tuple_count 624225
cached_scansel 1147973
calc_joinrel_size_estimate 227843
clamp_row_est 8597193
clamp_width_est 1558062
compute_bitmap_pages 583099
compute_gather_rows 37294
compute_semi_anti_join_factors 201189
cost_agg 74646
cost_append 64498
cost_bitmap_and_node 45668
cost_bitmap_heap_scan 469255
cost_bitmap_or_node 1700
cost_bitmap_tree_node 889116
cost_ctescan 4151
cost_functionscan 35940
cost_gather 20391
cost_gather_merge 16910
cost_group 1048
cost_incremental_sort 10626
cost_index 679020
cost_material 512577
cost_memoize_rescan 263420
cost_merge_append 9924
cost_namedtuplestorescan 441
cost_qual_eval 3793607
cost_qual_eval_node 1465217
cost_qual_eval_walker 7795284
cost_recursive_union 719
cost_rescan 2798451
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 343568
cost_sort 1584880
cost_subplan 33610
cost_subqueryscan 49594
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1595506
cost_valuesscan 7129
cost_windowagg 2707
extract_nonindex_conditions 821147
final_cost_hashjoin 352683
final_cost_mergejoin 372388
final_cost_nestloop 1208455
get_expr_width 1469524
get_foreign_key_join_selectivity 227843
get_indexpath_pages 179801
get_parallel_divisor 400283
get_parameterized_baserel_size 140194
get_parameterized_joinrel_size 11484
get_restriction_qual_cost 894807
get_windowclause_startup_tuples 2707
has_indexed_join_quals 737891
index_pages_fetched 975687
initial_cost_hashjoin 667533
initial_cost_mergejoin 1153202
initial_cost_nestloop 2798451
page_size 6206
relation_byte_size 3936608
set_baserel_size_estimates 403096
set_cte_size_estimates 4151
set_foreign_size_estimates 1395
set_function_size_estimates 35940
set_joinrel_size_estimates 216359
set_namedtuplestore_size_estimates 441
set_pathtarget_cost_width 479532
set_rel_width 404466
set_result_size_estimates 3887
set_subquery_size_estimates 30571
set_tablefunc_size_estimates 722
set_values_size_estimates 7129

Generated by: LCOV version 2.0-1