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-09 18:16:05 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 23814
approx_tuple_count 623409
cached_scansel 1134177
calc_joinrel_size_estimate 227279
clamp_row_est 8493868
clamp_width_est 1554083
compute_bitmap_pages 578895
compute_gather_rows 37203
compute_semi_anti_join_factors 200927
cost_agg 74297
cost_append 64159
cost_bitmap_and_node 44735
cost_bitmap_heap_scan 465187
cost_bitmap_or_node 1700
cost_bitmap_tree_node 881358
cost_ctescan 4147
cost_functionscan 35866
cost_gather 20317
cost_gather_merge 16893
cost_group 1043
cost_incremental_sort 10522
cost_index 669947
cost_material 511625
cost_memoize_rescan 256426
cost_merge_append 9858
cost_namedtuplestorescan 415
cost_qual_eval 3780621
cost_qual_eval_node 1459908
cost_qual_eval_walker 7766075
cost_recursive_union 718
cost_rescan 2770031
cost_resultscan 3937
cost_samplescan 262
cost_seqscan 342642
cost_sort 1576672
cost_subplan 33541
cost_subqueryscan 49525
cost_tablefuncscan 717
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1587194
cost_valuesscan 7085
cost_windowagg 2707
extract_nonindex_conditions 809100
final_cost_hashjoin 353542
final_cost_mergejoin 371722
final_cost_nestloop 1205491
get_expr_width 1460124
get_foreign_key_join_selectivity 227279
get_indexpath_pages 174981
get_parallel_divisor 399761
get_parameterized_baserel_size 137204
get_parameterized_joinrel_size 11440
get_restriction_qual_cost 889579
get_windowclause_startup_tuples 2707
has_indexed_join_quals 736160
index_pages_fetched 957874
initial_cost_hashjoin 667558
initial_cost_mergejoin 1139306
initial_cost_nestloop 2770031
page_size 6408
relation_byte_size 3914604
set_baserel_size_estimates 401976
set_cte_size_estimates 4147
set_foreign_size_estimates 1337
set_function_size_estimates 35866
set_joinrel_size_estimates 215839
set_namedtuplestore_size_estimates 415
set_pathtarget_cost_width 478852
set_rel_width 403289
set_result_size_estimates 3872
set_subquery_size_estimates 30502
set_tablefunc_size_estimates 717
set_values_size_estimates 7085

Generated by: LCOV version 2.0-1