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 1847
Test Date: 2026-12-02 15:17:04 Functions: 100.0 % 74 74
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 88.8 % 947 841

Function Name Sort by function name Hit count Sort by function hit count
append_nonpartial_cost 23918
approx_tuple_count 626307
cached_scansel 1147696
calc_joinrel_size_estimate 228176
clamp_row_est 8603029
clamp_width_est 1556225
compute_bitmap_pages 582928
compute_gather_rows 37330
compute_semi_anti_join_factors 200612
cost_agg 74796
cost_append 63892
cost_bitmap_and_node 45609
cost_bitmap_heap_scan 468871
cost_bitmap_or_node 1700
cost_bitmap_tree_node 889317
cost_ctescan 4191
cost_functionscan 36391
cost_gather 20424
cost_gather_merge 16913
cost_group 1053
cost_incremental_sort 10654
cost_index 678340
cost_material 512934
cost_memoize_rescan 261025
cost_merge_append 9894
cost_namedtuplestorescan 445
cost_qual_eval 3800161
cost_qual_eval_node 1466917
cost_qual_eval_walker 7808999
cost_recursive_union 739
cost_rescan 2795275
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 342935
cost_sort 1584922
cost_subplan 33689
cost_subqueryscan 49728
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1595576
cost_valuesscan 7231
cost_windowagg 2727
extract_nonindex_conditions 819814
final_cost_hashjoin 354768
final_cost_mergejoin 373463
final_cost_nestloop 1210589
get_expr_width 1469431
get_foreign_key_join_selectivity 228176
get_indexpath_pages 176736
get_parallel_divisor 400398
get_parameterized_baserel_size 139525
get_parameterized_joinrel_size 11696
get_restriction_qual_cost 894422
get_windowclause_startup_tuples 2727
has_indexed_join_quals 737352
index_pages_fetched 970004
initial_cost_hashjoin 668895
initial_cost_mergejoin 1153053
initial_cost_nestloop 2795275
page_size 6246
relation_byte_size 3939022
set_baserel_size_estimates 403185
set_cte_size_estimates 4191
set_foreign_size_estimates 1394
set_function_size_estimates 36391
set_joinrel_size_estimates 216480
set_namedtuplestore_size_estimates 445
set_pathtarget_cost_width 480600
set_rel_width 404554
set_result_size_estimates 3887
set_subquery_size_estimates 30678
set_tablefunc_size_estimates 722
set_values_size_estimates 7231

Generated by: LCOV version 2.0-1