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-16 08:16:03 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 23912
approx_tuple_count 627124
cached_scansel 1146421
calc_joinrel_size_estimate 228235
clamp_row_est 8610525
clamp_width_est 1556064
compute_bitmap_pages 582442
compute_gather_rows 37289
compute_semi_anti_join_factors 201044
cost_agg 74611
cost_append 64425
cost_bitmap_and_node 45479
cost_bitmap_heap_scan 468518
cost_bitmap_or_node 1700
cost_bitmap_tree_node 888295
cost_ctescan 4148
cost_functionscan 36004
cost_gather 20393
cost_gather_merge 16903
cost_group 1048
cost_incremental_sort 10570
cost_index 679003
cost_material 512290
cost_memoize_rescan 261444
cost_merge_append 9858
cost_namedtuplestorescan 411
cost_qual_eval 3803816
cost_qual_eval_node 1467273
cost_qual_eval_walker 7816533
cost_recursive_union 718
cost_rescan 2794242
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 343564
cost_sort 1582786
cost_subplan 33573
cost_subqueryscan 49564
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1593356
cost_valuesscan 7095
cost_windowagg 2707
extract_nonindex_conditions 821039
final_cost_hashjoin 355580
final_cost_mergejoin 374674
final_cost_nestloop 1209456
get_expr_width 1467684
get_foreign_key_join_selectivity 228235
get_indexpath_pages 177375
get_parallel_divisor 400349
get_parameterized_baserel_size 140163
get_parameterized_joinrel_size 11935
get_restriction_qual_cost 894034
get_windowclause_startup_tuples 2707
has_indexed_join_quals 737249
index_pages_fetched 972978
initial_cost_hashjoin 667702
initial_cost_mergejoin 1151650
initial_cost_nestloop 2794242
page_size 6136
relation_byte_size 3936208
set_baserel_size_estimates 402987
set_cte_size_estimates 4148
set_foreign_size_estimates 1336
set_function_size_estimates 36004
set_joinrel_size_estimates 216300
set_namedtuplestore_size_estimates 411
set_pathtarget_cost_width 479807
set_rel_width 404299
set_result_size_estimates 3887
set_subquery_size_estimates 30541
set_tablefunc_size_estimates 722
set_values_size_estimates 7095

Generated by: LCOV version 2.0-1