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 02:15:57 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 23792
approx_tuple_count 615234
cached_scansel 1104008
calc_joinrel_size_estimate 223959
clamp_row_est 8338804
clamp_width_est 1527773
compute_bitmap_pages 571731
compute_gather_rows 37060
compute_semi_anti_join_factors 197283
cost_agg 74053
cost_append 63944
cost_bitmap_and_node 44450
cost_bitmap_heap_scan 459354
cost_bitmap_or_node 1688
cost_bitmap_tree_node 871508
cost_ctescan 4026
cost_functionscan 35202
cost_gather 20258
cost_gather_merge 16809
cost_group 1043
cost_incremental_sort 10367
cost_index 660336
cost_material 502135
cost_memoize_rescan 248174
cost_merge_append 9856
cost_namedtuplestorescan 391
cost_qual_eval 3713913
cost_qual_eval_node 1436435
cost_qual_eval_walker 7636392
cost_recursive_union 693
cost_rescan 2706968
cost_resultscan 3917
cost_samplescan 262
cost_seqscan 337960
cost_sort 1540389
cost_subplan 32801
cost_subqueryscan 48994
cost_tablefuncscan 697
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1550756
cost_valuesscan 6969
cost_windowagg 2693
extract_nonindex_conditions 797154
final_cost_hashjoin 347697
final_cost_mergejoin 366390
final_cost_nestloop 1177553
get_expr_width 1427736
get_foreign_key_join_selectivity 223959
get_indexpath_pages 172178
get_parallel_divisor 399627
get_parameterized_baserel_size 134855
get_parameterized_joinrel_size 11553
get_restriction_qual_cost 877769
get_windowclause_startup_tuples 2693
has_indexed_join_quals 714926
index_pages_fetched 942387
initial_cost_hashjoin 651547
initial_cost_mergejoin 1109137
initial_cost_nestloop 2706968
page_size 6166
relation_byte_size 3831027
set_baserel_size_estimates 395832
set_cte_size_estimates 4026
set_foreign_size_estimates 1334
set_function_size_estimates 35202
set_joinrel_size_estimates 212406
set_namedtuplestore_size_estimates 391
set_pathtarget_cost_width 470565
set_rel_width 397146
set_result_size_estimates 3852
set_subquery_size_estimates 29987
set_tablefunc_size_estimates 697
set_values_size_estimates 6969

Generated by: LCOV version 2.0-1