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-11-28 17:16:09 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 23942
approx_tuple_count 625935
cached_scansel 1148708
calc_joinrel_size_estimate 228238
clamp_row_est 8606136
clamp_width_est 1561112
compute_bitmap_pages 583545
compute_gather_rows 37347
compute_semi_anti_join_factors 201330
cost_agg 74764
cost_append 64589
cost_bitmap_and_node 45708
cost_bitmap_heap_scan 469621
cost_bitmap_or_node 1700
cost_bitmap_tree_node 889754
cost_ctescan 4200
cost_functionscan 36061
cost_gather 20436
cost_gather_merge 16918
cost_group 1053
cost_incremental_sort 10652
cost_index 679509
cost_material 513088
cost_memoize_rescan 263905
cost_merge_append 9916
cost_namedtuplestorescan 445
cost_qual_eval 3801265
cost_qual_eval_node 1466499
cost_qual_eval_walker 7809063
cost_recursive_union 739
cost_rescan 2803800
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 343990
cost_sort 1586014
cost_subplan 33688
cost_subqueryscan 49726
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1596666
cost_valuesscan 7230
cost_windowagg 2717
extract_nonindex_conditions 821724
final_cost_hashjoin 354026
final_cost_mergejoin 373440
final_cost_nestloop 1209992
get_expr_width 1472267
get_foreign_key_join_selectivity 228238
get_indexpath_pages 180063
get_parallel_divisor 400587
get_parameterized_baserel_size 140293
get_parameterized_joinrel_size 11624
get_restriction_qual_cost 895900
get_windowclause_startup_tuples 2717
has_indexed_join_quals 738369
index_pages_fetched 976720
initial_cost_hashjoin 669166
initial_cost_mergejoin 1154065
initial_cost_nestloop 2803800
page_size 6242
relation_byte_size 3941870
set_baserel_size_estimates 403831
set_cte_size_estimates 4200
set_foreign_size_estimates 1395
set_function_size_estimates 36061
set_joinrel_size_estimates 216614
set_namedtuplestore_size_estimates 445
set_pathtarget_cost_width 480844
set_rel_width 405202
set_result_size_estimates 3887
set_subquery_size_estimates 30675
set_tablefunc_size_estimates 722
set_values_size_estimates 7230

Generated by: LCOV version 2.0-1