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

Generated by: LCOV version 1.14