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-17 17:15:54 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 21228
approx_tuple_count 570956
cached_scansel 1036078
calc_joinrel_size_estimate 211148
clamp_row_est 7799309
clamp_width_est 1512291
compute_bitmap_pages 570235
compute_gather_rows 36426
compute_semi_anti_join_factors 196894
cost_agg 75721
cost_append 58147
cost_bitmap_and_node 44376
cost_bitmap_heap_scan 457945
cost_bitmap_or_node 1688
cost_bitmap_tree_node 869828
cost_ctescan 4020
cost_functionscan 35111
cost_gather 21266
cost_gather_merge 15165
cost_group 1058
cost_incremental_sort 9366
cost_index 658501
cost_material 473734
cost_memoize_rescan 189764
cost_merge_append 7570
cost_namedtuplestorescan 393
cost_qual_eval 3586891
cost_qual_eval_node 1430232
cost_qual_eval_walker 7425177
cost_recursive_union 693
cost_rescan 2456234
cost_resultscan 3832
cost_samplescan 262
cost_seqscan 335946
cost_sort 1456820
cost_subplan 32527
cost_subqueryscan 48857
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1466186
cost_valuesscan 6832
cost_windowagg 2684
extract_nonindex_conditions 794619
final_cost_hashjoin 336858
final_cost_mergejoin 333586
final_cost_nestloop 1143280
get_expr_width 1357007
get_foreign_key_join_selectivity 211148
get_indexpath_pages 170611
get_parallel_divisor 369620
get_parameterized_baserel_size 133701
get_parameterized_joinrel_size 7902
get_restriction_qual_cost 873917
get_windowclause_startup_tuples 2684
has_indexed_join_quals 718600
index_pages_fetched 937819
initial_cost_hashjoin 618757
initial_cost_mergejoin 1041187
initial_cost_nestloop 2456234
page_size 6112
relation_byte_size 3565302
set_baserel_size_estimates 393702
set_cte_size_estimates 4020
set_foreign_size_estimates 1332
set_function_size_estimates 35111
set_joinrel_size_estimates 203246
set_namedtuplestore_size_estimates 393
set_pathtarget_cost_width 468068
set_rel_width 395013
set_result_size_estimates 3767
set_subquery_size_estimates 29902
set_tablefunc_size_estimates 604
set_values_size_estimates 6832

Generated by: LCOV version 2.0-1