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-06 14:16:02 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 23807
approx_tuple_count 615562
cached_scansel 1102476
calc_joinrel_size_estimate 223833
clamp_row_est 8344481
clamp_width_est 1526927
compute_bitmap_pages 571633
compute_gather_rows 37081
compute_semi_anti_join_factors 197111
cost_agg 74101
cost_append 63970
cost_bitmap_and_node 44438
cost_bitmap_heap_scan 459212
cost_bitmap_or_node 1688
cost_bitmap_tree_node 871336
cost_ctescan 4014
cost_functionscan 35218
cost_gather 20273
cost_gather_merge 16815
cost_group 1043
cost_incremental_sort 10359
cost_index 660136
cost_material 501670
cost_memoize_rescan 247571
cost_merge_append 9856
cost_namedtuplestorescan 395
cost_qual_eval 3719239
cost_qual_eval_node 1436174
cost_qual_eval_walker 7642955
cost_recursive_union 692
cost_rescan 2703047
cost_resultscan 3917
cost_samplescan 262
cost_seqscan 337945
cost_sort 1538176
cost_subplan 32787
cost_subqueryscan 48971
cost_tablefuncscan 717
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1548535
cost_valuesscan 6992
cost_windowagg 2703
extract_nonindex_conditions 796848
final_cost_hashjoin 349752
final_cost_mergejoin 366518
final_cost_nestloop 1178854
get_expr_width 1426912
get_foreign_key_join_selectivity 223833
get_indexpath_pages 171978
get_parallel_divisor 399776
get_parameterized_baserel_size 134753
get_parameterized_joinrel_size 11574
get_restriction_qual_cost 877640
get_windowclause_startup_tuples 2703
has_indexed_join_quals 716364
index_pages_fetched 941851
initial_cost_hashjoin 652860
initial_cost_mergejoin 1107605
initial_cost_nestloop 2703047
page_size 6150
relation_byte_size 3829266
set_baserel_size_estimates 395825
set_cte_size_estimates 4014
set_foreign_size_estimates 1334
set_function_size_estimates 35218
set_joinrel_size_estimates 212259
set_namedtuplestore_size_estimates 395
set_pathtarget_cost_width 470809
set_rel_width 397138
set_result_size_estimates 3852
set_subquery_size_estimates 29964
set_tablefunc_size_estimates 717
set_values_size_estimates 6992

Generated by: LCOV version 2.0-1