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 1847
Test Date: 2026-12-01 09:16:13 Functions: 100.0 % 74 74
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 88.8 % 947 841

Function Name Sort by function name Hit count Sort by function hit count
append_nonpartial_cost 23925
approx_tuple_count 623012
cached_scansel 1145259
calc_joinrel_size_estimate 227702
clamp_row_est 8587111
clamp_width_est 1557353
compute_bitmap_pages 582574
compute_gather_rows 37352
compute_semi_anti_join_factors 200206
cost_agg 74778
cost_append 63889
cost_bitmap_and_node 45617
cost_bitmap_heap_scan 468595
cost_bitmap_or_node 1700
cost_bitmap_tree_node 888423
cost_ctescan 4189
cost_functionscan 36170
cost_gather 20438
cost_gather_merge 16921
cost_group 1053
cost_incremental_sort 10601
cost_index 677766
cost_material 512481
cost_memoize_rescan 262792
cost_merge_append 9894
cost_namedtuplestorescan 443
cost_qual_eval 3783286
cost_qual_eval_node 1465977
cost_qual_eval_walker 7786370
cost_recursive_union 738
cost_rescan 2796115
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 342707
cost_sort 1581496
cost_subplan 33653
cost_subqueryscan 49714
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1592097
cost_valuesscan 7230
cost_windowagg 2727
extract_nonindex_conditions 819088
final_cost_hashjoin 351893
final_cost_mergejoin 371205
final_cost_nestloop 1204656
get_expr_width 1470464
get_foreign_key_join_selectivity 227702
get_indexpath_pages 178644
get_parallel_divisor 400514
get_parameterized_baserel_size 139374
get_parameterized_joinrel_size 11597
get_restriction_qual_cost 893678
get_windowclause_startup_tuples 2727
has_indexed_join_quals 733936
index_pages_fetched 971672
initial_cost_hashjoin 666430
initial_cost_mergejoin 1150616
initial_cost_nestloop 2796115
page_size 6188
relation_byte_size 3930391
set_baserel_size_estimates 402706
set_cte_size_estimates 4189
set_foreign_size_estimates 1394
set_function_size_estimates 36170
set_joinrel_size_estimates 216105
set_namedtuplestore_size_estimates 443
set_pathtarget_cost_width 480929
set_rel_width 404076
set_result_size_estimates 3887
set_subquery_size_estimates 30663
set_tablefunc_size_estimates 722
set_values_size_estimates 7230

Generated by: LCOV version 2.0-1