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-09-29 23:15:56 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 21202
approx_tuple_count 568293
cached_scansel 1034444
calc_joinrel_size_estimate 210636
clamp_row_est 7793946
clamp_width_est 1508334
compute_bitmap_pages 571058
compute_gather_rows 36334
compute_semi_anti_join_factors 196833
cost_agg 74692
cost_append 57831
cost_bitmap_and_node 44383
cost_bitmap_heap_scan 458398
cost_bitmap_or_node 1688
cost_bitmap_tree_node 870277
cost_ctescan 4016
cost_functionscan 35185
cost_gather 21176
cost_gather_merge 15163
cost_group 1043
cost_incremental_sort 9384
cost_index 659218
cost_material 473179
cost_memoize_rescan 190709
cost_merge_append 7472
cost_namedtuplestorescan 391
cost_qual_eval 3574779
cost_qual_eval_node 1424595
cost_qual_eval_walker 7408230
cost_recursive_union 693
cost_rescan 2456222
cost_resultscan 3692
cost_samplescan 247
cost_seqscan 335535
cost_sort 1453642
cost_subplan 32379
cost_subqueryscan 48671
cost_tablefuncscan 604
cost_tidrangescan 1683
cost_tidscan 643
cost_tuplesort 1463026
cost_valuesscan 6796
cost_windowagg 2654
extract_nonindex_conditions 795304
final_cost_hashjoin 334508
final_cost_mergejoin 332377
final_cost_nestloop 1138453
get_expr_width 1350866
get_foreign_key_join_selectivity 210636
get_indexpath_pages 171644
get_parallel_divisor 369421
get_parameterized_baserel_size 133610
get_parameterized_joinrel_size 7882
get_restriction_qual_cost 873769
get_windowclause_startup_tuples 2654
has_indexed_join_quals 714825
index_pages_fetched 939667
initial_cost_hashjoin 616246
initial_cost_mergejoin 1039493
initial_cost_nestloop 2456222
page_size 5812
relation_byte_size 3557340
set_baserel_size_estimates 393067
set_cte_size_estimates 4016
set_foreign_size_estimates 1328
set_function_size_estimates 35185
set_joinrel_size_estimates 202754
set_namedtuplestore_size_estimates 391
set_pathtarget_cost_width 464489
set_rel_width 394375
set_result_size_estimates 3627
set_subquery_size_estimates 29734
set_tablefunc_size_estimates 604
set_values_size_estimates 6796

Generated by: LCOV version 2.0-1