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 1847
Test Date: 2026-12-05 10:16:02 Functions: 100.0 % 74 74
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 88.8 % 947 841

Function Name Sort by function name Hit count Sort by function hit count
append_nonpartial_cost 23926
approx_tuple_count 623628
cached_scansel 1147671
calc_joinrel_size_estimate 228029
clamp_row_est 8598804
clamp_width_est 1558608
compute_bitmap_pages 581919
compute_gather_rows 37333
compute_semi_anti_join_factors 200604
cost_agg 74803
cost_append 63897
cost_bitmap_and_node 45391
cost_bitmap_heap_scan 467908
cost_bitmap_or_node 1700
cost_bitmap_tree_node 886744
cost_ctescan 4201
cost_functionscan 36397
cost_gather 20422
cost_gather_merge 16918
cost_group 1053
cost_incremental_sort 10568
cost_index 678151
cost_material 512941
cost_memoize_rescan 263269
cost_merge_append 9894
cost_namedtuplestorescan 451
cost_qual_eval 3787294
cost_qual_eval_node 1465059
cost_qual_eval_walker 7791373
cost_recursive_union 739
cost_rescan 2799681
cost_resultscan 3952
cost_samplescan 262
cost_seqscan 342891
cost_sort 1584929
cost_subplan 33703
cost_subqueryscan 49735
cost_tablefuncscan 722
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1595497
cost_valuesscan 7250
cost_windowagg 2727
extract_nonindex_conditions 819612
final_cost_hashjoin 352919
final_cost_mergejoin 371799
final_cost_nestloop 1205056
get_expr_width 1469508
get_foreign_key_join_selectivity 228029
get_indexpath_pages 178078
get_parallel_divisor 400453
get_parameterized_baserel_size 139511
get_parameterized_joinrel_size 11548
get_restriction_qual_cost 893459
get_windowclause_startup_tuples 2727
has_indexed_join_quals 734354
index_pages_fetched 972261
initial_cost_hashjoin 669131
initial_cost_mergejoin 1153043
initial_cost_nestloop 2799681
page_size 6200
relation_byte_size 3937391
set_baserel_size_estimates 403189
set_cte_size_estimates 4201
set_foreign_size_estimates 1394
set_function_size_estimates 36397
set_joinrel_size_estimates 216481
set_namedtuplestore_size_estimates 451
set_pathtarget_cost_width 479585
set_rel_width 404558
set_result_size_estimates 3887
set_subquery_size_estimates 30683
set_tablefunc_size_estimates 722
set_values_size_estimates 7250

Generated by: LCOV version 2.0-1