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-16 21:16:14 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 23925
approx_tuple_count 622377
cached_scansel 1147651
calc_joinrel_size_estimate 227382
clamp_row_est 8596390
clamp_width_est 1556300
compute_bitmap_pages 583156
compute_gather_rows 37279
compute_semi_anti_join_factors 201171
cost_agg 74612
cost_append 64453
cost_bitmap_and_node 45846
cost_bitmap_heap_scan 469596
cost_bitmap_or_node 1700
cost_bitmap_tree_node 889817
cost_ctescan 4144
cost_functionscan 35854
cost_gather 20381
cost_gather_merge 16905
cost_group 1048
cost_incremental_sort 10550
cost_index 678335
cost_material 512026
cost_memoize_rescan 263996
cost_merge_append 9858
cost_namedtuplestorescan 417
cost_qual_eval 3782569
cost_qual_eval_node 1463718
cost_qual_eval_walker 7776891
cost_recursive_union 719
cost_rescan 2798421
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 343101
cost_sort 1584354
cost_subplan 33596
cost_subqueryscan 49570
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1594904
cost_valuesscan 7096
cost_windowagg 2707
extract_nonindex_conditions 820450
final_cost_hashjoin 351730
final_cost_mergejoin 371019
final_cost_nestloop 1202876
get_expr_width 1468728
get_foreign_key_join_selectivity 227382
get_indexpath_pages 181080
get_parallel_divisor 400434
get_parameterized_baserel_size 140060
get_parameterized_joinrel_size 11348
get_restriction_qual_cost 894513
get_windowclause_startup_tuples 2707
has_indexed_join_quals 734052
index_pages_fetched 976129
initial_cost_hashjoin 667386
initial_cost_mergejoin 1152880
initial_cost_nestloop 2798421
page_size 6182
relation_byte_size 3933501
set_baserel_size_estimates 402364
set_cte_size_estimates 4144
set_foreign_size_estimates 1337
set_function_size_estimates 35854
set_joinrel_size_estimates 216034
set_namedtuplestore_size_estimates 417
set_pathtarget_cost_width 479113
set_rel_width 403677
set_result_size_estimates 3887
set_subquery_size_estimates 30548
set_tablefunc_size_estimates 722
set_values_size_estimates 7096

Generated by: LCOV version 2.0-1