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-15 14:15:45 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 21770
approx_tuple_count 602228
cached_scansel 1086942
calc_joinrel_size_estimate 217922
clamp_row_est 7987390
clamp_width_est 1550223
compute_bitmap_pages 580191
compute_gather_rows 37800
compute_semi_anti_join_factors 187110
cost_agg 74667
cost_append 58930
cost_bitmap_and_node 44699
cost_bitmap_heap_scan 465418
cost_bitmap_or_node 1772
cost_bitmap_tree_node 880720
cost_ctescan 3541
cost_functionscan 35065
cost_gather 21987
cost_gather_merge 15818
cost_group 1053
cost_incremental_sort 10061
cost_index 670013
cost_material 498168
cost_memoize_rescan 193656
cost_merge_append 7390
cost_namedtuplestorescan 437
cost_qual_eval 3682794
cost_qual_eval_node 1451167
cost_qual_eval_walker 7617045
cost_recursive_union 634
cost_rescan 2559459
cost_resultscan 3691
cost_samplescan 245
cost_seqscan 343477
cost_sort 1548123
cost_subplan 32334
cost_subqueryscan 49195
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 636
cost_tuplesort 1558184
cost_valuesscan 6989
cost_windowagg 2657
extract_nonindex_conditions 808215
final_cost_hashjoin 345790
final_cost_mergejoin 350920
final_cost_nestloop 1169130
get_expr_width 1367544
get_foreign_key_join_selectivity 217922
get_indexpath_pages 175680
get_parallel_divisor 374380
get_parameterized_baserel_size 135975
get_parameterized_joinrel_size 8311
get_restriction_qual_cost 888823
get_windowclause_startup_tuples 2657
has_indexed_join_quals 735852
index_pages_fetched 956512
initial_cost_hashjoin 642785
initial_cost_mergejoin 1091907
initial_cost_nestloop 2559459
page_size 6240
relation_byte_size 3745659
set_baserel_size_estimates 400081
set_cte_size_estimates 3541
set_foreign_size_estimates 1275
set_function_size_estimates 35065
set_joinrel_size_estimates 209611
set_namedtuplestore_size_estimates 437
set_pathtarget_cost_width 471319
set_rel_width 401336
set_result_size_estimates 3626
set_subquery_size_estimates 30070
set_tablefunc_size_estimates 604
set_values_size_estimates 6989

Generated by: LCOV version 2.0-1