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-05 13:15:51 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 23792
approx_tuple_count 615642
cached_scansel 1104198
calc_joinrel_size_estimate 223711
clamp_row_est 8335932
clamp_width_est 1525158
compute_bitmap_pages 571773
compute_gather_rows 37059
compute_semi_anti_join_factors 197279
cost_agg 74056
cost_append 63912
cost_bitmap_and_node 44445
cost_bitmap_heap_scan 459357
cost_bitmap_or_node 1688
cost_bitmap_tree_node 871606
cost_ctescan 4026
cost_functionscan 35175
cost_gather 20257
cost_gather_merge 16809
cost_group 1043
cost_incremental_sort 10395
cost_index 660377
cost_material 502011
cost_memoize_rescan 246760
cost_merge_append 9856
cost_namedtuplestorescan 397
cost_qual_eval 3717682
cost_qual_eval_node 1433483
cost_qual_eval_walker 7637781
cost_recursive_union 693
cost_rescan 2702348
cost_resultscan 3872
cost_samplescan 262
cost_seqscan 337896
cost_sort 1540453
cost_subplan 32817
cost_subqueryscan 48982
cost_tablefuncscan 697
cost_tidrangescan 1703
cost_tidscan 643
cost_tuplesort 1550848
cost_valuesscan 6954
cost_windowagg 2678
extract_nonindex_conditions 797189
final_cost_hashjoin 348772
final_cost_mergejoin 366661
final_cost_nestloop 1178954
get_expr_width 1423816
get_foreign_key_join_selectivity 223711
get_indexpath_pages 171355
get_parallel_divisor 399629
get_parameterized_baserel_size 134756
get_parameterized_joinrel_size 11419
get_restriction_qual_cost 877630
get_windowclause_startup_tuples 2678
has_indexed_join_quals 716202
index_pages_fetched 941323
initial_cost_hashjoin 651979
initial_cost_mergejoin 1109307
initial_cost_nestloop 2702348
page_size 6198
relation_byte_size 3831075
set_baserel_size_estimates 395675
set_cte_size_estimates 4026
set_foreign_size_estimates 1334
set_function_size_estimates 35175
set_joinrel_size_estimates 212292
set_namedtuplestore_size_estimates 397
set_pathtarget_cost_width 469347
set_rel_width 396989
set_result_size_estimates 3807
set_subquery_size_estimates 29974
set_tablefunc_size_estimates 697
set_values_size_estimates 6954

Generated by: LCOV version 2.0-1