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-19 05: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 21756
approx_tuple_count 601511
cached_scansel 1086977
calc_joinrel_size_estimate 217242
clamp_row_est 7984108
clamp_width_est 1546002
compute_bitmap_pages 578199
compute_gather_rows 37789
compute_semi_anti_join_factors 187112
cost_agg 74565
cost_append 58910
cost_bitmap_and_node 44701
cost_bitmap_heap_scan 464269
cost_bitmap_or_node 1772
cost_bitmap_tree_node 878826
cost_ctescan 3530
cost_functionscan 34809
cost_gather 21974
cost_gather_merge 15820
cost_group 1043
cost_incremental_sort 10062
cost_index 668017
cost_material 497091
cost_memoize_rescan 193245
cost_merge_append 7392
cost_namedtuplestorescan 435
cost_qual_eval 3672837
cost_qual_eval_node 1447222
cost_qual_eval_walker 7594752
cost_recursive_union 634
cost_rescan 2556501
cost_resultscan 3701
cost_samplescan 245
cost_seqscan 342291
cost_sort 1548059
cost_subplan 32332
cost_subqueryscan 49181
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 636
cost_tuplesort 1558121
cost_valuesscan 7001
cost_windowagg 2647
extract_nonindex_conditions 806211
final_cost_hashjoin 345951
final_cost_mergejoin 350124
final_cost_nestloop 1163370
get_expr_width 1365487
get_foreign_key_join_selectivity 217242
get_indexpath_pages 175289
get_parallel_divisor 374254
get_parameterized_baserel_size 135669
get_parameterized_joinrel_size 8310
get_restriction_qual_cost 886229
get_windowclause_startup_tuples 2647
has_indexed_join_quals 731857
index_pages_fetched 953915
initial_cost_hashjoin 642721
initial_cost_mergejoin 1091942
initial_cost_nestloop 2556501
page_size 6212
relation_byte_size 3742854
set_baserel_size_estimates 398659
set_cte_size_estimates 3530
set_foreign_size_estimates 1275
set_function_size_estimates 34809
set_joinrel_size_estimates 208932
set_namedtuplestore_size_estimates 435
set_pathtarget_cost_width 470722
set_rel_width 399914
set_result_size_estimates 3636
set_subquery_size_estimates 30058
set_tablefunc_size_estimates 604
set_values_size_estimates 7001

Generated by: LCOV version 2.0-1