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-23 22:16:20 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 23904
approx_tuple_count 625617
cached_scansel 1146506
calc_joinrel_size_estimate 228016
clamp_row_est 8609377
clamp_width_est 1557984
compute_bitmap_pages 583077
compute_gather_rows 37270
compute_semi_anti_join_factors 201084
cost_agg 74646
cost_append 64492
cost_bitmap_and_node 45673
cost_bitmap_heap_scan 469219
cost_bitmap_or_node 1700
cost_bitmap_tree_node 889388
cost_ctescan 4196
cost_functionscan 35955
cost_gather 20376
cost_gather_merge 16901
cost_group 1053
cost_incremental_sort 10564
cost_index 678924
cost_material 512225
cost_memoize_rescan 262047
cost_merge_append 9924
cost_namedtuplestorescan 441
cost_qual_eval 3798071
cost_qual_eval_node 1466973
cost_qual_eval_walker 7806504
cost_recursive_union 738
cost_rescan 2794900
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 343618
cost_sort 1583006
cost_subplan 33655
cost_subqueryscan 49657
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1593570
cost_valuesscan 7227
cost_windowagg 2717
extract_nonindex_conditions 820985
final_cost_hashjoin 354515
final_cost_mergejoin 373345
final_cost_nestloop 1207226
get_expr_width 1469322
get_foreign_key_join_selectivity 228016
get_indexpath_pages 179484
get_parallel_divisor 400208
get_parameterized_baserel_size 140128
get_parameterized_joinrel_size 11681
get_restriction_qual_cost 894990
get_windowclause_startup_tuples 2717
has_indexed_join_quals 736388
index_pages_fetched 975066
initial_cost_hashjoin 668185
initial_cost_mergejoin 1151863
initial_cost_nestloop 2794900
page_size 6128
relation_byte_size 3934512
set_baserel_size_estimates 403367
set_cte_size_estimates 4196
set_foreign_size_estimates 1394
set_function_size_estimates 35955
set_joinrel_size_estimates 216335
set_namedtuplestore_size_estimates 441
set_pathtarget_cost_width 480016
set_rel_width 404737
set_result_size_estimates 3887
set_subquery_size_estimates 30634
set_tablefunc_size_estimates 722
set_values_size_estimates 7227

Generated by: LCOV version 2.0-1