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-10 06:16:50 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 621178
cached_scansel 1135686
calc_joinrel_size_estimate 226921
clamp_row_est 8486610
clamp_width_est 1554212
compute_bitmap_pages 578405
compute_gather_rows 37232
compute_semi_anti_join_factors 201081
cost_agg 74369
cost_append 64177
cost_bitmap_and_node 44752
cost_bitmap_heap_scan 464963
cost_bitmap_or_node 1700
cost_bitmap_tree_node 880598
cost_ctescan 4143
cost_functionscan 35826
cost_gather 20332
cost_gather_merge 16907
cost_group 1043
cost_incremental_sort 10530
cost_index 669495
cost_material 511777
cost_memoize_rescan 258021
cost_merge_append 9858
cost_namedtuplestorescan 413
cost_qual_eval 3769756
cost_qual_eval_node 1459600
cost_qual_eval_walker 7750516
cost_recursive_union 719
cost_rescan 2773597
cost_resultscan 3937
cost_samplescan 262
cost_seqscan 342355
cost_sort 1578983
cost_subplan 33561
cost_subqueryscan 49532
cost_tablefuncscan 717
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1589513
cost_valuesscan 7087
cost_windowagg 2707
extract_nonindex_conditions 808732
final_cost_hashjoin 351229
final_cost_mergejoin 370127
final_cost_nestloop 1202855
get_expr_width 1461902
get_foreign_key_join_selectivity 226921
get_indexpath_pages 175631
get_parallel_divisor 399882
get_parameterized_baserel_size 137178
get_parameterized_joinrel_size 11221
get_restriction_qual_cost 889033
get_windowclause_startup_tuples 2707
has_indexed_join_quals 735037
index_pages_fetched 958306
initial_cost_hashjoin 666890
initial_cost_mergejoin 1140815
initial_cost_nestloop 2773597
page_size 6464
relation_byte_size 3916252
set_baserel_size_estimates 401650
set_cte_size_estimates 4143
set_foreign_size_estimates 1337
set_function_size_estimates 35826
set_joinrel_size_estimates 215700
set_namedtuplestore_size_estimates 413
set_pathtarget_cost_width 479300
set_rel_width 402962
set_result_size_estimates 3872
set_subquery_size_estimates 30511
set_tablefunc_size_estimates 717
set_values_size_estimates 7087

Generated by: LCOV version 2.0-1