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-10-23 05:16:06 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 21253
approx_tuple_count 571063
cached_scansel 1035771
calc_joinrel_size_estimate 211910
clamp_row_est 7819195
clamp_width_est 1513852
compute_bitmap_pages 570981
compute_gather_rows 36597
compute_semi_anti_join_factors 196837
cost_agg 75818
cost_append 58234
cost_bitmap_and_node 44373
cost_bitmap_heap_scan 458403
cost_bitmap_or_node 1688
cost_bitmap_tree_node 870042
cost_ctescan 4030
cost_functionscan 35224
cost_gather 21353
cost_gather_merge 15249
cost_group 1058
cost_incremental_sort 9453
cost_index 659357
cost_material 474586
cost_memoize_rescan 190754
cost_merge_append 7580
cost_namedtuplestorescan 395
cost_qual_eval 3586423
cost_qual_eval_node 1426727
cost_qual_eval_walker 7430078
cost_recursive_union 692
cost_rescan 2460056
cost_resultscan 3872
cost_samplescan 262
cost_seqscan 336705
cost_sort 1456661
cost_subplan 32509
cost_subqueryscan 48894
cost_tablefuncscan 662
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1466114
cost_valuesscan 6843
cost_windowagg 2686
extract_nonindex_conditions 795520
final_cost_hashjoin 337064
final_cost_mergejoin 333766
final_cost_nestloop 1139965
get_expr_width 1353072
get_foreign_key_join_selectivity 211910
get_indexpath_pages 171787
get_parallel_divisor 370414
get_parameterized_baserel_size 134015
get_parameterized_joinrel_size 8133
get_restriction_qual_cost 875374
get_windowclause_startup_tuples 2686
has_indexed_join_quals 714526
index_pages_fetched 940321
initial_cost_hashjoin 619271
initial_cost_mergejoin 1040880
initial_cost_nestloop 2460056
page_size 6150
relation_byte_size 3567656
set_baserel_size_estimates 394631
set_cte_size_estimates 4030
set_foreign_size_estimates 1332
set_function_size_estimates 35224
set_joinrel_size_estimates 203777
set_namedtuplestore_size_estimates 395
set_pathtarget_cost_width 465822
set_rel_width 395943
set_result_size_estimates 3807
set_subquery_size_estimates 29918
set_tablefunc_size_estimates 662
set_values_size_estimates 6843

Generated by: LCOV version 2.0-1