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-21 17:16:00 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 23905
approx_tuple_count 626869
cached_scansel 1147885
calc_joinrel_size_estimate 228266
clamp_row_est 8609764
clamp_width_est 1559407
compute_bitmap_pages 583094
compute_gather_rows 37279
compute_semi_anti_join_factors 201210
cost_agg 74662
cost_append 64491
cost_bitmap_and_node 45588
cost_bitmap_heap_scan 469146
cost_bitmap_or_node 1700
cost_bitmap_tree_node 889049
cost_ctescan 4194
cost_functionscan 36045
cost_gather 20381
cost_gather_merge 16905
cost_group 1053
cost_incremental_sort 10613
cost_index 679394
cost_material 512737
cost_memoize_rescan 261954
cost_merge_append 9924
cost_namedtuplestorescan 441
cost_qual_eval 3802722
cost_qual_eval_node 1468203
cost_qual_eval_walker 7816307
cost_recursive_union 739
cost_rescan 2796687
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 343863
cost_sort 1585189
cost_subplan 33660
cost_subqueryscan 49672
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1595802
cost_valuesscan 7211
cost_windowagg 2717
extract_nonindex_conditions 821536
final_cost_hashjoin 353990
final_cost_mergejoin 374492
final_cost_nestloop 1210136
get_expr_width 1470292
get_foreign_key_join_selectivity 228266
get_indexpath_pages 178651
get_parallel_divisor 400247
get_parameterized_baserel_size 140276
get_parameterized_joinrel_size 11704
get_restriction_qual_cost 895250
get_windowclause_startup_tuples 2717
has_indexed_join_quals 738319
index_pages_fetched 974765
initial_cost_hashjoin 667337
initial_cost_mergejoin 1153238
initial_cost_nestloop 2796687
page_size 6172
relation_byte_size 3938655
set_baserel_size_estimates 403703
set_cte_size_estimates 4194
set_foreign_size_estimates 1394
set_function_size_estimates 36046
set_joinrel_size_estimates 216562
set_namedtuplestore_size_estimates 441
set_pathtarget_cost_width 480447
set_rel_width 405073
set_result_size_estimates 3887
set_subquery_size_estimates 30649
set_tablefunc_size_estimates 722
set_values_size_estimates 7211

Generated by: LCOV version 2.0-1