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-13 14:15:54 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 21832
approx_tuple_count 605502
cached_scansel 1092373
calc_joinrel_size_estimate 218644
clamp_row_est 8046076
clamp_width_est 1548364
compute_bitmap_pages 582061
compute_gather_rows 37950
compute_semi_anti_join_factors 188366
cost_agg 74890
cost_append 59123
cost_bitmap_and_node 45016
cost_bitmap_heap_scan 467464
cost_bitmap_or_node 1800
cost_bitmap_tree_node 885420
cost_ctescan 3576
cost_functionscan 35073
cost_gather 22086
cost_gather_merge 15869
cost_group 1043
cost_incremental_sort 10048
cost_index 672763
cost_material 499272
cost_memoize_rescan 193377
cost_merge_append 7392
cost_namedtuplestorescan 435
cost_qual_eval 3706140
cost_qual_eval_node 1450620
cost_qual_eval_walker 7656535
cost_recursive_union 638
cost_rescan 2569651
cost_resultscan 3746
cost_samplescan 245
cost_seqscan 344104
cost_sort 1554741
cost_subplan 32592
cost_subqueryscan 49565
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 636
cost_tuplesort 1564789
cost_valuesscan 7040
cost_windowagg 2649
extract_nonindex_conditions 811979
final_cost_hashjoin 350392
final_cost_mergejoin 352615
final_cost_nestloop 1175482
get_expr_width 1366259
get_foreign_key_join_selectivity 218644
get_indexpath_pages 175874
get_parallel_divisor 374655
get_parameterized_baserel_size 136590
get_parameterized_joinrel_size 8681
get_restriction_qual_cost 891848
get_windowclause_startup_tuples 2649
has_indexed_join_quals 740687
index_pages_fetched 959653
initial_cost_hashjoin 646857
initial_cost_mergejoin 1097338
initial_cost_nestloop 2569651
page_size 6112
relation_byte_size 3762961
set_baserel_size_estimates 401015
set_cte_size_estimates 3576
set_foreign_size_estimates 1287
set_function_size_estimates 35073
set_joinrel_size_estimates 209963
set_namedtuplestore_size_estimates 435
set_pathtarget_cost_width 469984
set_rel_width 402282
set_result_size_estimates 3681
set_subquery_size_estimates 30258
set_tablefunc_size_estimates 604
set_values_size_estimates 7040

Generated by: LCOV version 2.0-1