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-09-13 17:15:43 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 21282
approx_tuple_count 563394
cached_scansel 1022617
calc_joinrel_size_estimate 208671
clamp_row_est 7730273
clamp_width_est 1509050
compute_bitmap_pages 570063
compute_gather_rows 36466
compute_semi_anti_join_factors 194556
cost_agg 74685
cost_append 58009
cost_bitmap_and_node 44236
cost_bitmap_heap_scan 457417
cost_bitmap_or_node 1686
cost_bitmap_tree_node 868172
cost_ctescan 3652
cost_functionscan 35066
cost_gather 21200
cost_gather_merge 15271
cost_group 1043
cost_incremental_sort 9376
cost_index 656727
cost_material 468518
cost_memoize_rescan 188128
cost_merge_append 7472
cost_namedtuplestorescan 435
cost_qual_eval 3549404
cost_qual_eval_node 1433510
cost_qual_eval_walker 7389174
cost_recursive_union 634
cost_rescan 2430565
cost_resultscan 3686
cost_samplescan 247
cost_seqscan 336072
cost_sort 1440173
cost_subplan 32232
cost_subqueryscan 48157
cost_tablefuncscan 604
cost_tidrangescan 1698
cost_tidscan 643
cost_tuplesort 1449549
cost_valuesscan 6830
cost_windowagg 2654
extract_nonindex_conditions 791503
final_cost_hashjoin 330901
final_cost_mergejoin 329139
final_cost_nestloop 1130384
get_expr_width 1353493
get_foreign_key_join_selectivity 208671
get_indexpath_pages 170328
get_parallel_divisor 369764
get_parameterized_baserel_size 132377
get_parameterized_joinrel_size 7792
get_restriction_qual_cost 872919
get_windowclause_startup_tuples 2654
has_indexed_join_quals 708381
index_pages_fetched 934035
initial_cost_hashjoin 610308
initial_cost_mergejoin 1027622
initial_cost_nestloop 2430565
page_size 5830
relation_byte_size 3522535
set_baserel_size_estimates 392649
set_cte_size_estimates 3652
set_foreign_size_estimates 1334
set_function_size_estimates 35066
set_joinrel_size_estimates 200879
set_namedtuplestore_size_estimates 435
set_pathtarget_cost_width 468873
set_rel_width 393963
set_result_size_estimates 3621
set_subquery_size_estimates 29223
set_tablefunc_size_estimates 604
set_values_size_estimates 6830

Generated by: LCOV version 2.0-1