LCOV - code coverage report
Current view: top level - Modules - itertoolsmodule.c (source / functions) Hit Total Coverage
Test: CPython 3.12 LCOV report [commit acb105a7c1f] Lines: 1610 1798 89.5 %
Date: 2022-07-20 13:12:14 Functions: 139 139 100.0 %
Branches: 810 1090 74.3 %

Function Name Sort by function name Hit count Sort by hit count
PyInit_itertools 1984
_grouper_create 116420
_grouper_dealloc 116420
_grouper_next 335581
_grouper_reduce 30
_grouper_traverse 24
accumulate_dealloc 176
accumulate_next 105483
accumulate_reduce 53
accumulate_setstate 20
accumulate_traverse 2
chain_dealloc 34560
chain_new 24888
chain_new_internal 34560
chain_next 4257093
chain_reduce 66
chain_setstate 85
chain_traverse 3942
combinations_dealloc 6011
combinations_next 1079375
combinations_reduce 450
combinations_setstate 180
combinations_sizeof 2
combinations_traverse 14
compress_dealloc 278
compress_next 35745
compress_reduce 112
compress_traverse 2
count_dealloc 17270
count_next 183119
count_nextlong 6948
count_reduce 958
count_repr 96
count_traverse 164200
cwr_dealloc 997
cwr_next 9195
cwr_reduce 432
cwr_setstate 210
cwr_sizeof 2
cwr_traverse 18
cycle_dealloc 205
cycle_next 6221273
cycle_reduce 37
cycle_setstate 50
cycle_traverse 2
dropwhile_dealloc 568
dropwhile_next 6964
dropwhile_reduce 14
dropwhile_setstate 20
dropwhile_traverse 2
filterfalse_dealloc 402
filterfalse_next 305227
filterfalse_reduce 12
filterfalse_traverse 176
groupby_dealloc 3253
groupby_next 119538
groupby_reduce 60
groupby_setstate 24
groupby_step 254136
groupby_traverse 8
islice_dealloc 150494
islice_new 173580
islice_next 9234452
islice_reduce 70
islice_setstate 100
islice_traverse 58
itertools__grouper_impl 24
itertools__tee_impl 83
itertools_accumulate_impl 182
itertools_chain_from_iterable 9673
itertools_combinations_impl 6012
itertools_combinations_with_replacement_impl 998
itertools_compress_impl 291
itertools_count_impl 17276
itertools_cycle_impl 216
itertools_dropwhile_impl 578
itertools_filterfalse_impl 413
itertools_groupby_impl 3253
itertools_permutations_impl 27907
itertools_starmap_impl 9030
itertools_takewhile_impl 86
itertools_tee_impl 120
itertools_teedataobject_impl 62
itertoolsmodule_exec 1984
pairwise_dealloc 41
pairwise_new_impl 52
pairwise_next 15250
pairwise_traverse 8
permutations_dealloc 27904
permutations_next 72718
permutations_reduce 420
permutations_setstate 168
permutations_sizeof 4
permutations_traverse 18
product_dealloc 59173
product_new 59190
product_next 1533036
product_reduce 84
product_setstate 20
product_sizeof 2
product_traverse 46
repeat_dealloc 46326
repeat_len 25
repeat_new 46332
repeat_next 28330221
repeat_reduce 14
repeat_repr 7
repeat_traverse 3366
starmap_dealloc 9020
starmap_next 34316
starmap_reduce 14
starmap_traverse 2
takewhile_dealloc 76
takewhile_next 174
takewhile_reduce 14
takewhile_reduce_setstate 20
takewhile_traverse 2
tee_clear 309
tee_copy 122
tee_dealloc 309
tee_fromiterable 189
tee_next 20168459
tee_reduce 56
tee_setstate 80
tee_traverse 261
teedataobject_clear 352737
teedataobject_dealloc 352736
teedataobject_getitem 20168459
teedataobject_jumplink 353777
teedataobject_newinternal 352736
teedataobject_reduce 44
teedataobject_safe_decref 352737
teedataobject_traverse 2446117
zip_longest_dealloc 31774
zip_longest_new 31789
zip_longest_next 1094287
zip_longest_reduce 48
zip_longest_setstate 18
zip_longest_traverse 32

Generated by: LCOV version 1.14