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 % 1862 1823
Test Date: 2026-07-18 16:15:42 Functions: 100.0 % 74 74
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 88.7 % 919 815

Function Name Sort by function name Hit count Sort by function hit count
append_nonpartial_cost 21738
approx_tuple_count 603707
cached_scansel 1087023
calc_joinrel_size_estimate 218144
clamp_row_est 7999951
clamp_width_est 1545345
compute_bitmap_pages 579237
compute_gather_rows 37794
compute_semi_anti_join_factors 187125
cost_agg 74543
cost_append 58865
cost_bitmap_and_node 44701
cost_bitmap_heap_scan 464880
cost_bitmap_or_node 1772
cost_bitmap_tree_node 880402
cost_ctescan 3535
cost_functionscan 34991
cost_gather 21976
cost_gather_merge 15823
cost_group 1043
cost_incremental_sort 10015
cost_index 669062
cost_material 497752
cost_memoize_rescan 192228
cost_merge_append 7390
cost_namedtuplestorescan 439
cost_qual_eval 3684628
cost_qual_eval_node 1450490
cost_qual_eval_walker 7620127
cost_recursive_union 634
cost_rescan 2559103
cost_resultscan 3691
cost_samplescan 245
cost_seqscan 342855
cost_sort 1547743
cost_subplan 32328
cost_subqueryscan 49189
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 636
cost_tuplesort 1557758
cost_valuesscan 6996
cost_windowagg 2647
extract_nonindex_conditions 807265
final_cost_hashjoin 347175
final_cost_mergejoin 351807
final_cost_nestloop 1167943
get_expr_width 1365673
get_foreign_key_join_selectivity 218144
get_indexpath_pages 174203
get_parallel_divisor 374159
get_parameterized_baserel_size 135865
get_parameterized_joinrel_size 8816
get_restriction_qual_cost 887585
get_windowclause_startup_tuples 2647
has_indexed_join_quals 733303
index_pages_fetched 953404
initial_cost_hashjoin 642122
initial_cost_mergejoin 1091988
initial_cost_nestloop 2559103
page_size 6098
relation_byte_size 3745051
set_baserel_size_estimates 399427
set_cte_size_estimates 3535
set_foreign_size_estimates 1276
set_function_size_estimates 34991
set_joinrel_size_estimates 209328
set_namedtuplestore_size_estimates 439
set_pathtarget_cost_width 470871
set_rel_width 400683
set_result_size_estimates 3626
set_subquery_size_estimates 30066
set_tablefunc_size_estimates 604
set_values_size_estimates 6996

Generated by: LCOV version 2.0-1