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-01 16:15:52 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 21401
approx_tuple_count 597041
cached_scansel 1085253
calc_joinrel_size_estimate 217327
clamp_row_est 7982786
clamp_width_est 1545969
compute_bitmap_pages 575132
compute_gather_rows 37147
compute_semi_anti_join_factors 201160
cost_agg 74614
cost_append 58213
cost_bitmap_and_node 44352
cost_bitmap_heap_scan 461631
cost_bitmap_or_node 1700
cost_bitmap_tree_node 873301
cost_ctescan 3572
cost_functionscan 35190
cost_gather 21645
cost_gather_merge 15507
cost_group 1043
cost_incremental_sort 10016
cost_index 664579
cost_material 496739
cost_memoize_rescan 192983
cost_merge_append 7392
cost_namedtuplestorescan 433
cost_qual_eval 3670396
cost_qual_eval_node 1442187
cost_qual_eval_walker 7588838
cost_recursive_union 638
cost_rescan 2551660
cost_resultscan 3686
cost_samplescan 247
cost_seqscan 341192
cost_sort 1545825
cost_subplan 32284
cost_subqueryscan 48996
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1555841
cost_valuesscan 6922
cost_windowagg 2654
extract_nonindex_conditions 801891
final_cost_hashjoin 347357
final_cost_mergejoin 349699
final_cost_nestloop 1162844
get_expr_width 1365396
get_foreign_key_join_selectivity 217327
get_indexpath_pages 173316
get_parallel_divisor 371016
get_parameterized_baserel_size 134988
get_parameterized_joinrel_size 8465
get_restriction_qual_cost 882709
get_windowclause_startup_tuples 2654
has_indexed_join_quals 731435
index_pages_fetched 948104
initial_cost_hashjoin 642306
initial_cost_mergejoin 1090258
initial_cost_nestloop 2551660
page_size 6330
relation_byte_size 3740274
set_baserel_size_estimates 398586
set_cte_size_estimates 3572
set_foreign_size_estimates 1334
set_function_size_estimates 35190
set_joinrel_size_estimates 208862
set_namedtuplestore_size_estimates 433
set_pathtarget_cost_width 471129
set_rel_width 399900
set_result_size_estimates 3621
set_subquery_size_estimates 30033
set_tablefunc_size_estimates 604
set_values_size_estimates 6922

Generated by: LCOV version 2.0-1