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-20 09:16:07 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 21837
approx_tuple_count 605598
cached_scansel 1092365
calc_joinrel_size_estimate 218946
clamp_row_est 8049018
clamp_width_est 1555333
compute_bitmap_pages 582639
compute_gather_rows 37894
compute_semi_anti_join_factors 188515
cost_agg 74959
cost_append 59138
cost_bitmap_and_node 45061
cost_bitmap_heap_scan 467895
cost_bitmap_or_node 1800
cost_bitmap_tree_node 886138
cost_ctescan 3574
cost_functionscan 35211
cost_gather 22056
cost_gather_merge 15843
cost_group 1043
cost_incremental_sort 10059
cost_index 673404
cost_material 499525
cost_memoize_rescan 193444
cost_merge_append 7392
cost_namedtuplestorescan 445
cost_qual_eval 3706642
cost_qual_eval_node 1458113
cost_qual_eval_walker 7661550
cost_recursive_union 637
cost_rescan 2569594
cost_resultscan 3751
cost_samplescan 245
cost_seqscan 344795
cost_sort 1555730
cost_subplan 32624
cost_subqueryscan 49599
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 641
cost_tuplesort 1565789
cost_valuesscan 7081
cost_windowagg 2649
extract_nonindex_conditions 812685
final_cost_hashjoin 350581
final_cost_mergejoin 352464
final_cost_nestloop 1174129
get_expr_width 1374451
get_foreign_key_join_selectivity 218946
get_indexpath_pages 176269
get_parallel_divisor 374561
get_parameterized_baserel_size 136652
get_parameterized_joinrel_size 8566
get_restriction_qual_cost 893183
get_windowclause_startup_tuples 2649
has_indexed_join_quals 739336
index_pages_fetched 960827
initial_cost_hashjoin 647414
initial_cost_mergejoin 1097370
initial_cost_nestloop 2569594
page_size 6380
relation_byte_size 3764650
set_baserel_size_estimates 401948
set_cte_size_estimates 3574
set_foreign_size_estimates 1334
set_function_size_estimates 35211
set_joinrel_size_estimates 210380
set_namedtuplestore_size_estimates 445
set_pathtarget_cost_width 473398
set_rel_width 403261
set_result_size_estimates 3686
set_subquery_size_estimates 30262
set_tablefunc_size_estimates 604
set_values_size_estimates 7081

Generated by: LCOV version 2.0-1