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-08 04:15:54 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 614684
cached_scansel 1102896
calc_joinrel_size_estimate 223712
clamp_row_est 8325864
clamp_width_est 1526343
compute_bitmap_pages 571665
compute_gather_rows 37059
compute_semi_anti_join_factors 197144
cost_agg 74092
cost_append 63939
cost_bitmap_and_node 44437
cost_bitmap_heap_scan 459228
cost_bitmap_or_node 1688
cost_bitmap_tree_node 871578
cost_ctescan 4024
cost_functionscan 35220
cost_gather 20259
cost_gather_merge 16807
cost_group 1043
cost_incremental_sort 10381
cost_index 660184
cost_material 501785
cost_memoize_rescan 246904
cost_merge_append 9856
cost_namedtuplestorescan 393
cost_qual_eval 3713184
cost_qual_eval_node 1435404
cost_qual_eval_walker 7636454
cost_recursive_union 692
cost_rescan 2701150
cost_resultscan 3917
cost_samplescan 262
cost_seqscan 337915
cost_sort 1538860
cost_subplan 32786
cost_subqueryscan 48980
cost_tablefuncscan 717
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1549241
cost_valuesscan 6994
cost_windowagg 2703
extract_nonindex_conditions 796914
final_cost_hashjoin 347358
final_cost_mergejoin 365863
final_cost_nestloop 1179006
get_expr_width 1426308
get_foreign_key_join_selectivity 223712
get_indexpath_pages 171061
get_parallel_divisor 399640
get_parameterized_baserel_size 134771
get_parameterized_joinrel_size 11416
get_restriction_qual_cost 877647
get_windowclause_startup_tuples 2703
has_indexed_join_quals 716243
index_pages_fetched 940755
initial_cost_hashjoin 651107
initial_cost_mergejoin 1108025
initial_cost_nestloop 2701150
page_size 6182
relation_byte_size 3826600
set_baserel_size_estimates 395834
set_cte_size_estimates 4024
set_foreign_size_estimates 1334
set_function_size_estimates 35220
set_joinrel_size_estimates 212296
set_namedtuplestore_size_estimates 393
set_pathtarget_cost_width 470910
set_rel_width 397148
set_result_size_estimates 3852
set_subquery_size_estimates 29972
set_tablefunc_size_estimates 717
set_values_size_estimates 6994

Generated by: LCOV version 2.0-1