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 % 1862 1823
Test Date: 2026-07-20 19:15:43 Functions: 100.0 % 74 74
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 88.7 % 919 815

Function Name Sort by function name Hit count Sort by function hit count
append_nonpartial_cost 21770
approx_tuple_count 602468
cached_scansel 1087028
calc_joinrel_size_estimate 217219
clamp_row_est 7980513
clamp_width_est 1546200
compute_bitmap_pages 578256
compute_gather_rows 37782
compute_semi_anti_join_factors 187111
cost_agg 74595
cost_append 58938
cost_bitmap_and_node 44701
cost_bitmap_heap_scan 464303
cost_bitmap_or_node 1772
cost_bitmap_tree_node 878825
cost_ctescan 3529
cost_functionscan 34778
cost_gather 21973
cost_gather_merge 15814
cost_group 1043
cost_incremental_sort 10044
cost_index 668053
cost_material 497092
cost_memoize_rescan 193710
cost_merge_append 7390
cost_namedtuplestorescan 438
cost_qual_eval 3679122
cost_qual_eval_node 1446572
cost_qual_eval_walker 7596594
cost_recursive_union 634
cost_rescan 2557955
cost_resultscan 3701
cost_samplescan 245
cost_seqscan 342400
cost_sort 1548109
cost_subplan 32339
cost_subqueryscan 49184
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 636
cost_tuplesort 1558153
cost_valuesscan 7006
cost_windowagg 2647
extract_nonindex_conditions 806244
final_cost_hashjoin 345682
final_cost_mergejoin 351277
final_cost_nestloop 1167726
get_expr_width 1365612
get_foreign_key_join_selectivity 217219
get_indexpath_pages 175780
get_parallel_divisor 374323
get_parameterized_baserel_size 135666
get_parameterized_joinrel_size 8311
get_restriction_qual_cost 886351
get_windowclause_startup_tuples 2647
has_indexed_join_quals 736234
index_pages_fetched 954701
initial_cost_hashjoin 642831
initial_cost_mergejoin 1091993
initial_cost_nestloop 2557955
page_size 6176
relation_byte_size 3743846
set_baserel_size_estimates 398733
set_cte_size_estimates 3529
set_foreign_size_estimates 1275
set_function_size_estimates 34778
set_joinrel_size_estimates 208908
set_namedtuplestore_size_estimates 438
set_pathtarget_cost_width 470290
set_rel_width 399987
set_result_size_estimates 3636
set_subquery_size_estimates 30061
set_tablefunc_size_estimates 604
set_values_size_estimates 7006

Generated by: LCOV version 2.0-1