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-28 18:15:42 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 21178
approx_tuple_count 568675
cached_scansel 1034634
calc_joinrel_size_estimate 210522
clamp_row_est 7797322
clamp_width_est 1509828
compute_bitmap_pages 570683
compute_gather_rows 36324
compute_semi_anti_join_factors 196812
cost_agg 74661
cost_append 57784
cost_bitmap_and_node 44384
cost_bitmap_heap_scan 458163
cost_bitmap_or_node 1688
cost_bitmap_tree_node 869670
cost_ctescan 4024
cost_functionscan 35084
cost_gather 21171
cost_gather_merge 15158
cost_group 1043
cost_incremental_sort 9434
cost_index 658814
cost_material 473029
cost_memoize_rescan 191051
cost_merge_append 7472
cost_namedtuplestorescan 391
cost_qual_eval 3577507
cost_qual_eval_node 1429458
cost_qual_eval_walker 7413264
cost_recursive_union 693
cost_rescan 2457080
cost_resultscan 3692
cost_samplescan 247
cost_seqscan 335234
cost_sort 1454167
cost_subplan 32362
cost_subqueryscan 48677
cost_tablefuncscan 604
cost_tidrangescan 1683
cost_tidscan 643
cost_tuplesort 1463601
cost_valuesscan 6798
cost_windowagg 2654
extract_nonindex_conditions 794883
final_cost_hashjoin 335302
final_cost_mergejoin 332537
final_cost_nestloop 1139969
get_expr_width 1356217
get_foreign_key_join_selectivity 210522
get_indexpath_pages 171833
get_parallel_divisor 369269
get_parameterized_baserel_size 133524
get_parameterized_joinrel_size 7888
get_restriction_qual_cost 873147
get_windowclause_startup_tuples 2654
has_indexed_join_quals 715828
index_pages_fetched 939648
initial_cost_hashjoin 616728
initial_cost_mergejoin 1039683
initial_cost_nestloop 2457080
page_size 5868
relation_byte_size 3559568
set_baserel_size_estimates 392703
set_cte_size_estimates 4024
set_foreign_size_estimates 1328
set_function_size_estimates 35084
set_joinrel_size_estimates 202634
set_namedtuplestore_size_estimates 391
set_pathtarget_cost_width 466724
set_rel_width 394011
set_result_size_estimates 3627
set_subquery_size_estimates 29739
set_tablefunc_size_estimates 604
set_values_size_estimates 6798

Generated by: LCOV version 2.0-1