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-11-28 02:16:12 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 23904
approx_tuple_count 623632
cached_scansel 1145890
calc_joinrel_size_estimate 226579
clamp_row_est 8580150
clamp_width_est 1552277
compute_bitmap_pages 577102
compute_gather_rows 37297
compute_semi_anti_join_factors 199739
cost_agg 74734
cost_append 64501
cost_bitmap_and_node 45249
cost_bitmap_heap_scan 464649
cost_bitmap_or_node 1692
cost_bitmap_tree_node 880713
cost_ctescan 4194
cost_functionscan 35866
cost_gather 20399
cost_gather_merge 16905
cost_group 1053
cost_incremental_sort 10529
cost_index 672693
cost_material 510881
cost_memoize_rescan 263562
cost_merge_append 9916
cost_namedtuplestorescan 445
cost_qual_eval 3776736
cost_qual_eval_node 1458055
cost_qual_eval_walker 7759699
cost_recursive_union 739
cost_rescan 2789316
cost_resultscan 3942
cost_samplescan 262
cost_seqscan 341254
cost_sort 1582440
cost_subplan 33136
cost_subqueryscan 49621
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1592969
cost_valuesscan 7223
cost_windowagg 2719
extract_nonindex_conditions 813775
final_cost_hashjoin 353395
final_cost_mergejoin 371789
final_cost_nestloop 1199944
get_expr_width 1465744
get_foreign_key_join_selectivity 226579
get_indexpath_pages 178385
get_parallel_divisor 400289
get_parameterized_baserel_size 138971
get_parameterized_joinrel_size 11566
get_restriction_qual_cost 887910
get_windowclause_startup_tuples 2719
has_indexed_join_quals 732148
index_pages_fetched 967934
initial_cost_hashjoin 668550
initial_cost_mergejoin 1151247
initial_cost_nestloop 2789316
page_size 6240
relation_byte_size 3930474
set_baserel_size_estimates 400873
set_cte_size_estimates 4194
set_foreign_size_estimates 1394
set_function_size_estimates 35866
set_joinrel_size_estimates 215013
set_namedtuplestore_size_estimates 445
set_pathtarget_cost_width 479654
set_rel_width 402243
set_result_size_estimates 3877
set_subquery_size_estimates 30633
set_tablefunc_size_estimates 722
set_values_size_estimates 7223

Generated by: LCOV version 2.0-1