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 % 1887 1848
Test Date: 2026-11-14 04:16:04 Functions: 100.0 % 74 74
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 89.0 % 947 843

Function Name Sort by function name Hit count Sort by function hit count
append_nonpartial_cost 23896
approx_tuple_count 623640
cached_scansel 1146533
calc_joinrel_size_estimate 227798
clamp_row_est 8601522
clamp_width_est 1557698
compute_bitmap_pages 583171
compute_gather_rows 37276
compute_semi_anti_join_factors 201045
cost_agg 74583
cost_append 64389
cost_bitmap_and_node 45674
cost_bitmap_heap_scan 469274
cost_bitmap_or_node 1700
cost_bitmap_tree_node 889336
cost_ctescan 4149
cost_functionscan 36009
cost_gather 20380
cost_gather_merge 16903
cost_group 1048
cost_incremental_sort 10558
cost_index 678960
cost_material 512298
cost_memoize_rescan 263101
cost_merge_append 9858
cost_namedtuplestorescan 417
cost_qual_eval 3790260
cost_qual_eval_node 1465623
cost_qual_eval_walker 7795854
cost_recursive_union 718
cost_rescan 2795697
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 343481
cost_sort 1582861
cost_subplan 33570
cost_subqueryscan 49561
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1593419
cost_valuesscan 7094
cost_windowagg 2707
extract_nonindex_conditions 820996
final_cost_hashjoin 353311
final_cost_mergejoin 372104
final_cost_nestloop 1204847
get_expr_width 1468796
get_foreign_key_join_selectivity 227798
get_indexpath_pages 179647
get_parallel_divisor 400207
get_parameterized_baserel_size 140164
get_parameterized_joinrel_size 11483
get_restriction_qual_cost 894719
get_windowclause_startup_tuples 2707
has_indexed_join_quals 734737
index_pages_fetched 975249
initial_cost_hashjoin 668277
initial_cost_mergejoin 1151762
initial_cost_nestloop 2795697
page_size 6148
relation_byte_size 3933223
set_baserel_size_estimates 402934
set_cte_size_estimates 4149
set_foreign_size_estimates 1336
set_function_size_estimates 36009
set_joinrel_size_estimates 216315
set_namedtuplestore_size_estimates 417
set_pathtarget_cost_width 479738
set_rel_width 404246
set_result_size_estimates 3887
set_subquery_size_estimates 30537
set_tablefunc_size_estimates 722
set_values_size_estimates 7094

Generated by: LCOV version 2.0-1