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-27 00:16:07 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 23926
approx_tuple_count 625936
cached_scansel 1148843
calc_joinrel_size_estimate 228723
clamp_row_est 8628055
clamp_width_est 1562996
compute_bitmap_pages 584464
compute_gather_rows 37351
compute_semi_anti_join_factors 201363
cost_agg 74725
cost_append 64550
cost_bitmap_and_node 45689
cost_bitmap_heap_scan 470149
cost_bitmap_or_node 1700
cost_bitmap_tree_node 890773
cost_ctescan 4207
cost_functionscan 36257
cost_gather 20435
cost_gather_merge 16923
cost_group 1053
cost_incremental_sort 10614
cost_index 680546
cost_material 513780
cost_memoize_rescan 263332
cost_merge_append 9916
cost_namedtuplestorescan 441
cost_qual_eval 3804027
cost_qual_eval_node 1469799
cost_qual_eval_walker 7822979
cost_recursive_union 739
cost_rescan 2801922
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 344528
cost_sort 1586152
cost_subplan 33683
cost_subqueryscan 49737
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1596766
cost_valuesscan 7232
cost_windowagg 2717
extract_nonindex_conditions 822786
final_cost_hashjoin 355290
final_cost_mergejoin 373635
final_cost_nestloop 1208314
get_expr_width 1472793
get_foreign_key_join_selectivity 228723
get_indexpath_pages 179793
get_parallel_divisor 400500
get_parameterized_baserel_size 140495
get_parameterized_joinrel_size 11690
get_restriction_qual_cost 897178
get_windowclause_startup_tuples 2717
has_indexed_join_quals 736090
index_pages_fetched 977209
initial_cost_hashjoin 669772
initial_cost_mergejoin 1154200
initial_cost_nestloop 2801922
page_size 6202
relation_byte_size 3943629
set_baserel_size_estimates 404597
set_cte_size_estimates 4207
set_foreign_size_estimates 1395
set_function_size_estimates 36257
set_joinrel_size_estimates 217033
set_namedtuplestore_size_estimates 441
set_pathtarget_cost_width 481107
set_rel_width 405968
set_result_size_estimates 3887
set_subquery_size_estimates 30684
set_tablefunc_size_estimates 722
set_values_size_estimates 7232

Generated by: LCOV version 2.0-1