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 % 1864 1825
Test Date: 2026-08-24 18:15:46 Functions: 100.0 % 74 74
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 88.7 % 921 817

Function Name Sort by function name Hit count Sort by function hit count
append_nonpartial_cost 21820
approx_tuple_count 605321
cached_scansel 1092555
calc_joinrel_size_estimate 218808
clamp_row_est 8037951
clamp_width_est 1557065
compute_bitmap_pages 582552
compute_gather_rows 37949
compute_semi_anti_join_factors 188510
cost_agg 74978
cost_append 59104
cost_bitmap_and_node 45064
cost_bitmap_heap_scan 467842
cost_bitmap_or_node 1800
cost_bitmap_tree_node 886041
cost_ctescan 3574
cost_functionscan 35219
cost_gather 22082
cost_gather_merge 15872
cost_group 1043
cost_incremental_sort 9974
cost_index 673331
cost_material 499575
cost_memoize_rescan 194158
cost_merge_append 7392
cost_namedtuplestorescan 437
cost_qual_eval 3701250
cost_qual_eval_node 1458475
cost_qual_eval_walker 7658558
cost_recursive_union 637
cost_rescan 2571076
cost_resultscan 3751
cost_samplescan 245
cost_seqscan 344741
cost_sort 1556084
cost_subplan 32604
cost_subqueryscan 49611
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1566058
cost_valuesscan 7081
cost_windowagg 2654
extract_nonindex_conditions 812606
final_cost_hashjoin 348587
final_cost_mergejoin 352532
final_cost_nestloop 1172641
get_expr_width 1375701
get_foreign_key_join_selectivity 218808
get_indexpath_pages 176578
get_parallel_divisor 374579
get_parameterized_baserel_size 136647
get_parameterized_joinrel_size 8440
get_restriction_qual_cost 893080
get_windowclause_startup_tuples 2654
has_indexed_join_quals 738291
index_pages_fetched 961167
initial_cost_hashjoin 645255
initial_cost_mergejoin 1097560
initial_cost_nestloop 2571076
page_size 6070
relation_byte_size 3763283
set_baserel_size_estimates 401933
set_cte_size_estimates 3574
set_foreign_size_estimates 1334
set_function_size_estimates 35219
set_joinrel_size_estimates 210368
set_namedtuplestore_size_estimates 437
set_pathtarget_cost_width 473985
set_rel_width 403246
set_result_size_estimates 3686
set_subquery_size_estimates 30272
set_tablefunc_size_estimates 604
set_values_size_estimates 7081

Generated by: LCOV version 2.0-1