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-10-05 08: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 21187
approx_tuple_count 568056
cached_scansel 1033722
calc_joinrel_size_estimate 210235
clamp_row_est 7788729
clamp_width_est 1507802
compute_bitmap_pages 569836
compute_gather_rows 36329
compute_semi_anti_join_factors 196704
cost_agg 74681
cost_append 57821
cost_bitmap_and_node 44373
cost_bitmap_heap_scan 457616
cost_bitmap_or_node 1688
cost_bitmap_tree_node 868839
cost_ctescan 4016
cost_functionscan 34948
cost_gather 21178
cost_gather_merge 15156
cost_group 1043
cost_incremental_sort 9381
cost_index 657934
cost_material 472418
cost_memoize_rescan 191134
cost_merge_append 7472
cost_namedtuplestorescan 393
cost_qual_eval 3570883
cost_qual_eval_node 1426319
cost_qual_eval_walker 7399815
cost_recursive_union 692
cost_rescan 2455811
cost_resultscan 3752
cost_samplescan 262
cost_seqscan 334776
cost_sort 1453039
cost_subplan 32403
cost_subqueryscan 48659
cost_tablefuncscan 604
cost_tidrangescan 1683
cost_tidscan 643
cost_tuplesort 1462420
cost_valuesscan 6782
cost_windowagg 2654
extract_nonindex_conditions 793935
final_cost_hashjoin 334608
final_cost_mergejoin 331779
final_cost_nestloop 1137439
get_expr_width 1354124
get_foreign_key_join_selectivity 210235
get_indexpath_pages 171953
get_parallel_divisor 369310
get_parameterized_baserel_size 133419
get_parameterized_joinrel_size 7877
get_restriction_qual_cost 872040
get_windowclause_startup_tuples 2654
has_indexed_join_quals 715183
index_pages_fetched 938774
initial_cost_hashjoin 616101
initial_cost_mergejoin 1038791
initial_cost_nestloop 2455811
page_size 6124
relation_byte_size 3555894
set_baserel_size_estimates 392124
set_cte_size_estimates 4016
set_foreign_size_estimates 1328
set_function_size_estimates 34948
set_joinrel_size_estimates 202358
set_namedtuplestore_size_estimates 393
set_pathtarget_cost_width 465838
set_rel_width 393432
set_result_size_estimates 3687
set_subquery_size_estimates 29714
set_tablefunc_size_estimates 604
set_values_size_estimates 6782

Generated by: LCOV version 2.0-1