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 % 1862 1823
Test Date: 2026-07-17 16:15:42 Functions: 100.0 % 74 74
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 88.7 % 919 815

Function Name Sort by function name Hit count Sort by function hit count
append_nonpartial_cost 21746
approx_tuple_count 602158
cached_scansel 1086786
calc_joinrel_size_estimate 217188
clamp_row_est 7985044
clamp_width_est 1543855
compute_bitmap_pages 578160
compute_gather_rows 37797
compute_semi_anti_join_factors 187100
cost_agg 74632
cost_append 58879
cost_bitmap_and_node 44698
cost_bitmap_heap_scan 464237
cost_bitmap_or_node 1772
cost_bitmap_tree_node 878863
cost_ctescan 3520
cost_functionscan 34780
cost_gather 21979
cost_gather_merge 15823
cost_group 1053
cost_incremental_sort 9989
cost_index 667944
cost_material 497058
cost_memoize_rescan 193158
cost_merge_append 7390
cost_namedtuplestorescan 435
cost_qual_eval 3674042
cost_qual_eval_node 1442560
cost_qual_eval_walker 7589320
cost_recursive_union 634
cost_rescan 2557089
cost_resultscan 3691
cost_samplescan 245
cost_seqscan 342271
cost_sort 1547380
cost_subplan 32331
cost_subqueryscan 49176
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 636
cost_tuplesort 1557369
cost_valuesscan 7005
cost_windowagg 2657
extract_nonindex_conditions 806125
final_cost_hashjoin 345960
final_cost_mergejoin 350831
final_cost_nestloop 1163187
get_expr_width 1361300
get_foreign_key_join_selectivity 217188
get_indexpath_pages 175753
get_parallel_divisor 374235
get_parameterized_baserel_size 135655
get_parameterized_joinrel_size 8311
get_restriction_qual_cost 886129
get_windowclause_startup_tuples 2657
has_indexed_join_quals 731894
index_pages_fetched 954432
initial_cost_hashjoin 642385
initial_cost_mergejoin 1091751
initial_cost_nestloop 2557089
page_size 6172
relation_byte_size 3741959
set_baserel_size_estimates 398603
set_cte_size_estimates 3520
set_foreign_size_estimates 1276
set_function_size_estimates 34780
set_joinrel_size_estimates 208877
set_namedtuplestore_size_estimates 435
set_pathtarget_cost_width 468642
set_rel_width 399859
set_result_size_estimates 3626
set_subquery_size_estimates 30055
set_tablefunc_size_estimates 604
set_values_size_estimates 7005

Generated by: LCOV version 2.0-1