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 % 1864 1825
Test Date: 2026-08-18 07:15:52 Functions: 100.0 % 74 74
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 88.7 % 921 817

Function Name Sort by function name Hit count Sort by function hit count
append_nonpartial_cost 21805
approx_tuple_count 608091
cached_scansel 1093139
calc_joinrel_size_estimate 218952
clamp_row_est 8050175
clamp_width_est 1551408
compute_bitmap_pages 582656
compute_gather_rows 37925
compute_semi_anti_join_factors 188566
cost_agg 74916
cost_append 59070
cost_bitmap_and_node 45071
cost_bitmap_heap_scan 467959
cost_bitmap_or_node 1800
cost_bitmap_tree_node 886587
cost_ctescan 3576
cost_functionscan 35116
cost_gather 22064
cost_gather_merge 15866
cost_group 1043
cost_incremental_sort 10031
cost_index 673429
cost_material 499605
cost_memoize_rescan 192775
cost_merge_append 7392
cost_namedtuplestorescan 441
cost_qual_eval 3715387
cost_qual_eval_node 1458601
cost_qual_eval_walker 7673803
cost_recursive_union 638
cost_rescan 2570866
cost_resultscan 3751
cost_samplescan 245
cost_seqscan 344265
cost_sort 1555787
cost_subplan 32633
cost_subqueryscan 49615
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 636
cost_tuplesort 1565818
cost_valuesscan 7044
cost_windowagg 2649
extract_nonindex_conditions 812793
final_cost_hashjoin 350360
final_cost_mergejoin 354752
final_cost_nestloop 1179551
get_expr_width 1372208
get_foreign_key_join_selectivity 218952
get_indexpath_pages 175552
get_parallel_divisor 374381
get_parameterized_baserel_size 136725
get_parameterized_joinrel_size 8820
get_restriction_qual_cost 892591
get_windowclause_startup_tuples 2649
has_indexed_join_quals 743759
index_pages_fetched 959853
initial_cost_hashjoin 645324
initial_cost_mergejoin 1098104
initial_cost_nestloop 2570866
page_size 6340
relation_byte_size 3766382
set_baserel_size_estimates 401304
set_cte_size_estimates 3576
set_foreign_size_estimates 1288
set_function_size_estimates 35116
set_joinrel_size_estimates 210132
set_namedtuplestore_size_estimates 441
set_pathtarget_cost_width 472740
set_rel_width 402572
set_result_size_estimates 3686
set_subquery_size_estimates 30277
set_tablefunc_size_estimates 604
set_values_size_estimates 7044

Generated by: LCOV version 2.0-1