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 % 1859 1820
Test Date: 2026-07-07 03:15:33 Functions: 100.0 % 74 74
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 88.6 % 915 811

Function Name Sort by function name Hit count Sort by function hit count
append_nonpartial_cost 21727
approx_tuple_count 574895
cached_scansel 1030941
calc_joinrel_size_estimate 208420
clamp_row_est 7704090
clamp_width_est 1509499
compute_bitmap_pages 557240
compute_gather_rows 37643
compute_semi_anti_join_factors 175422
cost_agg 74593
cost_append 58814
cost_bitmap_and_node 41980
cost_bitmap_heap_scan 443789
cost_bitmap_or_node 1752
cost_bitmap_tree_node 835561
cost_ctescan 3497
cost_functionscan 34779
cost_gather 21888
cost_gather_merge 15760
cost_group 1053
cost_incremental_sort 9951
cost_index 652469
cost_material 478340
cost_memoize_rescan 184814
cost_merge_append 7390
cost_namedtuplestorescan 439
cost_qual_eval 3490919
cost_qual_eval_node 1424406
cost_qual_eval_walker 7334849
cost_recursive_union 633
cost_rescan 2408901
cost_resultscan 3681
cost_samplescan 245
cost_seqscan 338735
cost_sort 1473688
cost_subplan 32276
cost_subqueryscan 48947
cost_tablefuncscan 524
cost_tidrangescan 1703
cost_tidscan 636
cost_tuplesort 1483639
cost_valuesscan 6979
cost_windowagg 2574
extract_nonindex_conditions 782188
final_cost_hashjoin 335994
final_cost_mergejoin 328282
final_cost_nestloop 1080375
get_expr_width 1347470
get_foreign_key_join_selectivity 208420
get_indexpath_pages 169415
get_parallel_divisor 373690
get_parameterized_baserel_size 127189
get_parameterized_joinrel_size 8310
get_restriction_qual_cost 861838
get_windowclause_startup_tuples 2574
has_indexed_join_quals 676700
index_pages_fetched 928416
initial_cost_hashjoin 620739
initial_cost_mergejoin 1035906
initial_cost_nestloop 2408901
page_size 6130
relation_byte_size 3575409
set_baserel_size_estimates 394827
set_cte_size_estimates 3497
set_foreign_size_estimates 1268
set_function_size_estimates 34779
set_joinrel_size_estimates 200110
set_namedtuplestore_size_estimates 439
set_pathtarget_cost_width 466797
set_rel_width 396075
set_result_size_estimates 3616
set_subquery_size_estimates 29891
set_tablefunc_size_estimates 524
set_values_size_estimates 6979

Generated by: LCOV version 2.0-1