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-09-19 15:16:38 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 21173
approx_tuple_count 566323
cached_scansel 1023572
calc_joinrel_size_estimate 209248
clamp_row_est 7743426
clamp_width_est 1500365
compute_bitmap_pages 568504
compute_gather_rows 36314
compute_semi_anti_join_factors 194673
cost_agg 74571
cost_append 57704
cost_bitmap_and_node 44199
cost_bitmap_heap_scan 456128
cost_bitmap_or_node 1686
cost_bitmap_tree_node 866685
cost_ctescan 3649
cost_functionscan 34960
cost_gather 21161
cost_gather_merge 15158
cost_group 1043
cost_incremental_sort 9343
cost_index 655392
cost_material 468840
cost_memoize_rescan 187731
cost_merge_append 7472
cost_namedtuplestorescan 393
cost_qual_eval 3559375
cost_qual_eval_node 1426956
cost_qual_eval_walker 7380757
cost_recursive_union 637
cost_rescan 2434369
cost_resultscan 3686
cost_samplescan 247
cost_seqscan 334243
cost_sort 1440085
cost_subplan 32237
cost_subqueryscan 48105
cost_tablefuncscan 619
cost_tidrangescan 1698
cost_tidscan 643
cost_tuplesort 1449428
cost_valuesscan 6799
cost_windowagg 2654
extract_nonindex_conditions 790227
final_cost_hashjoin 333895
final_cost_mergejoin 331064
final_cost_nestloop 1133770
get_expr_width 1346570
get_foreign_key_join_selectivity 209248
get_indexpath_pages 169510
get_parallel_divisor 369210
get_parameterized_baserel_size 132458
get_parameterized_joinrel_size 8220
get_restriction_qual_cost 869564
get_windowclause_startup_tuples 2654
has_indexed_join_quals 710038
index_pages_fetched 931751
initial_cost_hashjoin 612082
initial_cost_mergejoin 1028597
initial_cost_nestloop 2434369
page_size 5832
relation_byte_size 3527389
set_baserel_size_estimates 390727
set_cte_size_estimates 3649
set_foreign_size_estimates 1328
set_function_size_estimates 34960
set_joinrel_size_estimates 201028
set_namedtuplestore_size_estimates 393
set_pathtarget_cost_width 466002
set_rel_width 392035
set_result_size_estimates 3621
set_subquery_size_estimates 29232
set_tablefunc_size_estimates 619
set_values_size_estimates 6799

Generated by: LCOV version 2.0-1