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-13 13:16:15 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 624319
cached_scansel 1145722
calc_joinrel_size_estimate 227450
clamp_row_est 8598423
clamp_width_est 1554365
compute_bitmap_pages 582080
compute_gather_rows 37279
compute_semi_anti_join_factors 200989
cost_agg 74574
cost_append 64403
cost_bitmap_and_node 45693
cost_bitmap_heap_scan 468655
cost_bitmap_or_node 1700
cost_bitmap_tree_node 888395
cost_ctescan 4133
cost_functionscan 35803
cost_gather 20381
cost_gather_merge 16905
cost_group 1048
cost_incremental_sort 10549
cost_index 677746
cost_material 511573
cost_memoize_rescan 262471
cost_merge_append 9858
cost_namedtuplestorescan 411
cost_qual_eval 3790215
cost_qual_eval_node 1463055
cost_qual_eval_walker 7787517
cost_recursive_union 718
cost_rescan 2792614
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 342803
cost_sort 1581970
cost_subplan 33551
cost_subqueryscan 49539
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1592519
cost_valuesscan 7094
cost_windowagg 2707
extract_nonindex_conditions 819751
final_cost_hashjoin 353936
final_cost_mergejoin 372681
final_cost_nestloop 1204245
get_expr_width 1466610
get_foreign_key_join_selectivity 227450
get_indexpath_pages 179636
get_parallel_divisor 400241
get_parameterized_baserel_size 139953
get_parameterized_joinrel_size 11581
get_restriction_qual_cost 893174
get_windowclause_startup_tuples 2707
has_indexed_join_quals 735029
index_pages_fetched 973914
initial_cost_hashjoin 667876
initial_cost_mergejoin 1150951
initial_cost_nestloop 2792614
page_size 6132
relation_byte_size 3931155
set_baserel_size_estimates 402003
set_cte_size_estimates 4133
set_foreign_size_estimates 1336
set_function_size_estimates 35803
set_joinrel_size_estimates 215869
set_namedtuplestore_size_estimates 411
set_pathtarget_cost_width 479125
set_rel_width 403315
set_result_size_estimates 3887
set_subquery_size_estimates 30518
set_tablefunc_size_estimates 722
set_values_size_estimates 7094

Generated by: LCOV version 2.0-1