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-20 02:16:05 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 23912
approx_tuple_count 624196
cached_scansel 1146358
calc_joinrel_size_estimate 227807
clamp_row_est 8585477
clamp_width_est 1558931
compute_bitmap_pages 581726
compute_gather_rows 37277
compute_semi_anti_join_factors 201079
cost_agg 74662
cost_append 64506
cost_bitmap_and_node 45343
cost_bitmap_heap_scan 467888
cost_bitmap_or_node 1700
cost_bitmap_tree_node 886517
cost_ctescan 4148
cost_functionscan 35943
cost_gather 20384
cost_gather_merge 16900
cost_group 1048
cost_incremental_sort 10589
cost_index 678855
cost_material 512236
cost_memoize_rescan 262766
cost_merge_append 9924
cost_namedtuplestorescan 451
cost_qual_eval 3787144
cost_qual_eval_node 1465533
cost_qual_eval_walker 7790903
cost_recursive_union 718
cost_rescan 2794721
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 343568
cost_sort 1583755
cost_subplan 33627
cost_subqueryscan 49596
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1594344
cost_valuesscan 7211
cost_windowagg 2707
extract_nonindex_conditions 820913
final_cost_hashjoin 351574
final_cost_mergejoin 372612
final_cost_nestloop 1204828
get_expr_width 1468813
get_foreign_key_join_selectivity 227807
get_indexpath_pages 178039
get_parallel_divisor 400315
get_parameterized_baserel_size 140125
get_parameterized_joinrel_size 11473
get_restriction_qual_cost 893520
get_windowclause_startup_tuples 2707
has_indexed_join_quals 734891
index_pages_fetched 974250
initial_cost_hashjoin 666655
initial_cost_mergejoin 1151707
initial_cost_nestloop 2794721
page_size 6172
relation_byte_size 3932245
set_baserel_size_estimates 403180
set_cte_size_estimates 4148
set_foreign_size_estimates 1395
set_function_size_estimates 35943
set_joinrel_size_estimates 216334
set_namedtuplestore_size_estimates 451
set_pathtarget_cost_width 479581
set_rel_width 404551
set_result_size_estimates 3887
set_subquery_size_estimates 30573
set_tablefunc_size_estimates 722
set_values_size_estimates 7211

Generated by: LCOV version 2.0-1