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-09 05:15:58 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 23808
approx_tuple_count 614682
cached_scansel 1104202
calc_joinrel_size_estimate 223827
clamp_row_est 8338320
clamp_width_est 1528469
compute_bitmap_pages 571783
compute_gather_rows 37076
compute_semi_anti_join_factors 197293
cost_agg 74099
cost_append 63974
cost_bitmap_and_node 44451
cost_bitmap_heap_scan 459375
cost_bitmap_or_node 1688
cost_bitmap_tree_node 871392
cost_ctescan 4025
cost_functionscan 35202
cost_gather 20266
cost_gather_merge 16817
cost_group 1043
cost_incremental_sort 10391
cost_index 660385
cost_material 502184
cost_memoize_rescan 248500
cost_merge_append 9856
cost_namedtuplestorescan 395
cost_qual_eval 3712653
cost_qual_eval_node 1436859
cost_qual_eval_walker 7635911
cost_recursive_union 693
cost_rescan 2706721
cost_resultscan 3917
cost_samplescan 262
cost_seqscan 338003
cost_sort 1540266
cost_subplan 32813
cost_subqueryscan 49005
cost_tablefuncscan 717
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1550657
cost_valuesscan 6994
cost_windowagg 2703
extract_nonindex_conditions 797206
final_cost_hashjoin 347404
final_cost_mergejoin 365884
final_cost_nestloop 1177735
get_expr_width 1428612
get_foreign_key_join_selectivity 223827
get_indexpath_pages 172345
get_parallel_divisor 399746
get_parameterized_baserel_size 134857
get_parameterized_joinrel_size 11417
get_restriction_qual_cost 877890
get_windowclause_startup_tuples 2703
has_indexed_join_quals 715555
index_pages_fetched 942713
initial_cost_hashjoin 652060
initial_cost_mergejoin 1109331
initial_cost_nestloop 2706721
page_size 6188
relation_byte_size 3830821
set_baserel_size_estimates 395921
set_cte_size_estimates 4025
set_foreign_size_estimates 1334
set_function_size_estimates 35202
set_joinrel_size_estimates 212410
set_namedtuplestore_size_estimates 395
set_pathtarget_cost_width 471145
set_rel_width 397235
set_result_size_estimates 3852
set_subquery_size_estimates 29998
set_tablefunc_size_estimates 717
set_values_size_estimates 6994

Generated by: LCOV version 2.0-1