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-13 00:16:11 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 23921
approx_tuple_count 623771
cached_scansel 1147739
calc_joinrel_size_estimate 227505
clamp_row_est 8594748
clamp_width_est 1555938
compute_bitmap_pages 582259
compute_gather_rows 37292
compute_semi_anti_join_factors 201167
cost_agg 74584
cost_append 64428
cost_bitmap_and_node 45654
cost_bitmap_heap_scan 468744
cost_bitmap_or_node 1700
cost_bitmap_tree_node 888256
cost_ctescan 4144
cost_functionscan 35818
cost_gather 20394
cost_gather_merge 16905
cost_group 1043
cost_incremental_sort 10606
cost_index 678214
cost_material 512058
cost_memoize_rescan 263089
cost_merge_append 9858
cost_namedtuplestorescan 425
cost_qual_eval 3788526
cost_qual_eval_node 1463370
cost_qual_eval_walker 7783798
cost_recursive_union 719
cost_rescan 2796073
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 343048
cost_sort 1584363
cost_subplan 33613
cost_subqueryscan 49571
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1594969
cost_valuesscan 7096
cost_windowagg 2707
extract_nonindex_conditions 820331
final_cost_hashjoin 351898
final_cost_mergejoin 372556
final_cost_nestloop 1206209
get_expr_width 1468001
get_foreign_key_join_selectivity 227505
get_indexpath_pages 179643
get_parallel_divisor 400407
get_parameterized_baserel_size 140064
get_parameterized_joinrel_size 11482
get_restriction_qual_cost 893575
get_windowclause_startup_tuples 2707
has_indexed_join_quals 736817
index_pages_fetched 974727
initial_cost_hashjoin 667088
initial_cost_mergejoin 1152968
initial_cost_nestloop 2796073
page_size 6202
relation_byte_size 3933888
set_baserel_size_estimates 402293
set_cte_size_estimates 4144
set_foreign_size_estimates 1336
set_function_size_estimates 35818
set_joinrel_size_estimates 216023
set_namedtuplestore_size_estimates 425
set_pathtarget_cost_width 479302
set_rel_width 403605
set_result_size_estimates 3887
set_subquery_size_estimates 30550
set_tablefunc_size_estimates 722
set_values_size_estimates 7096

Generated by: LCOV version 2.0-1