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-15 06:16:48 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 23929
approx_tuple_count 621597
cached_scansel 1147645
calc_joinrel_size_estimate 227290
clamp_row_est 8596469
clamp_width_est 1556288
compute_bitmap_pages 582934
compute_gather_rows 37265
compute_semi_anti_join_factors 201154
cost_agg 74635
cost_append 64455
cost_bitmap_and_node 45835
cost_bitmap_heap_scan 469437
cost_bitmap_or_node 1700
cost_bitmap_tree_node 889343
cost_ctescan 4145
cost_functionscan 35874
cost_gather 20382
cost_gather_merge 16890
cost_group 1048
cost_incremental_sort 10586
cost_index 678159
cost_material 511969
cost_memoize_rescan 264645
cost_merge_append 9858
cost_namedtuplestorescan 411
cost_qual_eval 3779713
cost_qual_eval_node 1462234
cost_qual_eval_walker 7770448
cost_recursive_union 719
cost_rescan 2799069
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 343077
cost_sort 1584443
cost_subplan 33582
cost_subqueryscan 49565
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1595029
cost_valuesscan 7106
cost_windowagg 2707
extract_nonindex_conditions 820266
final_cost_hashjoin 351514
final_cost_mergejoin 370293
final_cost_nestloop 1202038
get_expr_width 1468752
get_foreign_key_join_selectivity 227290
get_indexpath_pages 181346
get_parallel_divisor 400417
get_parameterized_baserel_size 140051
get_parameterized_joinrel_size 11256
get_restriction_qual_cost 894351
get_windowclause_startup_tuples 2707
has_indexed_join_quals 733476
index_pages_fetched 976351
initial_cost_hashjoin 667615
initial_cost_mergejoin 1152874
initial_cost_nestloop 2799069
page_size 6204
relation_byte_size 3933431
set_baserel_size_estimates 402360
set_cte_size_estimates 4145
set_foreign_size_estimates 1336
set_function_size_estimates 35874
set_joinrel_size_estimates 216034
set_namedtuplestore_size_estimates 411
set_pathtarget_cost_width 478836
set_rel_width 403672
set_result_size_estimates 3887
set_subquery_size_estimates 30543
set_tablefunc_size_estimates 722
set_values_size_estimates 7106

Generated by: LCOV version 2.0-1