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-08-26 19:15:45 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 21845
approx_tuple_count 603359
cached_scansel 1094053
calc_joinrel_size_estimate 220174
clamp_row_est 8071858
clamp_width_est 1557044
compute_bitmap_pages 584766
compute_gather_rows 37945
compute_semi_anti_join_factors 203881
cost_agg 75052
cost_append 59157
cost_bitmap_and_node 45069
cost_bitmap_heap_scan 469211
cost_bitmap_or_node 1800
cost_bitmap_tree_node 888829
cost_ctescan 3587
cost_functionscan 35548
cost_gather 22086
cost_gather_merge 15864
cost_group 1043
cost_incremental_sort 10043
cost_index 675715
cost_material 501180
cost_memoize_rescan 193174
cost_merge_append 7392
cost_namedtuplestorescan 455
cost_qual_eval 3719633
cost_qual_eval_node 1458471
cost_qual_eval_walker 7692795
cost_recursive_union 638
cost_rescan 2575446
cost_resultscan 3751
cost_samplescan 245
cost_seqscan 346172
cost_sort 1557907
cost_subplan 32647
cost_subqueryscan 49657
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1567950
cost_valuesscan 7084
cost_windowagg 2654
extract_nonindex_conditions 815120
final_cost_hashjoin 350519
final_cost_mergejoin 354642
final_cost_nestloop 1179406
get_expr_width 1371640
get_foreign_key_join_selectivity 220174
get_indexpath_pages 175227
get_parallel_divisor 374696
get_parameterized_baserel_size 137076
get_parameterized_joinrel_size 8891
get_restriction_qual_cost 896287
get_windowclause_startup_tuples 2654
has_indexed_join_quals 740898
index_pages_fetched 961798
initial_cost_hashjoin 645838
initial_cost_mergejoin 1099058
initial_cost_nestloop 2575446
page_size 6120
relation_byte_size 3771471
set_baserel_size_estimates 403736
set_cte_size_estimates 3587
set_foreign_size_estimates 1333
set_function_size_estimates 35548
set_joinrel_size_estimates 211283
set_namedtuplestore_size_estimates 455
set_pathtarget_cost_width 471616
set_rel_width 405049
set_result_size_estimates 3686
set_subquery_size_estimates 30316
set_tablefunc_size_estimates 604
set_values_size_estimates 7084

Generated by: LCOV version 2.0-1