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-09-29 07:15:49 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 21194
approx_tuple_count 569344
cached_scansel 1034507
calc_joinrel_size_estimate 210227
clamp_row_est 7784925
clamp_width_est 1507806
compute_bitmap_pages 569910
compute_gather_rows 36328
compute_semi_anti_join_factors 196808
cost_agg 74681
cost_append 57815
cost_bitmap_and_node 44381
cost_bitmap_heap_scan 457721
cost_bitmap_or_node 1688
cost_bitmap_tree_node 869311
cost_ctescan 4018
cost_functionscan 34978
cost_gather 21175
cost_gather_merge 15158
cost_group 1043
cost_incremental_sort 9441
cost_index 658037
cost_material 472584
cost_memoize_rescan 189130
cost_merge_append 7472
cost_namedtuplestorescan 397
cost_qual_eval 3576351
cost_qual_eval_node 1428670
cost_qual_eval_walker 7414235
cost_recursive_union 693
cost_rescan 2451464
cost_resultscan 3692
cost_samplescan 247
cost_seqscan 334840
cost_sort 1453956
cost_subplan 32357
cost_subqueryscan 48663
cost_tablefuncscan 604
cost_tidrangescan 1683
cost_tidscan 643
cost_tuplesort 1463397
cost_valuesscan 6799
cost_windowagg 2654
extract_nonindex_conditions 794105
final_cost_hashjoin 335291
final_cost_mergejoin 332988
final_cost_nestloop 1139192
get_expr_width 1354186
get_foreign_key_join_selectivity 210227
get_indexpath_pages 170695
get_parallel_divisor 369382
get_parameterized_baserel_size 133415
get_parameterized_joinrel_size 7860
get_restriction_qual_cost 872199
get_windowclause_startup_tuples 2654
has_indexed_join_quals 715575
index_pages_fetched 937267
initial_cost_hashjoin 616456
initial_cost_mergejoin 1039556
initial_cost_nestloop 2451464
page_size 5856
relation_byte_size 3556639
set_baserel_size_estimates 392172
set_cte_size_estimates 4018
set_foreign_size_estimates 1328
set_function_size_estimates 34978
set_joinrel_size_estimates 202367
set_namedtuplestore_size_estimates 397
set_pathtarget_cost_width 467050
set_rel_width 393480
set_result_size_estimates 3627
set_subquery_size_estimates 29726
set_tablefunc_size_estimates 604
set_values_size_estimates 6799

Generated by: LCOV version 2.0-1