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 % 1864 1825
Test Date: 2026-08-23 01:15:33 Functions: 100.0 % 74 74
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 88.7 % 921 817

Function Name Sort by function name Hit count Sort by function hit count
append_nonpartial_cost 21821
approx_tuple_count 608205
cached_scansel 1093882
calc_joinrel_size_estimate 219875
clamp_row_est 8058745
clamp_width_est 1557506
compute_bitmap_pages 583908
compute_gather_rows 37892
compute_semi_anti_join_factors 188686
cost_agg 74999
cost_append 59108
cost_bitmap_and_node 45074
cost_bitmap_heap_scan 468711
cost_bitmap_or_node 1800
cost_bitmap_tree_node 888027
cost_ctescan 3581
cost_functionscan 35434
cost_gather 22052
cost_gather_merge 15845
cost_group 1043
cost_incremental_sort 10019
cost_index 674799
cost_material 500581
cost_memoize_rescan 192902
cost_merge_append 7392
cost_namedtuplestorescan 431
cost_qual_eval 3717087
cost_qual_eval_node 1462096
cost_qual_eval_walker 7687985
cost_recursive_union 638
cost_rescan 2574513
cost_resultscan 3751
cost_samplescan 245
cost_seqscan 345554
cost_sort 1557526
cost_subplan 32628
cost_subqueryscan 49631
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1567545
cost_valuesscan 7085
cost_windowagg 2649
extract_nonindex_conditions 814189
final_cost_hashjoin 350022
final_cost_mergejoin 354597
final_cost_nestloop 1179410
get_expr_width 1376195
get_foreign_key_join_selectivity 219875
get_indexpath_pages 175268
get_parallel_divisor 374397
get_parameterized_baserel_size 136944
get_parameterized_joinrel_size 8945
get_restriction_qual_cost 895003
get_windowclause_startup_tuples 2649
has_indexed_join_quals 741592
index_pages_fetched 960917
initial_cost_hashjoin 645539
initial_cost_mergejoin 1098887
initial_cost_nestloop 2574513
page_size 6084
relation_byte_size 3769097
set_baserel_size_estimates 402983
set_cte_size_estimates 3581
set_foreign_size_estimates 1333
set_function_size_estimates 35434
set_joinrel_size_estimates 210930
set_namedtuplestore_size_estimates 431
set_pathtarget_cost_width 474220
set_rel_width 404296
set_result_size_estimates 3686
set_subquery_size_estimates 30291
set_tablefunc_size_estimates 604
set_values_size_estimates 7085

Generated by: LCOV version 2.0-1