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-14 16:16:12 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 23912
approx_tuple_count 624105
cached_scansel 1146279
calc_joinrel_size_estimate 227265
clamp_row_est 8592463
clamp_width_est 1552525
compute_bitmap_pages 582076
compute_gather_rows 37278
compute_semi_anti_join_factors 201027
cost_agg 74596
cost_append 64415
cost_bitmap_and_node 45663
cost_bitmap_heap_scan 468546
cost_bitmap_or_node 1700
cost_bitmap_tree_node 888205
cost_ctescan 4139
cost_functionscan 35688
cost_gather 20385
cost_gather_merge 16900
cost_group 1048
cost_incremental_sort 10582
cost_index 677885
cost_material 511515
cost_memoize_rescan 262711
cost_merge_append 9858
cost_namedtuplestorescan 415
cost_qual_eval 3787316
cost_qual_eval_node 1458851
cost_qual_eval_walker 7779280
cost_recursive_union 718
cost_rescan 2793479
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 342833
cost_sort 1582648
cost_subplan 33563
cost_subqueryscan 49545
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1593230
cost_valuesscan 7096
cost_windowagg 2707
extract_nonindex_conditions 819909
final_cost_hashjoin 353067
final_cost_mergejoin 372395
final_cost_nestloop 1203886
get_expr_width 1462527
get_foreign_key_join_selectivity 227265
get_indexpath_pages 179302
get_parallel_divisor 400318
get_parameterized_baserel_size 139859
get_parameterized_joinrel_size 11481
get_restriction_qual_cost 892999
get_windowclause_startup_tuples 2707
has_indexed_join_quals 734304
index_pages_fetched 973731
initial_cost_hashjoin 666562
initial_cost_mergejoin 1151508
initial_cost_nestloop 2793479
page_size 6164
relation_byte_size 3931458
set_baserel_size_estimates 401923
set_cte_size_estimates 4139
set_foreign_size_estimates 1337
set_function_size_estimates 35688
set_joinrel_size_estimates 215784
set_namedtuplestore_size_estimates 415
set_pathtarget_cost_width 477180
set_rel_width 403236
set_result_size_estimates 3887
set_subquery_size_estimates 30526
set_tablefunc_size_estimates 722
set_values_size_estimates 7096

Generated by: LCOV version 2.0-1