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-09-02 17:15:49 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 21433
approx_tuple_count 599386
cached_scansel 1086319
calc_joinrel_size_estimate 217520
clamp_row_est 7996838
clamp_width_est 1540796
compute_bitmap_pages 575140
compute_gather_rows 37176
compute_semi_anti_join_factors 201345
cost_agg 74662
cost_append 58297
cost_bitmap_and_node 44398
cost_bitmap_heap_scan 461864
cost_bitmap_or_node 1700
cost_bitmap_tree_node 874917
cost_ctescan 3576
cost_functionscan 35095
cost_gather 21642
cost_gather_merge 15539
cost_group 1043
cost_incremental_sort 10044
cost_index 664123
cost_material 496554
cost_memoize_rescan 191630
cost_merge_append 7392
cost_namedtuplestorescan 431
cost_qual_eval 3680643
cost_qual_eval_node 1437740
cost_qual_eval_walker 7592934
cost_recursive_union 638
cost_rescan 2550410
cost_resultscan 3686
cost_samplescan 247
cost_seqscan 340947
cost_sort 1546206
cost_subplan 32290
cost_subqueryscan 49016
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1556250
cost_valuesscan 6923
cost_windowagg 2655
extract_nonindex_conditions 801551
final_cost_hashjoin 349154
final_cost_mergejoin 351658
final_cost_nestloop 1166150
get_expr_width 1358823
get_foreign_key_join_selectivity 217520
get_indexpath_pages 172496
get_parallel_divisor 371080
get_parameterized_baserel_size 134966
get_parameterized_joinrel_size 8825
get_restriction_qual_cost 882625
get_windowclause_startup_tuples 2655
has_indexed_join_quals 733485
index_pages_fetched 947000
initial_cost_hashjoin 642687
initial_cost_mergejoin 1091324
initial_cost_nestloop 2550410
page_size 6248
relation_byte_size 3743044
set_baserel_size_estimates 398247
set_cte_size_estimates 3576
set_foreign_size_estimates 1333
set_function_size_estimates 35095
set_joinrel_size_estimates 208695
set_namedtuplestore_size_estimates 431
set_pathtarget_cost_width 468205
set_rel_width 399560
set_result_size_estimates 3621
set_subquery_size_estimates 30049
set_tablefunc_size_estimates 604
set_values_size_estimates 6923

Generated by: LCOV version 2.0-1