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-12 09: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 23841
approx_tuple_count 624648
cached_scansel 1136536
calc_joinrel_size_estimate 227969
clamp_row_est 8517016
clamp_width_est 1557558
compute_bitmap_pages 579475
compute_gather_rows 37231
compute_semi_anti_join_factors 201143
cost_agg 74424
cost_append 64214
cost_bitmap_and_node 44779
cost_bitmap_heap_scan 465673
cost_bitmap_or_node 1700
cost_bitmap_tree_node 882012
cost_ctescan 4151
cost_functionscan 36101
cost_gather 20333
cost_gather_merge 16905
cost_group 1043
cost_incremental_sort 10571
cost_index 670432
cost_material 512510
cost_memoize_rescan 256544
cost_merge_append 9858
cost_namedtuplestorescan 413
cost_qual_eval 3789421
cost_qual_eval_node 1462689
cost_qual_eval_walker 7787819
cost_recursive_union 719
cost_rescan 2774109
cost_resultscan 3937
cost_samplescan 262
cost_seqscan 343277
cost_sort 1579706
cost_subplan 33593
cost_subqueryscan 49572
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1590277
cost_valuesscan 7096
cost_windowagg 2707
extract_nonindex_conditions 809763
final_cost_hashjoin 354058
final_cost_mergejoin 372971
final_cost_nestloop 1209084
get_expr_width 1461971
get_foreign_key_join_selectivity 227969
get_indexpath_pages 175262
get_parallel_divisor 399974
get_parameterized_baserel_size 137452
get_parameterized_joinrel_size 11572
get_restriction_qual_cost 891001
get_windowclause_startup_tuples 2707
has_indexed_join_quals 738633
index_pages_fetched 958719
initial_cost_hashjoin 668553
initial_cost_mergejoin 1141765
initial_cost_nestloop 2774109
page_size 6472
relation_byte_size 3921714
set_baserel_size_estimates 402878
set_cte_size_estimates 4151
set_foreign_size_estimates 1336
set_function_size_estimates 36101
set_joinrel_size_estimates 216397
set_namedtuplestore_size_estimates 413
set_pathtarget_cost_width 479810
set_rel_width 404190
set_result_size_estimates 3872
set_subquery_size_estimates 30549
set_tablefunc_size_estimates 722
set_values_size_estimates 7096

Generated by: LCOV version 2.0-1