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-09-07 03:16:13 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 21464
approx_tuple_count 596667
cached_scansel 1087406
calc_joinrel_size_estimate 217907
clamp_row_est 8007596
clamp_width_est 1548355
compute_bitmap_pages 576300
compute_gather_rows 37176
compute_semi_anti_join_factors 201693
cost_agg 74791
cost_append 58391
cost_bitmap_and_node 44417
cost_bitmap_heap_scan 462610
cost_bitmap_or_node 1716
cost_bitmap_tree_node 875961
cost_ctescan 3692
cost_functionscan 35198
cost_gather 21656
cost_gather_merge 15525
cost_group 1043
cost_incremental_sort 9988
cost_index 665663
cost_material 497587
cost_memoize_rescan 193585
cost_merge_append 7392
cost_namedtuplestorescan 437
cost_qual_eval 3676395
cost_qual_eval_node 1445346
cost_qual_eval_walker 7595455
cost_recursive_union 649
cost_rescan 2556618
cost_resultscan 3686
cost_samplescan 247
cost_seqscan 341795
cost_sort 1547782
cost_subplan 32325
cost_subqueryscan 49125
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1557770
cost_valuesscan 6928
cost_windowagg 2654
extract_nonindex_conditions 803274
final_cost_hashjoin 349023
final_cost_mergejoin 349320
final_cost_nestloop 1164297
get_expr_width 1367077
get_foreign_key_join_selectivity 217907
get_indexpath_pages 173447
get_parallel_divisor 371309
get_parameterized_baserel_size 135262
get_parameterized_joinrel_size 8590
get_restriction_qual_cost 884459
get_windowclause_startup_tuples 2654
has_indexed_join_quals 732240
index_pages_fetched 950050
initial_cost_hashjoin 645487
initial_cost_mergejoin 1092411
initial_cost_nestloop 2556618
page_size 6258
relation_byte_size 3747208
set_baserel_size_estimates 399371
set_cte_size_estimates 3692
set_foreign_size_estimates 1334
set_function_size_estimates 35198
set_joinrel_size_estimates 209317
set_namedtuplestore_size_estimates 437
set_pathtarget_cost_width 471677
set_rel_width 400685
set_result_size_estimates 3621
set_subquery_size_estimates 30152
set_tablefunc_size_estimates 604
set_values_size_estimates 6928

Generated by: LCOV version 2.0-1