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-08-30 00:15:58 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 21377
approx_tuple_count 598896
cached_scansel 1085178
calc_joinrel_size_estimate 217243
clamp_row_est 7984273
clamp_width_est 1543237
compute_bitmap_pages 574251
compute_gather_rows 37149
compute_semi_anti_join_factors 201159
cost_agg 74590
cost_append 58165
cost_bitmap_and_node 44343
cost_bitmap_heap_scan 461119
cost_bitmap_or_node 1700
cost_bitmap_tree_node 872798
cost_ctescan 3576
cost_functionscan 35082
cost_gather 21642
cost_gather_merge 15512
cost_group 1043
cost_incremental_sort 9973
cost_index 663738
cost_material 496267
cost_memoize_rescan 191930
cost_merge_append 7394
cost_namedtuplestorescan 431
cost_qual_eval 3676076
cost_qual_eval_node 1441676
cost_qual_eval_walker 7596292
cost_recursive_union 638
cost_rescan 2549144
cost_resultscan 3686
cost_samplescan 245
cost_seqscan 340683
cost_sort 1545293
cost_subplan 32286
cost_subqueryscan 48990
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1555266
cost_valuesscan 6925
cost_windowagg 2654
extract_nonindex_conditions 801048
final_cost_hashjoin 348522
final_cost_mergejoin 351242
final_cost_nestloop 1164433
get_expr_width 1364242
get_foreign_key_join_selectivity 217243
get_indexpath_pages 172405
get_parallel_divisor 370854
get_parameterized_baserel_size 134867
get_parameterized_joinrel_size 8671
get_restriction_qual_cost 881584
get_windowclause_startup_tuples 2654
has_indexed_join_quals 732910
index_pages_fetched 945956
initial_cost_hashjoin 641825
initial_cost_mergejoin 1090183
initial_cost_nestloop 2549144
page_size 6330
relation_byte_size 3740436
set_baserel_size_estimates 397996
set_cte_size_estimates 3576
set_foreign_size_estimates 1334
set_function_size_estimates 35082
set_joinrel_size_estimates 208572
set_namedtuplestore_size_estimates 431
set_pathtarget_cost_width 471045
set_rel_width 399310
set_result_size_estimates 3621
set_subquery_size_estimates 30027
set_tablefunc_size_estimates 604
set_values_size_estimates 6925

Generated by: LCOV version 2.0-1