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-11 02:17:38 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 21272
approx_tuple_count 564117
cached_scansel 1023833
calc_joinrel_size_estimate 208782
clamp_row_est 7739928
clamp_width_est 1509366
compute_bitmap_pages 570619
compute_gather_rows 36476
compute_semi_anti_join_factors 194720
cost_agg 74676
cost_append 57989
cost_bitmap_and_node 44280
cost_bitmap_heap_scan 457859
cost_bitmap_or_node 1686
cost_bitmap_tree_node 869082
cost_ctescan 3653
cost_functionscan 34979
cost_gather 21203
cost_gather_merge 15278
cost_group 1043
cost_incremental_sort 9421
cost_index 657263
cost_material 468919
cost_memoize_rescan 188039
cost_merge_append 7472
cost_namedtuplestorescan 447
cost_qual_eval 3553722
cost_qual_eval_node 1433983
cost_qual_eval_walker 7393225
cost_recursive_union 635
cost_rescan 2432621
cost_resultscan 3686
cost_samplescan 247
cost_seqscan 336214
cost_sort 1441717
cost_subplan 32277
cost_subqueryscan 48161
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1451138
cost_valuesscan 6828
cost_windowagg 2654
extract_nonindex_conditions 792191
final_cost_hashjoin 332210
final_cost_mergejoin 329427
final_cost_nestloop 1130830
get_expr_width 1353793
get_foreign_key_join_selectivity 208782
get_indexpath_pages 170210
get_parallel_divisor 369728
get_parameterized_baserel_size 132522
get_parameterized_joinrel_size 7788
get_restriction_qual_cost 873442
get_windowclause_startup_tuples 2654
has_indexed_join_quals 708208
index_pages_fetched 934269
initial_cost_hashjoin 610872
initial_cost_mergejoin 1028838
initial_cost_nestloop 2432621
page_size 5820
relation_byte_size 3526804
set_baserel_size_estimates 392734
set_cte_size_estimates 3653
set_foreign_size_estimates 1334
set_function_size_estimates 34979
set_joinrel_size_estimates 200994
set_namedtuplestore_size_estimates 447
set_pathtarget_cost_width 468977
set_rel_width 394048
set_result_size_estimates 3621
set_subquery_size_estimates 29231
set_tablefunc_size_estimates 604
set_values_size_estimates 6828

Generated by: LCOV version 2.0-1