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-11 20:16:22 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 23825
approx_tuple_count 623504
cached_scansel 1136060
calc_joinrel_size_estimate 227375
clamp_row_est 8508097
clamp_width_est 1554243
compute_bitmap_pages 578349
compute_gather_rows 37228
compute_semi_anti_join_factors 201116
cost_agg 74352
cost_append 64173
cost_bitmap_and_node 44736
cost_bitmap_heap_scan 464923
cost_bitmap_or_node 1700
cost_bitmap_tree_node 880758
cost_ctescan 4144
cost_functionscan 35833
cost_gather 20330
cost_gather_merge 16905
cost_group 1043
cost_incremental_sort 10572
cost_index 669642
cost_material 511867
cost_memoize_rescan 257162
cost_merge_append 9858
cost_namedtuplestorescan 413
cost_qual_eval 3778881
cost_qual_eval_node 1458831
cost_qual_eval_walker 7759712
cost_recursive_union 719
cost_rescan 2772720
cost_resultscan 3937
cost_samplescan 262
cost_seqscan 342653
cost_sort 1578910
cost_subplan 33587
cost_subqueryscan 49559
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1589482
cost_valuesscan 7094
cost_windowagg 2707
extract_nonindex_conditions 808943
final_cost_hashjoin 353513
final_cost_mergejoin 371667
final_cost_nestloop 1203925
get_expr_width 1460774
get_foreign_key_join_selectivity 227375
get_indexpath_pages 175075
get_parallel_divisor 399861
get_parameterized_baserel_size 137258
get_parameterized_joinrel_size 11440
get_restriction_qual_cost 889338
get_windowclause_startup_tuples 2707
has_indexed_join_quals 734750
index_pages_fetched 957793
initial_cost_hashjoin 669696
initial_cost_mergejoin 1141289
initial_cost_nestloop 2772720
page_size 6476
relation_byte_size 3918708
set_baserel_size_estimates 401981
set_cte_size_estimates 4144
set_foreign_size_estimates 1337
set_function_size_estimates 35833
set_joinrel_size_estimates 215935
set_namedtuplestore_size_estimates 413
set_pathtarget_cost_width 478509
set_rel_width 403294
set_result_size_estimates 3872
set_subquery_size_estimates 30538
set_tablefunc_size_estimates 722
set_values_size_estimates 7094

Generated by: LCOV version 2.0-1