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-11-24 10:15:57 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 23920
approx_tuple_count 626400
cached_scansel 1146790
calc_joinrel_size_estimate 228048
clamp_row_est 8609286
clamp_width_est 1558623
compute_bitmap_pages 582912
compute_gather_rows 37286
compute_semi_anti_join_factors 201069
cost_agg 74659
cost_append 64540
cost_bitmap_and_node 45638
cost_bitmap_heap_scan 469060
cost_bitmap_or_node 1700
cost_bitmap_tree_node 889007
cost_ctescan 4198
cost_functionscan 35989
cost_gather 20385
cost_gather_merge 16908
cost_group 1053
cost_incremental_sort 10609
cost_index 678922
cost_material 512227
cost_memoize_rescan 262109
cost_merge_append 9924
cost_namedtuplestorescan 445
cost_qual_eval 3800632
cost_qual_eval_node 1467480
cost_qual_eval_walker 7811647
cost_recursive_union 738
cost_rescan 2795062
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 343678
cost_sort 1584054
cost_subplan 33661
cost_subqueryscan 49661
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1594663
cost_valuesscan 7230
cost_windowagg 2717
extract_nonindex_conditions 820977
final_cost_hashjoin 354636
final_cost_mergejoin 373965
final_cost_nestloop 1208361
get_expr_width 1469877
get_foreign_key_join_selectivity 228048
get_indexpath_pages 178922
get_parallel_divisor 400360
get_parameterized_baserel_size 140125
get_parameterized_joinrel_size 11715
get_restriction_qual_cost 894937
get_windowclause_startup_tuples 2717
has_indexed_join_quals 737149
index_pages_fetched 974490
initial_cost_hashjoin 666940
initial_cost_mergejoin 1152147
initial_cost_nestloop 2795062
page_size 6188
relation_byte_size 3936830
set_baserel_size_estimates 403445
set_cte_size_estimates 4198
set_foreign_size_estimates 1395
set_function_size_estimates 35989
set_joinrel_size_estimates 216333
set_namedtuplestore_size_estimates 445
set_pathtarget_cost_width 480559
set_rel_width 404816
set_result_size_estimates 3887
set_subquery_size_estimates 30637
set_tablefunc_size_estimates 722
set_values_size_estimates 7230

Generated by: LCOV version 2.0-1