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-14 14:15:45 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 21847
approx_tuple_count 607613
cached_scansel 1091327
calc_joinrel_size_estimate 218943
clamp_row_est 8043008
clamp_width_est 1549447
compute_bitmap_pages 581831
compute_gather_rows 37917
compute_semi_anti_join_factors 188242
cost_agg 74927
cost_append 59152
cost_bitmap_and_node 45007
cost_bitmap_heap_scan 467288
cost_bitmap_or_node 1800
cost_bitmap_tree_node 885404
cost_ctescan 3574
cost_functionscan 35109
cost_gather 22068
cost_gather_merge 15854
cost_group 1043
cost_incremental_sort 10056
cost_index 672464
cost_material 498929
cost_memoize_rescan 192395
cost_merge_append 7392
cost_namedtuplestorescan 439
cost_qual_eval 3710139
cost_qual_eval_node 1457562
cost_qual_eval_walker 7665871
cost_recursive_union 637
cost_rescan 2568385
cost_resultscan 3746
cost_samplescan 245
cost_seqscan 344075
cost_sort 1553848
cost_subplan 32572
cost_subqueryscan 49545
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 636
cost_tuplesort 1563904
cost_valuesscan 7043
cost_windowagg 2649
extract_nonindex_conditions 811601
final_cost_hashjoin 350124
final_cost_mergejoin 354018
final_cost_nestloop 1177722
get_expr_width 1370790
get_foreign_key_join_selectivity 218943
get_indexpath_pages 174685
get_parallel_divisor 374694
get_parameterized_baserel_size 136515
get_parameterized_joinrel_size 9073
get_restriction_qual_cost 891667
get_windowclause_startup_tuples 2649
has_indexed_join_quals 741283
index_pages_fetched 957781
initial_cost_hashjoin 644312
initial_cost_mergejoin 1096292
initial_cost_nestloop 2568385
page_size 6318
relation_byte_size 3761478
set_baserel_size_estimates 400994
set_cte_size_estimates 3574
set_foreign_size_estimates 1288
set_function_size_estimates 35109
set_joinrel_size_estimates 209870
set_namedtuplestore_size_estimates 439
set_pathtarget_cost_width 472688
set_rel_width 402262
set_result_size_estimates 3681
set_subquery_size_estimates 30237
set_tablefunc_size_estimates 604
set_values_size_estimates 7043

Generated by: LCOV version 2.0-1