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-09-17 06:15:43 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 21153
approx_tuple_count 567074
cached_scansel 1023510
calc_joinrel_size_estimate 208948
clamp_row_est 7735390
clamp_width_est 1494535
compute_bitmap_pages 567760
compute_gather_rows 36261
compute_semi_anti_join_factors 194641
cost_agg 74549
cost_append 57641
cost_bitmap_and_node 44202
cost_bitmap_heap_scan 455684
cost_bitmap_or_node 1686
cost_bitmap_tree_node 866143
cost_ctescan 3642
cost_functionscan 34862
cost_gather 21121
cost_gather_merge 15145
cost_group 1043
cost_incremental_sort 9342
cost_index 654540
cost_material 468356
cost_memoize_rescan 187036
cost_merge_append 7469
cost_namedtuplestorescan 395
cost_qual_eval 3556975
cost_qual_eval_node 1419829
cost_qual_eval_walker 7370179
cost_recursive_union 637
cost_rescan 2431937
cost_resultscan 3676
cost_samplescan 247
cost_seqscan 333536
cost_sort 1440375
cost_subplan 32180
cost_subqueryscan 48077
cost_tablefuncscan 604
cost_tidrangescan 1698
cost_tidscan 643
cost_tuplesort 1449717
cost_valuesscan 6791
cost_windowagg 2654
extract_nonindex_conditions 789342
final_cost_hashjoin 333572
final_cost_mergejoin 331639
final_cost_nestloop 1132491
get_expr_width 1338777
get_foreign_key_join_selectivity 208948
get_indexpath_pages 168642
get_parallel_divisor 369071
get_parameterized_baserel_size 132289
get_parameterized_joinrel_size 8270
get_restriction_qual_cost 868264
get_windowclause_startup_tuples 2654
has_indexed_join_quals 709349
index_pages_fetched 929545
initial_cost_hashjoin 610124
initial_cost_mergejoin 1028515
initial_cost_nestloop 2431937
page_size 5828
relation_byte_size 3526375
set_baserel_size_estimates 389905
set_cte_size_estimates 3642
set_foreign_size_estimates 1327
set_function_size_estimates 34862
set_joinrel_size_estimates 200678
set_namedtuplestore_size_estimates 395
set_pathtarget_cost_width 462419
set_rel_width 391212
set_result_size_estimates 3611
set_subquery_size_estimates 29204
set_tablefunc_size_estimates 604
set_values_size_estimates 6791

Generated by: LCOV version 2.0-1