LCOV - code coverage report
Current view: top level - Objects - bytearrayobject.c (source / functions) Hit Total Coverage
Test: CPython 3.12 LCOV report [commit acb105a7c1f] Lines: 825 932 88.5 %
Date: 2022-07-20 13:12:14 Functions: 72 73 98.6 %
Branches: 494 618 79.9 %

Function Name Sort by function name Hit count Sort by hit count
PyByteArray_AsString 3805
PyByteArray_Concat 160
PyByteArray_FromObject 2256
PyByteArray_FromStringAndSize 519546
PyByteArray_Resize 1408382
PyByteArray_Size 1
_PyByteArray_FromBufferObject 15
_canresize 1400682
_common_reduce 30
_getbytevalue 7383490
bytearray___init___impl 894853
bytearray_alloc 203
bytearray_append_impl 814167
bytearray_ass_subscript 4359056
bytearray_clear_impl 1519
bytearray_contains 265037
bytearray_copy_impl 5
bytearray_count 65091
bytearray_dealloc 1414399
bytearray_decode_impl 552234
bytearray_endswith 13493
bytearray_extend 221584
bytearray_find 599665
bytearray_fromhex_impl 35
bytearray_getbuffer 1537893
bytearray_getitem 8
bytearray_hex_impl 46
bytearray_iconcat 33930
bytearray_index 45
bytearray_insert_impl 54
bytearray_irepeat 3
bytearray_iter 14765
bytearray_join 49
bytearray_length 1801038
bytearray_lstrip_impl 10
bytearray_maketrans_impl 75
bytearray_mod 167
bytearray_partition 7
bytearray_pop_impl 8
bytearray_reduce_ex_impl 30
bytearray_reduce_impl 0
bytearray_releasebuffer 1537892
bytearray_remove_impl 9
bytearray_removeprefix_impl 9
bytearray_removesuffix_impl 9
bytearray_repeat 191
bytearray_replace_impl 64904
bytearray_repr 454
bytearray_reverse_impl 3
bytearray_rfind 132543
bytearray_richcompare 61054
bytearray_rindex 47
bytearray_rpartition 8
bytearray_rsplit_impl 87
bytearray_rstrip_impl 83
bytearray_setitem 1
bytearray_setslice 221575
bytearray_setslice_linear 292774
bytearray_sizeof_impl 6
bytearray_split_impl 2182
bytearray_splitlines_impl 20
bytearray_startswith 143
bytearray_str 10
bytearray_strip_impl 23
bytearray_strip_impl_helper 116
bytearray_subscript 1560841
bytearray_translate_impl 32322
bytearrayiter_dealloc 14765
bytearrayiter_length_hint 81
bytearrayiter_next 382792
bytearrayiter_reduce 78
bytearrayiter_setstate 102
bytearrayiter_traverse 10

Generated by: LCOV version 1.14