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-20 04:15:51 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 21188
approx_tuple_count 566765
cached_scansel 1022376
calc_joinrel_size_estimate 209212
clamp_row_est 7736627
clamp_width_est 1497441
compute_bitmap_pages 568375
compute_gather_rows 36316
compute_semi_anti_join_factors 194537
cost_agg 74589
cost_append 57733
cost_bitmap_and_node 44193
cost_bitmap_heap_scan 455980
cost_bitmap_or_node 1686
cost_bitmap_tree_node 866588
cost_ctescan 3646
cost_functionscan 34976
cost_gather 21165
cost_gather_merge 15156
cost_group 1043
cost_incremental_sort 9329
cost_index 655174
cost_material 468478
cost_memoize_rescan 186701
cost_merge_append 7472
cost_namedtuplestorescan 397
cost_qual_eval 3558743
cost_qual_eval_node 1422977
cost_qual_eval_walker 7377309
cost_recursive_union 636
cost_rescan 2430914
cost_resultscan 3686
cost_samplescan 247
cost_seqscan 334176
cost_sort 1439063
cost_subplan 32205
cost_subqueryscan 48086
cost_tablefuncscan 619
cost_tidrangescan 1698
cost_tidscan 643
cost_tuplesort 1448392
cost_valuesscan 6792
cost_windowagg 2654
extract_nonindex_conditions 789919
final_cost_hashjoin 333752
final_cost_mergejoin 331435
final_cost_nestloop 1133158
get_expr_width 1340968
get_foreign_key_join_selectivity 209212
get_indexpath_pages 168870
get_parallel_divisor 369326
get_parameterized_baserel_size 132374
get_parameterized_joinrel_size 8293
get_restriction_qual_cost 869339
get_windowclause_startup_tuples 2654
has_indexed_join_quals 709022
index_pages_fetched 930553
initial_cost_hashjoin 611534
initial_cost_mergejoin 1027401
initial_cost_nestloop 2430914
page_size 5818
relation_byte_size 3524596
set_baserel_size_estimates 390631
set_cte_size_estimates 3646
set_foreign_size_estimates 1327
set_function_size_estimates 34976
set_joinrel_size_estimates 200919
set_namedtuplestore_size_estimates 397
set_pathtarget_cost_width 463811
set_rel_width 391938
set_result_size_estimates 3621
set_subquery_size_estimates 29213
set_tablefunc_size_estimates 619
set_values_size_estimates 6792

Generated by: LCOV version 2.0-1