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-08 00: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 21180
approx_tuple_count 571531
cached_scansel 1035939
calc_joinrel_size_estimate 211023
clamp_row_est 7809202
clamp_width_est 1511598
compute_bitmap_pages 570039
compute_gather_rows 36335
compute_semi_anti_join_factors 196841
cost_agg 75494
cost_append 58033
cost_bitmap_and_node 44380
cost_bitmap_heap_scan 457789
cost_bitmap_or_node 1688
cost_bitmap_tree_node 869274
cost_ctescan 4018
cost_functionscan 34975
cost_gather 21177
cost_gather_merge 15163
cost_group 1043
cost_incremental_sort 9445
cost_index 658256
cost_material 473431
cost_memoize_rescan 190415
cost_merge_append 7570
cost_namedtuplestorescan 393
cost_qual_eval 3584164
cost_qual_eval_node 1429466
cost_qual_eval_walker 7426009
cost_recursive_union 693
cost_rescan 2457553
cost_resultscan 3812
cost_samplescan 262
cost_seqscan 335345
cost_sort 1456801
cost_subplan 32464
cost_subqueryscan 48749
cost_tablefuncscan 604
cost_tidrangescan 1683
cost_tidscan 643
cost_tuplesort 1466246
cost_valuesscan 6783
cost_windowagg 2654
extract_nonindex_conditions 794350
final_cost_hashjoin 337015
final_cost_mergejoin 334358
final_cost_nestloop 1139612
get_expr_width 1357109
get_foreign_key_join_selectivity 211023
get_indexpath_pages 171466
get_parallel_divisor 369292
get_parameterized_baserel_size 133582
get_parameterized_joinrel_size 8043
get_restriction_qual_cost 872888
get_windowclause_startup_tuples 2654
has_indexed_join_quals 715450
index_pages_fetched 938545
initial_cost_hashjoin 618734
initial_cost_mergejoin 1041028
initial_cost_nestloop 2457553
page_size 6142
relation_byte_size 3566085
set_baserel_size_estimates 392897
set_cte_size_estimates 4018
set_foreign_size_estimates 1331
set_function_size_estimates 34975
set_joinrel_size_estimates 202980
set_namedtuplestore_size_estimates 393
set_pathtarget_cost_width 467724
set_rel_width 394207
set_result_size_estimates 3747
set_subquery_size_estimates 29813
set_tablefunc_size_estimates 604
set_values_size_estimates 6783

Generated by: LCOV version 2.0-1