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-10-16 16: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 21212
approx_tuple_count 573530
cached_scansel 1036168
calc_joinrel_size_estimate 211520
clamp_row_est 7806165
clamp_width_est 1510916
compute_bitmap_pages 570242
compute_gather_rows 36412
compute_semi_anti_join_factors 196892
cost_agg 75712
cost_append 58114
cost_bitmap_and_node 44381
cost_bitmap_heap_scan 457966
cost_bitmap_or_node 1688
cost_bitmap_tree_node 869933
cost_ctescan 4011
cost_functionscan 35081
cost_gather 21255
cost_gather_merge 15162
cost_group 1058
cost_incremental_sort 9476
cost_index 658459
cost_material 473653
cost_memoize_rescan 188228
cost_merge_append 7572
cost_namedtuplestorescan 393
cost_qual_eval 3591212
cost_qual_eval_node 1431384
cost_qual_eval_walker 7436380
cost_recursive_union 693
cost_rescan 2455116
cost_resultscan 3812
cost_samplescan 262
cost_seqscan 335845
cost_sort 1457508
cost_subplan 32496
cost_subqueryscan 48841
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1466984
cost_valuesscan 6826
cost_windowagg 2684
extract_nonindex_conditions 794574
final_cost_hashjoin 337100
final_cost_mergejoin 335688
final_cost_nestloop 1143275
get_expr_width 1355702
get_foreign_key_join_selectivity 211520
get_indexpath_pages 169760
get_parallel_divisor 369552
get_parameterized_baserel_size 133685
get_parameterized_joinrel_size 8359
get_restriction_qual_cost 873761
get_windowclause_startup_tuples 2684
has_indexed_join_quals 716517
index_pages_fetched 936638
initial_cost_hashjoin 616967
initial_cost_mergejoin 1041277
initial_cost_nestloop 2455116
page_size 6180
relation_byte_size 3566573
set_baserel_size_estimates 393520
set_cte_size_estimates 4011
set_foreign_size_estimates 1332
set_function_size_estimates 35082
set_joinrel_size_estimates 203161
set_namedtuplestore_size_estimates 393
set_pathtarget_cost_width 468160
set_rel_width 394832
set_result_size_estimates 3747
set_subquery_size_estimates 29886
set_tablefunc_size_estimates 604
set_values_size_estimates 6826

Generated by: LCOV version 2.0-1