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-30 07:16:10 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 23910
approx_tuple_count 624945
cached_scansel 1148889
calc_joinrel_size_estimate 228253
clamp_row_est 8614480
clamp_width_est 1561168
compute_bitmap_pages 583637
compute_gather_rows 37315
compute_semi_anti_join_factors 201368
cost_agg 74749
cost_append 64513
cost_bitmap_and_node 45721
cost_bitmap_heap_scan 469698
cost_bitmap_or_node 1700
cost_bitmap_tree_node 889908
cost_ctescan 4200
cost_functionscan 36109
cost_gather 20412
cost_gather_merge 16910
cost_group 1053
cost_incremental_sort 10632
cost_index 679593
cost_material 513164
cost_memoize_rescan 264018
cost_merge_append 9916
cost_namedtuplestorescan 447
cost_qual_eval 3795767
cost_qual_eval_node 1468098
cost_qual_eval_walker 7803259
cost_recursive_union 739
cost_rescan 2801684
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 343922
cost_sort 1586383
cost_subplan 33691
cost_subqueryscan 49725
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1597015
cost_valuesscan 7231
cost_windowagg 2717
extract_nonindex_conditions 821834
final_cost_hashjoin 353198
final_cost_mergejoin 372682
final_cost_nestloop 1207514
get_expr_width 1472450
get_foreign_key_join_selectivity 228253
get_indexpath_pages 180112
get_parallel_divisor 400297
get_parameterized_baserel_size 140320
get_parameterized_joinrel_size 11606
get_restriction_qual_cost 895961
get_windowclause_startup_tuples 2717
has_indexed_join_quals 736430
index_pages_fetched 976692
initial_cost_hashjoin 668207
initial_cost_mergejoin 1154246
initial_cost_nestloop 2801684
page_size 6234
relation_byte_size 3940837
set_baserel_size_estimates 403857
set_cte_size_estimates 4200
set_foreign_size_estimates 1395
set_function_size_estimates 36109
set_joinrel_size_estimates 216647
set_namedtuplestore_size_estimates 447
set_pathtarget_cost_width 480769
set_rel_width 405227
set_result_size_estimates 3887
set_subquery_size_estimates 30672
set_tablefunc_size_estimates 722
set_values_size_estimates 7231

Generated by: LCOV version 2.0-1