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-08 17:15:49 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 23783
approx_tuple_count 615664
cached_scansel 1103019
calc_joinrel_size_estimate 224378
clamp_row_est 8339768
clamp_width_est 1527669
compute_bitmap_pages 572316
compute_gather_rows 37068
compute_semi_anti_join_factors 197128
cost_agg 74079
cost_append 63923
cost_bitmap_and_node 44436
cost_bitmap_heap_scan 459605
cost_bitmap_or_node 1688
cost_bitmap_tree_node 872147
cost_ctescan 4021
cost_functionscan 35304
cost_gather 20260
cost_gather_merge 16815
cost_group 1043
cost_incremental_sort 10406
cost_index 660836
cost_material 502180
cost_memoize_rescan 247613
cost_merge_append 9856
cost_namedtuplestorescan 391
cost_qual_eval 3718228
cost_qual_eval_node 1437720
cost_qual_eval_walker 7650106
cost_recursive_union 692
cost_rescan 2705911
cost_resultscan 3917
cost_samplescan 262
cost_seqscan 338264
cost_sort 1539049
cost_subplan 32788
cost_subqueryscan 48984
cost_tablefuncscan 717
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1549455
cost_valuesscan 6993
cost_windowagg 2703
extract_nonindex_conditions 797561
final_cost_hashjoin 347820
final_cost_mergejoin 366903
final_cost_nestloop 1180106
get_expr_width 1427794
get_foreign_key_join_selectivity 224378
get_indexpath_pages 171102
get_parallel_divisor 399602
get_parameterized_baserel_size 134872
get_parameterized_joinrel_size 11838
get_restriction_qual_cost 878455
get_windowclause_startup_tuples 2703
has_indexed_join_quals 715869
index_pages_fetched 941429
initial_cost_hashjoin 651097
initial_cost_mergejoin 1108148
initial_cost_nestloop 2705911
page_size 6186
relation_byte_size 3829617
set_baserel_size_estimates 396277
set_cte_size_estimates 4021
set_foreign_size_estimates 1334
set_function_size_estimates 35304
set_joinrel_size_estimates 212540
set_namedtuplestore_size_estimates 391
set_pathtarget_cost_width 471222
set_rel_width 397591
set_result_size_estimates 3852
set_subquery_size_estimates 29974
set_tablefunc_size_estimates 717
set_values_size_estimates 6993

Generated by: LCOV version 2.0-1