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-17 22:16:01 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 23917
approx_tuple_count 626750
cached_scansel 1147726
calc_joinrel_size_estimate 227687
clamp_row_est 8602162
clamp_width_est 1553423
compute_bitmap_pages 582259
compute_gather_rows 37290
compute_semi_anti_join_factors 201187
cost_agg 74611
cost_append 64510
cost_bitmap_and_node 45646
cost_bitmap_heap_scan 468728
cost_bitmap_or_node 1700
cost_bitmap_tree_node 889132
cost_ctescan 4135
cost_functionscan 35858
cost_gather 20386
cost_gather_merge 16911
cost_group 1048
cost_incremental_sort 10571
cost_index 678287
cost_material 512075
cost_memoize_rescan 260441
cost_merge_append 9928
cost_namedtuplestorescan 413
cost_qual_eval 3802329
cost_qual_eval_node 1464891
cost_qual_eval_walker 7807040
cost_recursive_union 719
cost_rescan 2791682
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 343125
cost_sort 1584566
cost_subplan 33593
cost_subqueryscan 49573
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1595137
cost_valuesscan 7095
cost_windowagg 2707
extract_nonindex_conditions 820408
final_cost_hashjoin 355197
final_cost_mergejoin 374307
final_cost_nestloop 1209971
get_expr_width 1466051
get_foreign_key_join_selectivity 227687
get_indexpath_pages 177346
get_parallel_divisor 400352
get_parameterized_baserel_size 140067
get_parameterized_joinrel_size 11637
get_restriction_qual_cost 893654
get_windowclause_startup_tuples 2707
has_indexed_join_quals 738440
index_pages_fetched 971665
initial_cost_hashjoin 668124
initial_cost_mergejoin 1152955
initial_cost_nestloop 2791682
page_size 6158
relation_byte_size 3936176
set_baserel_size_estimates 402464
set_cte_size_estimates 4135
set_foreign_size_estimates 1394
set_function_size_estimates 35858
set_joinrel_size_estimates 216050
set_namedtuplestore_size_estimates 413
set_pathtarget_cost_width 479508
set_rel_width 403834
set_result_size_estimates 3887
set_subquery_size_estimates 30553
set_tablefunc_size_estimates 722
set_values_size_estimates 7095

Generated by: LCOV version 2.0-1