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-17 10:16:07 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 624220
cached_scansel 1147856
calc_joinrel_size_estimate 227545
clamp_row_est 8590409
clamp_width_est 1555542
compute_bitmap_pages 582490
compute_gather_rows 37284
compute_semi_anti_join_factors 201177
cost_agg 74602
cost_append 64486
cost_bitmap_and_node 45699
cost_bitmap_heap_scan 468956
cost_bitmap_or_node 1700
cost_bitmap_tree_node 888663
cost_ctescan 4135
cost_functionscan 35891
cost_gather 20389
cost_gather_merge 16902
cost_group 1048
cost_incremental_sort 10613
cost_index 678264
cost_material 512194
cost_memoize_rescan 263491
cost_merge_append 9924
cost_namedtuplestorescan 413
cost_qual_eval 3793098
cost_qual_eval_node 1462142
cost_qual_eval_walker 7786947
cost_recursive_union 719
cost_rescan 2798152
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 343092
cost_sort 1584927
cost_subplan 33583
cost_subqueryscan 49572
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1595540
cost_valuesscan 7098
cost_windowagg 2707
extract_nonindex_conditions 820382
final_cost_hashjoin 353081
final_cost_mergejoin 372305
final_cost_nestloop 1208461
get_expr_width 1467510
get_foreign_key_join_selectivity 227545
get_indexpath_pages 179870
get_parallel_divisor 400274
get_parameterized_baserel_size 140067
get_parameterized_joinrel_size 11490
get_restriction_qual_cost 893884
get_windowclause_startup_tuples 2707
has_indexed_join_quals 738575
index_pages_fetched 974956
initial_cost_hashjoin 667340
initial_cost_mergejoin 1153085
initial_cost_nestloop 2798152
page_size 6202
relation_byte_size 3936819
set_baserel_size_estimates 402468
set_cte_size_estimates 4135
set_foreign_size_estimates 1395
set_function_size_estimates 35891
set_joinrel_size_estimates 216055
set_namedtuplestore_size_estimates 413
set_pathtarget_cost_width 478664
set_rel_width 403839
set_result_size_estimates 3887
set_subquery_size_estimates 30551
set_tablefunc_size_estimates 722
set_values_size_estimates 7098

Generated by: LCOV version 2.0-1