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-17 21:15:48 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 21144
approx_tuple_count 562067
cached_scansel 1022422
calc_joinrel_size_estimate 208846
clamp_row_est 7727819
clamp_width_est 1502468
compute_bitmap_pages 569327
compute_gather_rows 36264
compute_semi_anti_join_factors 194541
cost_agg 74560
cost_append 57641
cost_bitmap_and_node 44188
cost_bitmap_heap_scan 456544
cost_bitmap_or_node 1686
cost_bitmap_tree_node 866794
cost_ctescan 3652
cost_functionscan 35136
cost_gather 21118
cost_gather_merge 15151
cost_group 1043
cost_incremental_sort 9316
cost_index 656088
cost_material 469076
cost_memoize_rescan 189393
cost_merge_append 7472
cost_namedtuplestorescan 391
cost_qual_eval 3544484
cost_qual_eval_node 1424111
cost_qual_eval_walker 7361856
cost_recursive_union 636
cost_rescan 2433497
cost_resultscan 3676
cost_samplescan 247
cost_seqscan 334457
cost_sort 1438793
cost_subplan 32155
cost_subqueryscan 48073
cost_tablefuncscan 604
cost_tidrangescan 1698
cost_tidscan 643
cost_tuplesort 1448109
cost_valuesscan 6787
cost_windowagg 2654
extract_nonindex_conditions 790841
final_cost_hashjoin 331834
final_cost_mergejoin 327860
final_cost_nestloop 1128378
get_expr_width 1344875
get_foreign_key_join_selectivity 208846
get_indexpath_pages 171035
get_parallel_divisor 368996
get_parameterized_baserel_size 132536
get_parameterized_joinrel_size 7575
get_restriction_qual_cost 870321
get_windowclause_startup_tuples 2654
has_indexed_join_quals 706587
index_pages_fetched 934398
initial_cost_hashjoin 612383
initial_cost_mergejoin 1027427
initial_cost_nestloop 2433497
page_size 5828
relation_byte_size 3522902
set_baserel_size_estimates 391115
set_cte_size_estimates 3652
set_foreign_size_estimates 1328
set_function_size_estimates 35136
set_joinrel_size_estimates 201271
set_namedtuplestore_size_estimates 391
set_pathtarget_cost_width 464498
set_rel_width 392422
set_result_size_estimates 3611
set_subquery_size_estimates 29196
set_tablefunc_size_estimates 604
set_values_size_estimates 6787

Generated by: LCOV version 2.0-1