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-27 12:16:06 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 23928
approx_tuple_count 625805
cached_scansel 1148646
calc_joinrel_size_estimate 228721
clamp_row_est 8626615
clamp_width_est 1563171
compute_bitmap_pages 584616
compute_gather_rows 37334
compute_semi_anti_join_factors 201357
cost_agg 74752
cost_append 64546
cost_bitmap_and_node 45724
cost_bitmap_heap_scan 470287
cost_bitmap_or_node 1700
cost_bitmap_tree_node 891085
cost_ctescan 4206
cost_functionscan 36284
cost_gather 20424
cost_gather_merge 16917
cost_group 1053
cost_incremental_sort 10618
cost_index 680568
cost_material 513721
cost_memoize_rescan 263351
cost_merge_append 9918
cost_namedtuplestorescan 441
cost_qual_eval 3806009
cost_qual_eval_node 1470222
cost_qual_eval_walker 7826337
cost_recursive_union 739
cost_rescan 2801956
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 344537
cost_sort 1586147
cost_subplan 33680
cost_subqueryscan 49734
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1596765
cost_valuesscan 7226
cost_windowagg 2717
extract_nonindex_conditions 822807
final_cost_hashjoin 355210
final_cost_mergejoin 373336
final_cost_nestloop 1210950
get_expr_width 1473000
get_foreign_key_join_selectivity 228721
get_indexpath_pages 179777
get_parallel_divisor 400451
get_parameterized_baserel_size 140495
get_parameterized_joinrel_size 11698
get_restriction_qual_cost 897341
get_windowclause_startup_tuples 2717
has_indexed_join_quals 738516
index_pages_fetched 977089
initial_cost_hashjoin 669703
initial_cost_mergejoin 1154003
initial_cost_nestloop 2801956
page_size 6198
relation_byte_size 3943261
set_baserel_size_estimates 404626
set_cte_size_estimates 4206
set_foreign_size_estimates 1395
set_function_size_estimates 36284
set_joinrel_size_estimates 217023
set_namedtuplestore_size_estimates 441
set_pathtarget_cost_width 481348
set_rel_width 405996
set_result_size_estimates 3887
set_subquery_size_estimates 30680
set_tablefunc_size_estimates 722
set_values_size_estimates 7226

Generated by: LCOV version 2.0-1