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 % 1859 1820
Test Date: 2026-07-07 17:17:09 Functions: 100.0 % 74 74
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 88.6 % 915 811

Function Name Sort by function name Hit count Sort by function hit count
append_nonpartial_cost 21728
approx_tuple_count 576223
cached_scansel 1032423
calc_joinrel_size_estimate 208968
clamp_row_est 7721662
clamp_width_est 1515710
compute_bitmap_pages 558703
compute_gather_rows 37684
compute_semi_anti_join_factors 175623
cost_agg 74488
cost_append 58819
cost_bitmap_and_node 41997
cost_bitmap_heap_scan 444757
cost_bitmap_or_node 1752
cost_bitmap_tree_node 837236
cost_ctescan 3513
cost_functionscan 34899
cost_gather 21916
cost_gather_merge 15773
cost_group 1053
cost_incremental_sort 9996
cost_index 654037
cost_material 479484
cost_memoize_rescan 184655
cost_merge_append 7390
cost_namedtuplestorescan 433
cost_qual_eval 3499415
cost_qual_eval_node 1433407
cost_qual_eval_walker 7361044
cost_recursive_union 634
cost_rescan 2412854
cost_resultscan 3681
cost_samplescan 245
cost_seqscan 339521
cost_sort 1476060
cost_subplan 32283
cost_subqueryscan 49034
cost_tablefuncscan 524
cost_tidrangescan 1703
cost_tidscan 636
cost_tuplesort 1486056
cost_valuesscan 6978
cost_windowagg 2629
extract_nonindex_conditions 783899
final_cost_hashjoin 337414
final_cost_mergejoin 329118
final_cost_nestloop 1082053
get_expr_width 1355659
get_foreign_key_join_selectivity 208968
get_indexpath_pages 169246
get_parallel_divisor 373810
get_parameterized_baserel_size 127512
get_parameterized_joinrel_size 8309
get_restriction_qual_cost 863783
get_windowclause_startup_tuples 2629
has_indexed_join_quals 676346
index_pages_fetched 929806
initial_cost_hashjoin 621342
initial_cost_mergejoin 1037388
initial_cost_nestloop 2412854
page_size 6126
relation_byte_size 3582026
set_baserel_size_estimates 395811
set_cte_size_estimates 3513
set_foreign_size_estimates 1269
set_function_size_estimates 34899
set_joinrel_size_estimates 200659
set_namedtuplestore_size_estimates 433
set_pathtarget_cost_width 470302
set_rel_width 397060
set_result_size_estimates 3616
set_subquery_size_estimates 29976
set_tablefunc_size_estimates 524
set_values_size_estimates 6978

Generated by: LCOV version 2.0-1