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-05 07:15:57 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 21832
approx_tuple_count 603991
cached_scansel 1088150
calc_joinrel_size_estimate 218326
clamp_row_est 8016589
clamp_width_est 1548856
compute_bitmap_pages 581998
compute_gather_rows 37873
compute_semi_anti_join_factors 187810
cost_agg 74844
cost_append 59090
cost_bitmap_and_node 44971
cost_bitmap_heap_scan 467198
cost_bitmap_or_node 1792
cost_bitmap_tree_node 884891
cost_ctescan 3524
cost_functionscan 35179
cost_gather 22050
cost_gather_merge 15828
cost_group 1043
cost_incremental_sort 10017
cost_index 672264
cost_material 498394
cost_memoize_rescan 192701
cost_merge_append 7390
cost_namedtuplestorescan 433
cost_qual_eval 3693325
cost_qual_eval_node 1453019
cost_qual_eval_walker 7641003
cost_recursive_union 633
cost_rescan 2562217
cost_resultscan 3741
cost_samplescan 245
cost_seqscan 344006
cost_sort 1549343
cost_subplan 32489
cost_subqueryscan 49457
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 636
cost_tuplesort 1559360
cost_valuesscan 7007
cost_windowagg 2647
extract_nonindex_conditions 811137
final_cost_hashjoin 347651
final_cost_mergejoin 351574
final_cost_nestloop 1171229
get_expr_width 1366468
get_foreign_key_join_selectivity 218326
get_indexpath_pages 175758
get_parallel_divisor 374538
get_parameterized_baserel_size 136376
get_parameterized_joinrel_size 8559
get_restriction_qual_cost 891444
get_windowclause_startup_tuples 2647
has_indexed_join_quals 737010
index_pages_fetched 958738
initial_cost_hashjoin 643064
initial_cost_mergejoin 1093115
initial_cost_nestloop 2562217
page_size 6090
relation_byte_size 3750051
set_baserel_size_estimates 400816
set_cte_size_estimates 3524
set_foreign_size_estimates 1275
set_function_size_estimates 35179
set_joinrel_size_estimates 209767
set_namedtuplestore_size_estimates 433
set_pathtarget_cost_width 470787
set_rel_width 402070
set_result_size_estimates 3676
set_subquery_size_estimates 30156
set_tablefunc_size_estimates 604
set_values_size_estimates 7007

Generated by: LCOV version 2.0-1