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-08-25 19:15:52 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 21829
approx_tuple_count 601347
cached_scansel 1094069
calc_joinrel_size_estimate 219858
clamp_row_est 8068966
clamp_width_est 1561695
compute_bitmap_pages 584803
compute_gather_rows 37926
compute_semi_anti_join_factors 203878
cost_agg 75018
cost_append 59125
cost_bitmap_and_node 45073
cost_bitmap_heap_scan 469226
cost_bitmap_or_node 1800
cost_bitmap_tree_node 888416
cost_ctescan 3587
cost_functionscan 35573
cost_gather 22070
cost_gather_merge 15861
cost_group 1043
cost_incremental_sort 10070
cost_index 675761
cost_material 501183
cost_memoize_rescan 194267
cost_merge_append 7392
cost_namedtuplestorescan 435
cost_qual_eval 3713310
cost_qual_eval_node 1463803
cost_qual_eval_walker 7694007
cost_recursive_union 638
cost_rescan 2575793
cost_resultscan 3751
cost_samplescan 245
cost_seqscan 346127
cost_sort 1557881
cost_subplan 32637
cost_subqueryscan 49664
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1567951
cost_valuesscan 7090
cost_windowagg 2654
extract_nonindex_conditions 815163
final_cost_hashjoin 349833
final_cost_mergejoin 352966
final_cost_nestloop 1177615
get_expr_width 1379204
get_foreign_key_join_selectivity 219858
get_indexpath_pages 176534
get_parallel_divisor 374551
get_parameterized_baserel_size 137074
get_parameterized_joinrel_size 8568
get_restriction_qual_cost 896271
get_windowclause_startup_tuples 2654
has_indexed_join_quals 740718
index_pages_fetched 963731
initial_cost_hashjoin 646534
initial_cost_mergejoin 1099074
initial_cost_nestloop 2575793
page_size 6138
relation_byte_size 3770508
set_baserel_size_estimates 403734
set_cte_size_estimates 3587
set_foreign_size_estimates 1334
set_function_size_estimates 35573
set_joinrel_size_estimates 211290
set_namedtuplestore_size_estimates 435
set_pathtarget_cost_width 475163
set_rel_width 405048
set_result_size_estimates 3686
set_subquery_size_estimates 30323
set_tablefunc_size_estimates 604
set_values_size_estimates 7090

Generated by: LCOV version 2.0-1