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-09 20: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 21824
approx_tuple_count 604654
cached_scansel 1088246
calc_joinrel_size_estimate 218330
clamp_row_est 8019374
clamp_width_est 1552339
compute_bitmap_pages 582113
compute_gather_rows 37904
compute_semi_anti_join_factors 187820
cost_agg 74842
cost_append 59091
cost_bitmap_and_node 44971
cost_bitmap_heap_scan 467270
cost_bitmap_or_node 1792
cost_bitmap_tree_node 885014
cost_ctescan 3533
cost_functionscan 35145
cost_gather 22064
cost_gather_merge 15845
cost_group 1043
cost_incremental_sort 10009
cost_index 672398
cost_material 498466
cost_memoize_rescan 192709
cost_merge_append 7390
cost_namedtuplestorescan 437
cost_qual_eval 3695673
cost_qual_eval_node 1456651
cost_qual_eval_walker 7652167
cost_recursive_union 633
cost_rescan 2562453
cost_resultscan 3741
cost_samplescan 245
cost_seqscan 344084
cost_sort 1549847
cost_subplan 32508
cost_subqueryscan 49475
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 636
cost_tuplesort 1559856
cost_valuesscan 7013
cost_windowagg 2647
extract_nonindex_conditions 811278
final_cost_hashjoin 347973
final_cost_mergejoin 352513
final_cost_nestloop 1170782
get_expr_width 1370177
get_foreign_key_join_selectivity 218330
get_indexpath_pages 175933
get_parallel_divisor 374595
get_parameterized_baserel_size 136385
get_parameterized_joinrel_size 8551
get_restriction_qual_cost 891590
get_windowclause_startup_tuples 2647
has_indexed_join_quals 736704
index_pages_fetched 959083
initial_cost_hashjoin 642973
initial_cost_mergejoin 1093211
initial_cost_nestloop 2562453
page_size 6072
relation_byte_size 3751356
set_baserel_size_estimates 400918
set_cte_size_estimates 3533
set_foreign_size_estimates 1288
set_function_size_estimates 35145
set_joinrel_size_estimates 209779
set_namedtuplestore_size_estimates 437
set_pathtarget_cost_width 473124
set_rel_width 402186
set_result_size_estimates 3676
set_subquery_size_estimates 30172
set_tablefunc_size_estimates 604
set_values_size_estimates 7013

Generated by: LCOV version 2.0-1