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-18 12:16:11 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 23929
approx_tuple_count 624059
cached_scansel 1147831
calc_joinrel_size_estimate 227687
clamp_row_est 8601266
clamp_width_est 1557774
compute_bitmap_pages 583436
compute_gather_rows 37291
compute_semi_anti_join_factors 201192
cost_agg 74648
cost_append 64524
cost_bitmap_and_node 45740
cost_bitmap_heap_scan 469564
cost_bitmap_or_node 1700
cost_bitmap_tree_node 890043
cost_ctescan 4150
cost_functionscan 35955
cost_gather 20396
cost_gather_merge 16902
cost_group 1048
cost_incremental_sort 10617
cost_index 679084
cost_material 512550
cost_memoize_rescan 262009
cost_merge_append 9924
cost_namedtuplestorescan 417
cost_qual_eval 3792663
cost_qual_eval_node 1465689
cost_qual_eval_walker 7799101
cost_recursive_union 719
cost_rescan 2794095
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 343605
cost_sort 1584311
cost_subplan 33595
cost_subqueryscan 49592
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1594928
cost_valuesscan 7110
cost_windowagg 2707
extract_nonindex_conditions 821214
final_cost_hashjoin 353903
final_cost_mergejoin 372243
final_cost_nestloop 1205279
get_expr_width 1468379
get_foreign_key_join_selectivity 227687
get_indexpath_pages 179344
get_parallel_divisor 400439
get_parameterized_baserel_size 140195
get_parameterized_joinrel_size 11342
get_restriction_qual_cost 895123
get_windowclause_startup_tuples 2707
has_indexed_join_quals 734580
index_pages_fetched 974816
initial_cost_hashjoin 668952
initial_cost_mergejoin 1153060
initial_cost_nestloop 2794095
page_size 6180
relation_byte_size 3935283
set_baserel_size_estimates 403065
set_cte_size_estimates 4150
set_foreign_size_estimates 1395
set_function_size_estimates 35955
set_joinrel_size_estimates 216345
set_namedtuplestore_size_estimates 417
set_pathtarget_cost_width 480092
set_rel_width 404436
set_result_size_estimates 3887
set_subquery_size_estimates 30569
set_tablefunc_size_estimates 722
set_values_size_estimates 7110

Generated by: LCOV version 2.0-1