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-05 00:15:56 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 23791
approx_tuple_count 612357
cached_scansel 1102957
calc_joinrel_size_estimate 223733
clamp_row_est 8309721
clamp_width_est 1529126
compute_bitmap_pages 572527
compute_gather_rows 37070
compute_semi_anti_join_factors 197122
cost_agg 74028
cost_append 63909
cost_bitmap_and_node 44437
cost_bitmap_heap_scan 459726
cost_bitmap_or_node 1688
cost_bitmap_tree_node 871962
cost_ctescan 4029
cost_functionscan 35374
cost_gather 20262
cost_gather_merge 16815
cost_group 1043
cost_incremental_sort 10395
cost_index 661069
cost_material 502217
cost_memoize_rescan 247934
cost_merge_append 9856
cost_namedtuplestorescan 395
cost_qual_eval 3708574
cost_qual_eval_node 1435738
cost_qual_eval_walker 7634431
cost_recursive_union 692
cost_rescan 2703224
cost_resultscan 3872
cost_samplescan 262
cost_seqscan 338309
cost_sort 1538608
cost_subplan 32784
cost_subqueryscan 48966
cost_tablefuncscan 697
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1549003
cost_valuesscan 6931
cost_windowagg 2678
extract_nonindex_conditions 797791
final_cost_hashjoin 345864
final_cost_mergejoin 364185
final_cost_nestloop 1179489
get_expr_width 1427408
get_foreign_key_join_selectivity 223733
get_indexpath_pages 172435
get_parallel_divisor 399653
get_parameterized_baserel_size 134847
get_parameterized_joinrel_size 11190
get_restriction_qual_cost 878570
get_windowclause_startup_tuples 2678
has_indexed_join_quals 717215
index_pages_fetched 943686
initial_cost_hashjoin 651686
initial_cost_mergejoin 1108066
initial_cost_nestloop 2703224
page_size 6194
relation_byte_size 3824996
set_baserel_size_estimates 396252
set_cte_size_estimates 4029
set_foreign_size_estimates 1334
set_function_size_estimates 35374
set_joinrel_size_estimates 212543
set_namedtuplestore_size_estimates 395
set_pathtarget_cost_width 471168
set_rel_width 397566
set_result_size_estimates 3807
set_subquery_size_estimates 29959
set_tablefunc_size_estimates 697
set_values_size_estimates 6931

Generated by: LCOV version 2.0-1