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 % 1864 1825
Test Date: 2026-08-15 03:16:11 Functions: 100.0 % 74 74
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 88.7 % 921 817

Function Name Sort by function name Hit count Sort by function hit count
append_nonpartial_cost 21831
approx_tuple_count 603188
cached_scansel 1091152
calc_joinrel_size_estimate 218276
clamp_row_est 8029942
clamp_width_est 1549983
compute_bitmap_pages 581875
compute_gather_rows 37928
compute_semi_anti_join_factors 188212
cost_agg 74909
cost_append 59119
cost_bitmap_and_node 45011
cost_bitmap_heap_scan 467306
cost_bitmap_or_node 1800
cost_bitmap_tree_node 884862
cost_ctescan 3564
cost_functionscan 35096
cost_gather 22071
cost_gather_merge 15862
cost_group 1043
cost_incremental_sort 10054
cost_index 672463
cost_material 498827
cost_memoize_rescan 194262
cost_merge_append 7392
cost_namedtuplestorescan 431
cost_qual_eval 3695653
cost_qual_eval_node 1452028
cost_qual_eval_walker 7643445
cost_recursive_union 637
cost_rescan 2568292
cost_resultscan 3746
cost_samplescan 245
cost_seqscan 344021
cost_sort 1553242
cost_subplan 32565
cost_subqueryscan 49545
cost_tablefuncscan 604
cost_tidrangescan 1703
cost_tidscan 636
cost_tuplesort 1563296
cost_valuesscan 7039
cost_windowagg 2649
extract_nonindex_conditions 811580
final_cost_hashjoin 348332
final_cost_mergejoin 350857
final_cost_nestloop 1172974
get_expr_width 1368383
get_foreign_key_join_selectivity 218276
get_indexpath_pages 176323
get_parallel_divisor 374655
get_parameterized_baserel_size 136495
get_parameterized_joinrel_size 8452
get_restriction_qual_cost 891591
get_windowclause_startup_tuples 2649
has_indexed_join_quals 739301
index_pages_fetched 959960
initial_cost_hashjoin 644786
initial_cost_mergejoin 1096117
initial_cost_nestloop 2568292
page_size 6310
relation_byte_size 3757813
set_baserel_size_estimates 400923
set_cte_size_estimates 3564
set_foreign_size_estimates 1288
set_function_size_estimates 35096
set_joinrel_size_estimates 209824
set_namedtuplestore_size_estimates 431
set_pathtarget_cost_width 471081
set_rel_width 402191
set_result_size_estimates 3681
set_subquery_size_estimates 30236
set_tablefunc_size_estimates 604
set_values_size_estimates 7039

Generated by: LCOV version 2.0-1