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-19 20:15:51 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 606025
cached_scansel 1093876
calc_joinrel_size_estimate 219071
clamp_row_est 8051516
clamp_width_est 1555897
compute_bitmap_pages 582810
compute_gather_rows 37960
compute_semi_anti_join_factors 188663
cost_agg 74955
cost_append 59139
cost_bitmap_and_node 45072
cost_bitmap_heap_scan 468059
cost_bitmap_or_node 1800
cost_bitmap_tree_node 886403
cost_ctescan 3575
cost_functionscan 35225
cost_gather 22093
cost_gather_merge 15872
cost_group 1043
cost_incremental_sort 10055
cost_index 673669
cost_material 499983
cost_memoize_rescan 194153
cost_merge_append 7392
cost_namedtuplestorescan 435
cost_qual_eval 3707522
cost_qual_eval_node 1458602
cost_qual_eval_walker 7664139
cost_recursive_union 638
cost_rescan 2573643
cost_resultscan 3751
cost_samplescan 245
cost_seqscan 344898
cost_sort 1557378
cost_subplan 32627
cost_subqueryscan 49616
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 641
cost_tuplesort 1567433
cost_valuesscan 7071
cost_windowagg 2649
extract_nonindex_conditions 813041
final_cost_hashjoin 349454
final_cost_mergejoin 352809
final_cost_nestloop 1176129
get_expr_width 1375742
get_foreign_key_join_selectivity 219071
get_indexpath_pages 176606
get_parallel_divisor 374715
get_parameterized_baserel_size 136737
get_parameterized_joinrel_size 8563
get_restriction_qual_cost 893460
get_windowclause_startup_tuples 2649
has_indexed_join_quals 741416
index_pages_fetched 961565
initial_cost_hashjoin 646312
initial_cost_mergejoin 1098881
initial_cost_nestloop 2573643
page_size 6204
relation_byte_size 3767475
set_baserel_size_estimates 402062
set_cte_size_estimates 3575
set_foreign_size_estimates 1334
set_function_size_estimates 35225
set_joinrel_size_estimates 210508
set_namedtuplestore_size_estimates 435
set_pathtarget_cost_width 473407
set_rel_width 403376
set_result_size_estimates 3686
set_subquery_size_estimates 30278
set_tablefunc_size_estimates 604
set_values_size_estimates 7071

Generated by: LCOV version 2.0-1