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-07-30 19:15:43 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 21780
approx_tuple_count 602604
cached_scansel 1087808
calc_joinrel_size_estimate 217507
clamp_row_est 7995547
clamp_width_est 1549001
compute_bitmap_pages 579524
compute_gather_rows 37828
compute_semi_anti_join_factors 187476
cost_agg 74718
cost_append 58968
cost_bitmap_and_node 44801
cost_bitmap_heap_scan 465359
cost_bitmap_or_node 1772
cost_bitmap_tree_node 881033
cost_ctescan 3530
cost_functionscan 34939
cost_gather 22004
cost_gather_merge 15829
cost_group 1043
cost_incremental_sort 10032
cost_index 669541
cost_material 497607
cost_memoize_rescan 193467
cost_merge_append 7390
cost_namedtuplestorescan 439
cost_qual_eval 3679112
cost_qual_eval_node 1450338
cost_qual_eval_walker 7608239
cost_recursive_union 634
cost_rescan 2559929
cost_resultscan 3711
cost_samplescan 245
cost_seqscan 342960
cost_sort 1548979
cost_subplan 32416
cost_subqueryscan 49283
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 636
cost_tuplesort 1559011
cost_valuesscan 7005
cost_windowagg 2647
extract_nonindex_conditions 808021
final_cost_hashjoin 345858
final_cost_mergejoin 351361
final_cost_nestloop 1164864
get_expr_width 1367503
get_foreign_key_join_selectivity 217507
get_indexpath_pages 175919
get_parallel_divisor 374389
get_parameterized_baserel_size 135925
get_parameterized_joinrel_size 8310
get_restriction_qual_cost 888197
get_windowclause_startup_tuples 2647
has_indexed_join_quals 732837
index_pages_fetched 956238
initial_cost_hashjoin 642918
initial_cost_mergejoin 1092773
initial_cost_nestloop 2559929
page_size 6104
relation_byte_size 3745560
set_baserel_size_estimates 399500
set_cte_size_estimates 3530
set_foreign_size_estimates 1276
set_function_size_estimates 34939
set_joinrel_size_estimates 209197
set_namedtuplestore_size_estimates 439
set_pathtarget_cost_width 471381
set_rel_width 400756
set_result_size_estimates 3646
set_subquery_size_estimates 30102
set_tablefunc_size_estimates 604
set_values_size_estimates 7005

Generated by: LCOV version 2.0-1