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-19 13:16:08 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 23912
approx_tuple_count 622684
cached_scansel 1146592
calc_joinrel_size_estimate 227321
clamp_row_est 8593833
clamp_width_est 1557040
compute_bitmap_pages 581944
compute_gather_rows 37259
compute_semi_anti_join_factors 201063
cost_agg 74641
cost_append 64499
cost_bitmap_and_node 45598
cost_bitmap_heap_scan 468432
cost_bitmap_or_node 1700
cost_bitmap_tree_node 887617
cost_ctescan 4142
cost_functionscan 35847
cost_gather 20378
cost_gather_merge 16888
cost_group 1048
cost_incremental_sort 10586
cost_index 678024
cost_material 511755
cost_memoize_rescan 263482
cost_merge_append 9924
cost_namedtuplestorescan 447
cost_qual_eval 3783352
cost_qual_eval_node 1463159
cost_qual_eval_walker 7775814
cost_recursive_union 718
cost_rescan 2795835
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 343051
cost_sort 1583142
cost_subplan 33614
cost_subqueryscan 49569
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1593728
cost_valuesscan 7128
cost_windowagg 2707
extract_nonindex_conditions 820068
final_cost_hashjoin 352654
final_cost_mergejoin 371193
final_cost_nestloop 1202225
get_expr_width 1468541
get_foreign_key_join_selectivity 227321
get_indexpath_pages 179885
get_parallel_divisor 400278
get_parameterized_baserel_size 140005
get_parameterized_joinrel_size 11343
get_restriction_qual_cost 893348
get_windowclause_startup_tuples 2707
has_indexed_join_quals 733467
index_pages_fetched 974947
initial_cost_hashjoin 668557
initial_cost_mergejoin 1151821
initial_cost_nestloop 2795835
page_size 6148
relation_byte_size 3931528
set_baserel_size_estimates 402441
set_cte_size_estimates 4142
set_foreign_size_estimates 1395
set_function_size_estimates 35847
set_joinrel_size_estimates 215978
set_namedtuplestore_size_estimates 447
set_pathtarget_cost_width 479480
set_rel_width 403812
set_result_size_estimates 3887
set_subquery_size_estimates 30548
set_tablefunc_size_estimates 722
set_values_size_estimates 7128

Generated by: LCOV version 2.0-1