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-25 23:15:56 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 23925
approx_tuple_count 625824
cached_scansel 1147357
calc_joinrel_size_estimate 228257
clamp_row_est 8609075
clamp_width_est 1556702
compute_bitmap_pages 583747
compute_gather_rows 37317
compute_semi_anti_join_factors 201192
cost_agg 74750
cost_append 64558
cost_bitmap_and_node 45800
cost_bitmap_heap_scan 469841
cost_bitmap_or_node 1700
cost_bitmap_tree_node 890460
cost_ctescan 4198
cost_functionscan 36074
cost_gather 20416
cost_gather_merge 16908
cost_group 1053
cost_incremental_sort 10583
cost_index 679230
cost_material 512692
cost_memoize_rescan 262902
cost_merge_append 9916
cost_namedtuplestorescan 447
cost_qual_eval 3800215
cost_qual_eval_node 1461713
cost_qual_eval_walker 7805843
cost_recursive_union 738
cost_rescan 2797466
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 343837
cost_sort 1584574
cost_subplan 33665
cost_subqueryscan 49711
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1595157
cost_valuesscan 7224
cost_windowagg 2717
extract_nonindex_conditions 821357
final_cost_hashjoin 353555
final_cost_mergejoin 373624
final_cost_nestloop 1209769
get_expr_width 1464853
get_foreign_key_join_selectivity 228257
get_indexpath_pages 179823
get_parallel_divisor 400406
get_parameterized_baserel_size 140207
get_parameterized_joinrel_size 11759
get_restriction_qual_cost 895961
get_windowclause_startup_tuples 2717
has_indexed_join_quals 738376
index_pages_fetched 975503
initial_cost_hashjoin 667575
initial_cost_mergejoin 1152714
initial_cost_nestloop 2797466
page_size 6220
relation_byte_size 3937740
set_baserel_size_estimates 403691
set_cte_size_estimates 4198
set_foreign_size_estimates 1395
set_function_size_estimates 36074
set_joinrel_size_estimates 216498
set_namedtuplestore_size_estimates 447
set_pathtarget_cost_width 477662
set_rel_width 405062
set_result_size_estimates 3887
set_subquery_size_estimates 30658
set_tablefunc_size_estimates 722
set_values_size_estimates 7224

Generated by: LCOV version 2.0-1