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-04 11:15:38 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 21425
approx_tuple_count 598018
cached_scansel 1088479
calc_joinrel_size_estimate 218095
clamp_row_est 8009264
clamp_width_est 1549226
compute_bitmap_pages 576724
compute_gather_rows 37185
compute_semi_anti_join_factors 201850
cost_agg 74769
cost_append 58314
cost_bitmap_and_node 44424
cost_bitmap_heap_scan 462948
cost_bitmap_or_node 1716
cost_bitmap_tree_node 876479
cost_ctescan 3693
cost_functionscan 35277
cost_gather 21651
cost_gather_merge 15539
cost_group 1043
cost_incremental_sort 10064
cost_index 666199
cost_material 498126
cost_memoize_rescan 193448
cost_merge_append 7392
cost_namedtuplestorescan 441
cost_qual_eval 3679711
cost_qual_eval_node 1445518
cost_qual_eval_walker 7600337
cost_recursive_union 650
cost_rescan 2558083
cost_resultscan 3686
cost_samplescan 247
cost_seqscan 341930
cost_sort 1549018
cost_subplan 32346
cost_subqueryscan 49138
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1559082
cost_valuesscan 6925
cost_windowagg 2654
extract_nonindex_conditions 803912
final_cost_hashjoin 348446
final_cost_mergejoin 350464
final_cost_nestloop 1165628
get_expr_width 1367758
get_foreign_key_join_selectivity 218095
get_indexpath_pages 173352
get_parallel_divisor 371045
get_parameterized_baserel_size 135423
get_parameterized_joinrel_size 8581
get_restriction_qual_cost 885030
get_windowclause_startup_tuples 2654
has_indexed_join_quals 732528
index_pages_fetched 950481
initial_cost_hashjoin 644275
initial_cost_mergejoin 1093484
initial_cost_nestloop 2558083
page_size 6198
relation_byte_size 3749536
set_baserel_size_estimates 399654
set_cte_size_estimates 3693
set_foreign_size_estimates 1334
set_function_size_estimates 35277
set_joinrel_size_estimates 209514
set_namedtuplestore_size_estimates 441
set_pathtarget_cost_width 471702
set_rel_width 400968
set_result_size_estimates 3621
set_subquery_size_estimates 30164
set_tablefunc_size_estimates 604
set_values_size_estimates 6925

Generated by: LCOV version 2.0-1