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-11 07:16:07 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 23823
approx_tuple_count 626831
cached_scansel 1135713
calc_joinrel_size_estimate 227979
clamp_row_est 8523764
clamp_width_est 1553021
compute_bitmap_pages 579152
compute_gather_rows 37224
compute_semi_anti_join_factors 201056
cost_agg 74359
cost_append 64177
cost_bitmap_and_node 44749
cost_bitmap_heap_scan 465387
cost_bitmap_or_node 1700
cost_bitmap_tree_node 882063
cost_ctescan 4141
cost_functionscan 35924
cost_gather 20329
cost_gather_merge 16902
cost_group 1043
cost_incremental_sort 10618
cost_index 670236
cost_material 512024
cost_memoize_rescan 255533
cost_merge_append 9858
cost_namedtuplestorescan 411
cost_qual_eval 3792940
cost_qual_eval_node 1462535
cost_qual_eval_walker 7790348
cost_recursive_union 719
cost_rescan 2772810
cost_resultscan 3937
cost_samplescan 262
cost_seqscan 342806
cost_sort 1579387
cost_subplan 33559
cost_subqueryscan 49548
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1590005
cost_valuesscan 7093
cost_windowagg 2707
extract_nonindex_conditions 809471
final_cost_hashjoin 355160
final_cost_mergejoin 374546
final_cost_nestloop 1208644
get_expr_width 1460524
get_foreign_key_join_selectivity 227979
get_indexpath_pages 173236
get_parallel_divisor 399869
get_parameterized_baserel_size 137294
get_parameterized_joinrel_size 12007
get_restriction_qual_cost 890027
get_windowclause_startup_tuples 2707
has_indexed_join_quals 735908
index_pages_fetched 955838
initial_cost_hashjoin 667991
initial_cost_mergejoin 1140842
initial_cost_nestloop 2772810
page_size 6498
relation_byte_size 3922251
set_baserel_size_estimates 402214
set_cte_size_estimates 4141
set_foreign_size_estimates 1337
set_function_size_estimates 35924
set_joinrel_size_estimates 215972
set_namedtuplestore_size_estimates 411
set_pathtarget_cost_width 479338
set_rel_width 403527
set_result_size_estimates 3872
set_subquery_size_estimates 30526
set_tablefunc_size_estimates 722
set_values_size_estimates 7093

Generated by: LCOV version 2.0-1