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-03 09:15:55 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 21448
approx_tuple_count 597479
cached_scansel 1086377
calc_joinrel_size_estimate 217470
clamp_row_est 7992753
clamp_width_est 1542711
compute_bitmap_pages 575274
compute_gather_rows 37156
compute_semi_anti_join_factors 201628
cost_agg 74685
cost_append 58350
cost_bitmap_and_node 44401
cost_bitmap_heap_scan 461978
cost_bitmap_or_node 1716
cost_bitmap_tree_node 875081
cost_ctescan 3686
cost_functionscan 35075
cost_gather 21640
cost_gather_merge 15521
cost_group 1043
cost_incremental_sort 9990
cost_index 664610
cost_material 496900
cost_memoize_rescan 192453
cost_merge_append 7392
cost_namedtuplestorescan 433
cost_qual_eval 3672593
cost_qual_eval_node 1437298
cost_qual_eval_walker 7578657
cost_recursive_union 649
cost_rescan 2551838
cost_resultscan 3686
cost_samplescan 247
cost_seqscan 341118
cost_sort 1546295
cost_subplan 32321
cost_subqueryscan 49095
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1556285
cost_valuesscan 6924
cost_windowagg 2654
extract_nonindex_conditions 802171
final_cost_hashjoin 348022
final_cost_mergejoin 350084
final_cost_nestloop 1162627
get_expr_width 1358979
get_foreign_key_join_selectivity 217470
get_indexpath_pages 173061
get_parallel_divisor 371123
get_parameterized_baserel_size 135078
get_parameterized_joinrel_size 8584
get_restriction_qual_cost 882989
get_windowclause_startup_tuples 2654
has_indexed_join_quals 731284
index_pages_fetched 948314
initial_cost_hashjoin 642922
initial_cost_mergejoin 1091382
initial_cost_nestloop 2551838
page_size 6142
relation_byte_size 3741672
set_baserel_size_estimates 398560
set_cte_size_estimates 3686
set_foreign_size_estimates 1334
set_function_size_estimates 35075
set_joinrel_size_estimates 208886
set_namedtuplestore_size_estimates 433
set_pathtarget_cost_width 468233
set_rel_width 399874
set_result_size_estimates 3621
set_subquery_size_estimates 30127
set_tablefunc_size_estimates 604
set_values_size_estimates 6924

Generated by: LCOV version 2.0-1