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 % 1862 1823
Test Date: 2026-08-02 02:15:47 Functions: 100.0 % 74 74
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 88.7 % 919 815

Function Name Sort by function name Hit count Sort by function hit count
append_nonpartial_cost 21789
approx_tuple_count 604111
cached_scansel 1087868
calc_joinrel_size_estimate 218319
clamp_row_est 8020244
clamp_width_est 1547816
compute_bitmap_pages 580630
compute_gather_rows 37852
compute_semi_anti_join_factors 187496
cost_agg 74722
cost_append 58987
cost_bitmap_and_node 44804
cost_bitmap_heap_scan 465996
cost_bitmap_or_node 1772
cost_bitmap_tree_node 882485
cost_ctescan 3536
cost_functionscan 35198
cost_gather 22022
cost_gather_merge 15835
cost_group 1043
cost_incremental_sort 10029
cost_index 670701
cost_material 498271
cost_memoize_rescan 192148
cost_merge_append 7390
cost_namedtuplestorescan 435
cost_qual_eval 3694968
cost_qual_eval_node 1453604
cost_qual_eval_walker 7643137
cost_recursive_union 634
cost_rescan 2559397
cost_resultscan 3721
cost_samplescan 245
cost_seqscan 343583
cost_sort 1548462
cost_subplan 32416
cost_subqueryscan 49292
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 636
cost_tuplesort 1558491
cost_valuesscan 7005
cost_windowagg 2647
extract_nonindex_conditions 809197
final_cost_hashjoin 349747
final_cost_mergejoin 351610
final_cost_nestloop 1170919
get_expr_width 1367611
get_foreign_key_join_selectivity 218319
get_indexpath_pages 174570
get_parallel_divisor 374408
get_parameterized_baserel_size 136128
get_parameterized_joinrel_size 8704
get_restriction_qual_cost 889735
get_windowclause_startup_tuples 2647
has_indexed_join_quals 736915
index_pages_fetched 955587
initial_cost_hashjoin 644629
initial_cost_mergejoin 1092833
initial_cost_nestloop 2559397
page_size 6098
relation_byte_size 3750025
set_baserel_size_estimates 400394
set_cte_size_estimates 3536
set_foreign_size_estimates 1276
set_function_size_estimates 35198
set_joinrel_size_estimates 209615
set_namedtuplestore_size_estimates 435
set_pathtarget_cost_width 471592
set_rel_width 401649
set_result_size_estimates 3656
set_subquery_size_estimates 30109
set_tablefunc_size_estimates 604
set_values_size_estimates 7005

Generated by: LCOV version 2.0-1