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-14 17:15:41 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 21315
approx_tuple_count 564831
cached_scansel 1023762
calc_joinrel_size_estimate 208554
clamp_row_est 7737115
clamp_width_est 1509613
compute_bitmap_pages 569562
compute_gather_rows 36464
compute_semi_anti_join_factors 194697
cost_agg 74707
cost_append 58097
cost_bitmap_and_node 44238
cost_bitmap_heap_scan 457204
cost_bitmap_or_node 1686
cost_bitmap_tree_node 867777
cost_ctescan 3652
cost_functionscan 34971
cost_gather 21204
cost_gather_merge 15265
cost_group 1043
cost_incremental_sort 9363
cost_index 656284
cost_material 468460
cost_memoize_rescan 188206
cost_merge_append 7472
cost_namedtuplestorescan 437
cost_qual_eval 3552733
cost_qual_eval_node 1433278
cost_qual_eval_walker 7388841
cost_recursive_union 637
cost_rescan 2432043
cost_resultscan 3686
cost_samplescan 247
cost_seqscan 336031
cost_sort 1441871
cost_subplan 32319
cost_subqueryscan 48198
cost_tablefuncscan 604
cost_tidrangescan 1698
cost_tidscan 643
cost_tuplesort 1451234
cost_valuesscan 6838
cost_windowagg 2654
extract_nonindex_conditions 791141
final_cost_hashjoin 332174
final_cost_mergejoin 330078
final_cost_nestloop 1129515
get_expr_width 1354316
get_foreign_key_join_selectivity 208554
get_indexpath_pages 170423
get_parallel_divisor 369986
get_parameterized_baserel_size 132373
get_parameterized_joinrel_size 7791
get_restriction_qual_cost 872588
get_windowclause_startup_tuples 2654
has_indexed_join_quals 707753
index_pages_fetched 933731
initial_cost_hashjoin 610558
initial_cost_mergejoin 1028767
initial_cost_nestloop 2432043
page_size 5836
relation_byte_size 3526468
set_baserel_size_estimates 392522
set_cte_size_estimates 3652
set_foreign_size_estimates 1334
set_function_size_estimates 34971
set_joinrel_size_estimates 200763
set_namedtuplestore_size_estimates 437
set_pathtarget_cost_width 469043
set_rel_width 393836
set_result_size_estimates 3621
set_subquery_size_estimates 29266
set_tablefunc_size_estimates 604
set_values_size_estimates 6838

Generated by: LCOV version 2.0-1