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-30 20:16:09 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 23910
approx_tuple_count 626385
cached_scansel 1148569
calc_joinrel_size_estimate 228588
clamp_row_est 8612907
clamp_width_est 1559966
compute_bitmap_pages 583764
compute_gather_rows 37326
compute_semi_anti_join_factors 201330
cost_agg 74782
cost_append 64516
cost_bitmap_and_node 45678
cost_bitmap_heap_scan 469722
cost_bitmap_or_node 1700
cost_bitmap_tree_node 890493
cost_ctescan 4191
cost_functionscan 36211
cost_gather 20423
cost_gather_merge 16910
cost_group 1053
cost_incremental_sort 10616
cost_index 679831
cost_material 513219
cost_memoize_rescan 261954
cost_merge_append 9916
cost_namedtuplestorescan 451
cost_qual_eval 3804236
cost_qual_eval_node 1469216
cost_qual_eval_walker 7819484
cost_recursive_union 739
cost_rescan 2798662
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 344120
cost_sort 1586191
cost_subplan 33688
cost_subqueryscan 49716
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1596807
cost_valuesscan 7236
cost_windowagg 2717
extract_nonindex_conditions 822051
final_cost_hashjoin 354161
final_cost_mergejoin 374306
final_cost_nestloop 1210742
get_expr_width 1471011
get_foreign_key_join_selectivity 228588
get_indexpath_pages 178087
get_parallel_divisor 400350
get_parameterized_baserel_size 140369
get_parameterized_joinrel_size 11860
get_restriction_qual_cost 896278
get_windowclause_startup_tuples 2717
has_indexed_join_quals 737443
index_pages_fetched 974344
initial_cost_hashjoin 668734
initial_cost_mergejoin 1153926
initial_cost_nestloop 2798662
page_size 6230
relation_byte_size 3940698
set_baserel_size_estimates 404137
set_cte_size_estimates 4191
set_foreign_size_estimates 1395
set_function_size_estimates 36211
set_joinrel_size_estimates 216728
set_namedtuplestore_size_estimates 451
set_pathtarget_cost_width 481159
set_rel_width 405508
set_result_size_estimates 3887
set_subquery_size_estimates 30665
set_tablefunc_size_estimates 722
set_values_size_estimates 7236

Generated by: LCOV version 2.0-1