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 % 1862 1823
Test Date: 2026-08-04 09:15:42 Functions: 100.0 % 74 74
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 88.7 % 919 815

Function Name Sort by function name Hit count Sort by function hit count
append_nonpartial_cost 21808
approx_tuple_count 606096
cached_scansel 1088308
calc_joinrel_size_estimate 218807
clamp_row_est 8027223
clamp_width_est 1546462
compute_bitmap_pages 582011
compute_gather_rows 37917
compute_semi_anti_join_factors 187825
cost_agg 74855
cost_append 59043
cost_bitmap_and_node 44972
cost_bitmap_heap_scan 467209
cost_bitmap_or_node 1792
cost_bitmap_tree_node 885336
cost_ctescan 3533
cost_functionscan 35181
cost_gather 22071
cost_gather_merge 15851
cost_group 1043
cost_incremental_sort 10028
cost_index 672310
cost_material 498491
cost_memoize_rescan 192080
cost_merge_append 7390
cost_namedtuplestorescan 437
cost_qual_eval 3701492
cost_qual_eval_node 1452731
cost_qual_eval_walker 7653489
cost_recursive_union 633
cost_rescan 2564008
cost_resultscan 3741
cost_samplescan 245
cost_seqscan 343962
cost_sort 1549528
cost_subplan 32494
cost_subqueryscan 49470
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 636
cost_tuplesort 1559556
cost_valuesscan 7008
cost_windowagg 2647
extract_nonindex_conditions 811197
final_cost_hashjoin 348981
final_cost_mergejoin 353140
final_cost_nestloop 1173728
get_expr_width 1364575
get_foreign_key_join_selectivity 218807
get_indexpath_pages 174650
get_parallel_divisor 374545
get_parameterized_baserel_size 136389
get_parameterized_joinrel_size 9025
get_restriction_qual_cost 891435
get_windowclause_startup_tuples 2647
has_indexed_join_quals 737704
index_pages_fetched 957298
initial_cost_hashjoin 642644
initial_cost_mergejoin 1093273
initial_cost_nestloop 2564008
page_size 6254
relation_byte_size 3752648
set_baserel_size_estimates 400826
set_cte_size_estimates 3533
set_foreign_size_estimates 1276
set_function_size_estimates 35181
set_joinrel_size_estimates 209782
set_namedtuplestore_size_estimates 437
set_pathtarget_cost_width 470032
set_rel_width 402081
set_result_size_estimates 3676
set_subquery_size_estimates 30168
set_tablefunc_size_estimates 604
set_values_size_estimates 7008

Generated by: LCOV version 2.0-1