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-08-27 10:15:57 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 21389
approx_tuple_count 597570
cached_scansel 1084999
calc_joinrel_size_estimate 217093
clamp_row_est 7976191
clamp_width_est 1541789
compute_bitmap_pages 574123
compute_gather_rows 37124
compute_semi_anti_join_factors 201133
cost_agg 74571
cost_append 58183
cost_bitmap_and_node 44353
cost_bitmap_heap_scan 461039
cost_bitmap_or_node 1700
cost_bitmap_tree_node 872424
cost_ctescan 3566
cost_functionscan 35102
cost_gather 21624
cost_gather_merge 15505
cost_group 1043
cost_incremental_sort 10017
cost_index 663542
cost_material 496149
cost_memoize_rescan 192192
cost_merge_append 7392
cost_namedtuplestorescan 441
cost_qual_eval 3669446
cost_qual_eval_node 1441789
cost_qual_eval_walker 7585389
cost_recursive_union 638
cost_rescan 2548850
cost_resultscan 3686
cost_samplescan 245
cost_seqscan 340599
cost_sort 1545171
cost_subplan 32289
cost_subqueryscan 48982
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1555188
cost_valuesscan 6920
cost_windowagg 2654
extract_nonindex_conditions 800827
final_cost_hashjoin 347323
final_cost_mergejoin 350071
final_cost_nestloop 1162677
get_expr_width 1364396
get_foreign_key_join_selectivity 217093
get_indexpath_pages 173020
get_parallel_divisor 370887
get_parameterized_baserel_size 134844
get_parameterized_joinrel_size 8575
get_restriction_qual_cost 881426
get_windowclause_startup_tuples 2654
has_indexed_join_quals 731894
index_pages_fetched 946605
initial_cost_hashjoin 641876
initial_cost_mergejoin 1090004
initial_cost_nestloop 2548850
page_size 6220
relation_byte_size 3737739
set_baserel_size_estimates 397916
set_cte_size_estimates 3566
set_foreign_size_estimates 1334
set_function_size_estimates 35102
set_joinrel_size_estimates 208518
set_namedtuplestore_size_estimates 441
set_pathtarget_cost_width 471137
set_rel_width 399229
set_result_size_estimates 3621
set_subquery_size_estimates 30022
set_tablefunc_size_estimates 604
set_values_size_estimates 6920

Generated by: LCOV version 2.0-1