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 % 1862 1823
Test Date: 2026-08-01 13:15:41 Functions: 100.0 % 74 74
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 88.7 % 919 815

Function Name Sort by function name Hit count Sort by function hit count
append_nonpartial_cost 21804
approx_tuple_count 602825
cached_scansel 1086649
calc_joinrel_size_estimate 217620
clamp_row_est 8003013
clamp_width_est 1545534
compute_bitmap_pages 579306
compute_gather_rows 37835
compute_semi_anti_join_factors 187332
cost_agg 74736
cost_append 59015
cost_bitmap_and_node 44789
cost_bitmap_heap_scan 465160
cost_bitmap_or_node 1772
cost_bitmap_tree_node 880783
cost_ctescan 3528
cost_functionscan 35024
cost_gather 22020
cost_gather_merge 15820
cost_group 1043
cost_incremental_sort 10021
cost_index 669250
cost_material 497202
cost_memoize_rescan 192680
cost_merge_append 7390
cost_namedtuplestorescan 437
cost_qual_eval 3684440
cost_qual_eval_node 1449844
cost_qual_eval_walker 7615661
cost_recursive_union 633
cost_rescan 2557447
cost_resultscan 3721
cost_samplescan 245
cost_seqscan 342882
cost_sort 1547214
cost_subplan 32395
cost_subqueryscan 49270
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 636
cost_tuplesort 1557235
cost_valuesscan 7003
cost_windowagg 2647
extract_nonindex_conditions 807640
final_cost_hashjoin 348025
final_cost_mergejoin 350710
final_cost_nestloop 1167667
get_expr_width 1366000
get_foreign_key_join_selectivity 217620
get_indexpath_pages 175162
get_parallel_divisor 374497
get_parameterized_baserel_size 135839
get_parameterized_joinrel_size 8544
get_restriction_qual_cost 887997
get_windowclause_startup_tuples 2647
has_indexed_join_quals 735230
index_pages_fetched 954951
initial_cost_hashjoin 642577
initial_cost_mergejoin 1091614
initial_cost_nestloop 2557447
page_size 6104
relation_byte_size 3744720
set_baserel_size_estimates 399461
set_cte_size_estimates 3528
set_foreign_size_estimates 1275
set_function_size_estimates 35024
set_joinrel_size_estimates 209076
set_namedtuplestore_size_estimates 437
set_pathtarget_cost_width 470893
set_rel_width 400716
set_result_size_estimates 3656
set_subquery_size_estimates 30087
set_tablefunc_size_estimates 604
set_values_size_estimates 7003

Generated by: LCOV version 2.0-1