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-11-07 16:15:57 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 23791
approx_tuple_count 613634
cached_scansel 1102816
calc_joinrel_size_estimate 224076
clamp_row_est 8339287
clamp_width_est 1529874
compute_bitmap_pages 572452
compute_gather_rows 37053
compute_semi_anti_join_factors 197132
cost_agg 74089
cost_append 63939
cost_bitmap_and_node 44437
cost_bitmap_heap_scan 459704
cost_bitmap_or_node 1688
cost_bitmap_tree_node 871825
cost_ctescan 4020
cost_functionscan 35387
cost_gather 20253
cost_gather_merge 16807
cost_group 1043
cost_incremental_sort 10381
cost_index 660979
cost_material 502330
cost_memoize_rescan 248467
cost_merge_append 9856
cost_namedtuplestorescan 393
cost_qual_eval 3713703
cost_qual_eval_node 1437247
cost_qual_eval_walker 7641598
cost_recursive_union 692
cost_rescan 2705381
cost_resultscan 3917
cost_samplescan 262
cost_seqscan 338437
cost_sort 1538711
cost_subplan 32784
cost_subqueryscan 48979
cost_tablefuncscan 717
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1549092
cost_valuesscan 6993
cost_windowagg 2703
extract_nonindex_conditions 797707
final_cost_hashjoin 347730
final_cost_mergejoin 365474
final_cost_nestloop 1177966
get_expr_width 1428408
get_foreign_key_join_selectivity 224076
get_indexpath_pages 172611
get_parallel_divisor 399579
get_parameterized_baserel_size 134945
get_parameterized_joinrel_size 11416
get_restriction_qual_cost 878805
get_windowclause_startup_tuples 2703
has_indexed_join_quals 715462
index_pages_fetched 943678
initial_cost_hashjoin 653011
initial_cost_mergejoin 1107945
initial_cost_nestloop 2705381
page_size 6180
relation_byte_size 3828914
set_baserel_size_estimates 396523
set_cte_size_estimates 4020
set_foreign_size_estimates 1335
set_function_size_estimates 35387
set_joinrel_size_estimates 212660
set_namedtuplestore_size_estimates 393
set_pathtarget_cost_width 471036
set_rel_width 397838
set_result_size_estimates 3852
set_subquery_size_estimates 29971
set_tablefunc_size_estimates 717
set_values_size_estimates 6993

Generated by: LCOV version 2.0-1