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-05 22:16:11 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 23934
approx_tuple_count 623121
cached_scansel 1147279
calc_joinrel_size_estimate 227749
clamp_row_est 8587061
clamp_width_est 1559076
compute_bitmap_pages 582943
compute_gather_rows 37310
compute_semi_anti_join_factors 200613
cost_agg 74827
cost_append 63917
cost_bitmap_and_node 45673
cost_bitmap_heap_scan 468953
cost_bitmap_or_node 1700
cost_bitmap_tree_node 888956
cost_ctescan 4201
cost_functionscan 36337
cost_gather 20417
cost_gather_merge 16900
cost_group 1053
cost_incremental_sort 10614
cost_index 678054
cost_material 512757
cost_memoize_rescan 262376
cost_merge_append 9894
cost_namedtuplestorescan 445
cost_qual_eval 3782783
cost_qual_eval_node 1467133
cost_qual_eval_walker 7787806
cost_recursive_union 739
cost_rescan 2796346
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 342852
cost_sort 1584360
cost_subplan 33701
cost_subqueryscan 49735
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1594974
cost_valuesscan 7249
cost_windowagg 2727
extract_nonindex_conditions 819519
final_cost_hashjoin 351409
final_cost_mergejoin 371240
final_cost_nestloop 1204161
get_expr_width 1470739
get_foreign_key_join_selectivity 227749
get_indexpath_pages 179064
get_parallel_divisor 400432
get_parameterized_baserel_size 139444
get_parameterized_joinrel_size 11372
get_restriction_qual_cost 894401
get_windowclause_startup_tuples 2727
has_indexed_join_quals 733426
index_pages_fetched 972370
initial_cost_hashjoin 667420
initial_cost_mergejoin 1152651
initial_cost_nestloop 2796346
page_size 6212
relation_byte_size 3933600
set_baserel_size_estimates 403062
set_cte_size_estimates 4201
set_foreign_size_estimates 1395
set_function_size_estimates 36337
set_joinrel_size_estimates 216377
set_namedtuplestore_size_estimates 445
set_pathtarget_cost_width 481185
set_rel_width 404433
set_result_size_estimates 3887
set_subquery_size_estimates 30684
set_tablefunc_size_estimates 722
set_values_size_estimates 7249

Generated by: LCOV version 2.0-1