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-06 12:16:09 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 23910
approx_tuple_count 624215
cached_scansel 1147642
calc_joinrel_size_estimate 228087
clamp_row_est 8589788
clamp_width_est 1557910
compute_bitmap_pages 582778
compute_gather_rows 37331
compute_semi_anti_join_factors 200604
cost_agg 74803
cost_append 63870
cost_bitmap_and_node 45612
cost_bitmap_heap_scan 468789
cost_bitmap_or_node 1700
cost_bitmap_tree_node 888507
cost_ctescan 4210
cost_functionscan 36398
cost_gather 20420
cost_gather_merge 16918
cost_group 1053
cost_incremental_sort 10615
cost_index 678148
cost_material 513072
cost_memoize_rescan 263013
cost_merge_append 9894
cost_namedtuplestorescan 445
cost_qual_eval 3792190
cost_qual_eval_node 1464849
cost_qual_eval_walker 7797702
cost_recursive_union 739
cost_rescan 2800846
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 342910
cost_sort 1584768
cost_subplan 33691
cost_subqueryscan 49744
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1595383
cost_valuesscan 7264
cost_windowagg 2727
extract_nonindex_conditions 819612
final_cost_hashjoin 352979
final_cost_mergejoin 371946
final_cost_nestloop 1208831
get_expr_width 1469202
get_foreign_key_join_selectivity 228087
get_indexpath_pages 179050
get_parallel_divisor 400342
get_parameterized_baserel_size 139513
get_parameterized_joinrel_size 11598
get_restriction_qual_cost 894385
get_windowclause_startup_tuples 2727
has_indexed_join_quals 737371
index_pages_fetched 972716
initial_cost_hashjoin 667364
initial_cost_mergejoin 1153014
initial_cost_nestloop 2800846
page_size 6188
relation_byte_size 3938127
set_baserel_size_estimates 403249
set_cte_size_estimates 4210
set_foreign_size_estimates 1395
set_function_size_estimates 36398
set_joinrel_size_estimates 216489
set_namedtuplestore_size_estimates 445
set_pathtarget_cost_width 479533
set_rel_width 404620
set_result_size_estimates 3887
set_subquery_size_estimates 30692
set_tablefunc_size_estimates 722
set_values_size_estimates 7264

Generated by: LCOV version 2.0-1