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-10-05 18:15:55 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 21188
approx_tuple_count 568896
cached_scansel 1035078
calc_joinrel_size_estimate 210416
clamp_row_est 7796249
clamp_width_est 1507034
compute_bitmap_pages 570003
compute_gather_rows 36338
compute_semi_anti_join_factors 196843
cost_agg 74695
cost_append 57869
cost_bitmap_and_node 44382
cost_bitmap_heap_scan 457787
cost_bitmap_or_node 1688
cost_bitmap_tree_node 869014
cost_ctescan 4018
cost_functionscan 34930
cost_gather 21177
cost_gather_merge 15166
cost_group 1043
cost_incremental_sort 9479
cost_index 658194
cost_material 472782
cost_memoize_rescan 191206
cost_merge_append 7472
cost_namedtuplestorescan 399
cost_qual_eval 3575273
cost_qual_eval_node 1423403
cost_qual_eval_walker 7406248
cost_recursive_union 693
cost_rescan 2456834
cost_resultscan 3752
cost_samplescan 262
cost_seqscan 334947
cost_sort 1454742
cost_subplan 32420
cost_subqueryscan 48740
cost_tablefuncscan 604
cost_tidrangescan 1683
cost_tidscan 643
cost_tuplesort 1464221
cost_valuesscan 6778
cost_windowagg 2654
extract_nonindex_conditions 794286
final_cost_hashjoin 335046
final_cost_mergejoin 332746
final_cost_nestloop 1138484
get_expr_width 1351948
get_foreign_key_join_selectivity 210416
get_indexpath_pages 171782
get_parallel_divisor 369324
get_parameterized_baserel_size 133509
get_parameterized_joinrel_size 7932
get_restriction_qual_cost 872390
get_windowclause_startup_tuples 2654
has_indexed_join_quals 715270
index_pages_fetched 938955
initial_cost_hashjoin 616721
initial_cost_mergejoin 1040147
initial_cost_nestloop 2456834
page_size 6190
relation_byte_size 3560240
set_baserel_size_estimates 392381
set_cte_size_estimates 4018
set_foreign_size_estimates 1328
set_function_size_estimates 34930
set_joinrel_size_estimates 202484
set_namedtuplestore_size_estimates 399
set_pathtarget_cost_width 464812
set_rel_width 393689
set_result_size_estimates 3687
set_subquery_size_estimates 29804
set_tablefunc_size_estimates 604
set_values_size_estimates 6778

Generated by: LCOV version 2.0-1