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-25 06:15:50 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 21828
approx_tuple_count 600900
cached_scansel 1092598
calc_joinrel_size_estimate 219675
clamp_row_est 8058271
clamp_width_est 1557904
compute_bitmap_pages 584447
compute_gather_rows 37938
compute_semi_anti_join_factors 203721
cost_agg 75008
cost_append 59122
cost_bitmap_and_node 45059
cost_bitmap_heap_scan 468940
cost_bitmap_or_node 1800
cost_bitmap_tree_node 887804
cost_ctescan 3585
cost_functionscan 35535
cost_gather 22076
cost_gather_merge 15867
cost_group 1043
cost_incremental_sort 10094
cost_index 675327
cost_material 500739
cost_memoize_rescan 193776
cost_merge_append 7392
cost_namedtuplestorescan 437
cost_qual_eval 3709862
cost_qual_eval_node 1457144
cost_qual_eval_walker 7679139
cost_recursive_union 637
cost_rescan 2573007
cost_resultscan 3751
cost_samplescan 245
cost_seqscan 345938
cost_sort 1556349
cost_subplan 32608
cost_subqueryscan 49640
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1566443
cost_valuesscan 7081
cost_windowagg 2654
extract_nonindex_conditions 814632
final_cost_hashjoin 349237
final_cost_mergejoin 352568
final_cost_nestloop 1176857
get_expr_width 1371654
get_foreign_key_join_selectivity 219675
get_indexpath_pages 176529
get_parallel_divisor 374575
get_parameterized_baserel_size 136976
get_parameterized_joinrel_size 8542
get_restriction_qual_cost 895729
get_windowclause_startup_tuples 2654
has_indexed_join_quals 740093
index_pages_fetched 963184
initial_cost_hashjoin 646000
initial_cost_mergejoin 1097603
initial_cost_nestloop 2573007
page_size 6316
relation_byte_size 3766724
set_baserel_size_estimates 403473
set_cte_size_estimates 3585
set_foreign_size_estimates 1334
set_function_size_estimates 35535
set_joinrel_size_estimates 211133
set_namedtuplestore_size_estimates 437
set_pathtarget_cost_width 471990
set_rel_width 404787
set_result_size_estimates 3686
set_subquery_size_estimates 30298
set_tablefunc_size_estimates 604
set_values_size_estimates 7081

Generated by: LCOV version 2.0-1