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-27 22:15:52 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 21372
approx_tuple_count 597092
cached_scansel 1084050
calc_joinrel_size_estimate 217188
clamp_row_est 7970724
clamp_width_est 1542180
compute_bitmap_pages 574744
compute_gather_rows 37121
compute_semi_anti_join_factors 201038
cost_agg 74553
cost_append 58150
cost_bitmap_and_node 44345
cost_bitmap_heap_scan 461338
cost_bitmap_or_node 1700
cost_bitmap_tree_node 873185
cost_ctescan 3579
cost_functionscan 35210
cost_gather 21623
cost_gather_merge 15503
cost_group 1043
cost_incremental_sort 9978
cost_index 664141
cost_material 496352
cost_memoize_rescan 191286
cost_merge_append 7392
cost_namedtuplestorescan 431
cost_qual_eval 3670659
cost_qual_eval_node 1442517
cost_qual_eval_walker 7590391
cost_recursive_union 637
cost_rescan 2545643
cost_resultscan 3686
cost_samplescan 245
cost_seqscan 340927
cost_sort 1544075
cost_subplan 32268
cost_subqueryscan 48975
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1554053
cost_valuesscan 6923
cost_windowagg 2654
extract_nonindex_conditions 801375
final_cost_hashjoin 347999
final_cost_mergejoin 349635
final_cost_nestloop 1162722
get_expr_width 1363021
get_foreign_key_join_selectivity 217188
get_indexpath_pages 172306
get_parallel_divisor 370803
get_parameterized_baserel_size 134912
get_parameterized_joinrel_size 8442
get_restriction_qual_cost 882163
get_windowclause_startup_tuples 2654
has_indexed_join_quals 731237
index_pages_fetched 946242
initial_cost_hashjoin 641322
initial_cost_mergejoin 1089055
initial_cost_nestloop 2545643
page_size 6278
relation_byte_size 3736131
set_baserel_size_estimates 398361
set_cte_size_estimates 3579
set_foreign_size_estimates 1334
set_function_size_estimates 35210
set_joinrel_size_estimates 208746
set_namedtuplestore_size_estimates 431
set_pathtarget_cost_width 471010
set_rel_width 399674
set_result_size_estimates 3621
set_subquery_size_estimates 30011
set_tablefunc_size_estimates 604
set_values_size_estimates 6923

Generated by: LCOV version 2.0-1