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-09-08 16:15:47 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 21303
approx_tuple_count 564439
cached_scansel 1022011
calc_joinrel_size_estimate 208947
clamp_row_est 7732941
clamp_width_est 1507339
compute_bitmap_pages 570477
compute_gather_rows 36458
compute_semi_anti_join_factors 194549
cost_agg 74643
cost_append 58049
cost_bitmap_and_node 44269
cost_bitmap_heap_scan 457633
cost_bitmap_or_node 1686
cost_bitmap_tree_node 869142
cost_ctescan 3642
cost_functionscan 35085
cost_gather 21197
cost_gather_merge 15266
cost_group 1043
cost_incremental_sort 9373
cost_index 656933
cost_material 468534
cost_memoize_rescan 187110
cost_merge_append 7472
cost_namedtuplestorescan 439
cost_qual_eval 3554360
cost_qual_eval_node 1434688
cost_qual_eval_walker 7400603
cost_recursive_union 634
cost_rescan 2429582
cost_resultscan 3686
cost_samplescan 247
cost_seqscan 336151
cost_sort 1439277
cost_subplan 32219
cost_subqueryscan 48127
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1448650
cost_valuesscan 6823
cost_windowagg 2654
extract_nonindex_conditions 791697
final_cost_hashjoin 331639
final_cost_mergejoin 330464
final_cost_nestloop 1131193
get_expr_width 1351561
get_foreign_key_join_selectivity 208947
get_indexpath_pages 169138
get_parallel_divisor 369868
get_parameterized_baserel_size 132422
get_parameterized_joinrel_size 8059
get_restriction_qual_cost 873215
get_windowclause_startup_tuples 2654
has_indexed_join_quals 708371
index_pages_fetched 932311
initial_cost_hashjoin 610635
initial_cost_mergejoin 1027016
initial_cost_nestloop 2429582
page_size 5778
relation_byte_size 3521891
set_baserel_size_estimates 392688
set_cte_size_estimates 3642
set_foreign_size_estimates 1334
set_function_size_estimates 35085
set_joinrel_size_estimates 200888
set_namedtuplestore_size_estimates 439
set_pathtarget_cost_width 468604
set_rel_width 394002
set_result_size_estimates 3621
set_subquery_size_estimates 29199
set_tablefunc_size_estimates 604
set_values_size_estimates 6823

Generated by: LCOV version 2.0-1