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-07 03:15:48 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 23776
approx_tuple_count 615545
cached_scansel 1104121
calc_joinrel_size_estimate 223835
clamp_row_est 8341758
clamp_width_est 1527216
compute_bitmap_pages 571753
compute_gather_rows 37063
compute_semi_anti_join_factors 197262
cost_agg 74076
cost_append 63910
cost_bitmap_and_node 44445
cost_bitmap_heap_scan 459338
cost_bitmap_or_node 1688
cost_bitmap_tree_node 871452
cost_ctescan 4025
cost_functionscan 35209
cost_gather 20256
cost_gather_merge 16814
cost_group 1043
cost_incremental_sort 10349
cost_index 660351
cost_material 502109
cost_memoize_rescan 247874
cost_merge_append 9856
cost_namedtuplestorescan 393
cost_qual_eval 3716274
cost_qual_eval_node 1433740
cost_qual_eval_walker 7637728
cost_recursive_union 693
cost_rescan 2705740
cost_resultscan 3917
cost_samplescan 262
cost_seqscan 337959
cost_sort 1540209
cost_subplan 32829
cost_subqueryscan 49004
cost_tablefuncscan 717
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1550558
cost_valuesscan 6996
cost_windowagg 2703
extract_nonindex_conditions 797155
final_cost_hashjoin 348503
final_cost_mergejoin 366673
final_cost_nestloop 1177631
get_expr_width 1424916
get_foreign_key_join_selectivity 223835
get_indexpath_pages 172307
get_parallel_divisor 399546
get_parameterized_baserel_size 134839
get_parameterized_joinrel_size 11443
get_restriction_qual_cost 877812
get_windowclause_startup_tuples 2703
has_indexed_join_quals 715652
index_pages_fetched 942519
initial_cost_hashjoin 653369
initial_cost_mergejoin 1109250
initial_cost_nestloop 2705740
page_size 6150
relation_byte_size 3831338
set_baserel_size_estimates 395915
set_cte_size_estimates 4025
set_foreign_size_estimates 1335
set_function_size_estimates 35209
set_joinrel_size_estimates 212392
set_namedtuplestore_size_estimates 393
set_pathtarget_cost_width 469389
set_rel_width 397230
set_result_size_estimates 3852
set_subquery_size_estimates 29994
set_tablefunc_size_estimates 717
set_values_size_estimates 6996

Generated by: LCOV version 2.0-1