LCOV - code coverage report
Current view: top level - Objects - bytesobject.c (source / functions) Hit Total Coverage
Test: CPython lcov report Lines: 1394 1623 85.9 %
Date: 2022-07-07 18:19:46 Functions: 94 95 98.9 %

Function Name Sort by function name Hit count Sort by hit count
bytes_alloc 0
_PyBytes_ReverseFind 7
striter_traverse 10
bytes_getnewargs 11
bytes_removesuffix_impl 15
byte_converter 18
formatfloat 24
bytes_removeprefix_impl 27
bytes_str 38
bytes_rindex 47
format_obj 48
striter_reduce 54
bytes_hex_impl 58
striter_setstate 84
bytes_rsplit_impl 87
bytes_index 92
bytes_item 116
bytes_lstrip_impl 139
bytes_translate_impl 179
formatlong 190
_PyBytes_Find 314
bytes_rpartition_impl 341
bytes_get_empty 742
bytes_mod 778
bytes_partition_impl 889
_PyBytes_FormatEx 941
getnextarg 959
bytes_maketrans_impl 978
striter_len 1271
bytes_splitlines_impl 1868
_PyBytes_InitTypes 3134
bytes_subtype_new 3463
PyBytes_ConcatAndDel 3564
_PyBytes_FromTuple 4458
_PyBytes_FromIterator 5079
bytes_rstrip_impl 5871
do_xstrip 6407
bytes_split_impl 7991
PyBytes_DecodeEscape 8403
PyBytes_FromFormat 10565
PyBytes_FromFormatV 10565
do_strip 14080
bytes_strip_impl 14477
_PyBytesWriter_Dealloc 19216
do_argstrip 20487
PyBytes_Concat 21531
_PyBytes_Join 25606
_PyBytesWriter_WriteBytes 27286
_PyBytes_DecodeEscape 27589
bytes_repeat 44398
bytes_startswith 60153
bytes_join 73431
PyBytes_Repr 76463
bytes_repr 76463
bytes_count 79830
bytes_iter 101578
striter_dealloc 101578
bytes_replace_impl 108215
bytes___bytes___impl 115419
_PyBytes_FromList 128725
bytes_endswith 129760
PyBytes_FromString 131364
bytes_rfind 138938
_PyBytes_FromBuffer 160816
PyBytes_Size 185145
bytes_fromhex_impl 200208
_PyBytes_FromHex 200243
PyBytes_AsStringAndSize 283477
PyBytes_FromObject 299089
bytes_find 360579
_PyBytes_Repeat 425161
bytes_new_impl 450056
bytes_contains 495256
_PyBytesWriter_Resize 1479840
striter_next 2236570
bytes_concat 2389720
_PyBytesWriter_Finish 3074550
_PyBytesWriter_Alloc 3093750
_PyBytesWriter_Init 3093770
_PyBytesWriter_Prepare 3132050
bytes_hash 4219360
_PyBytesWriter_GetSize 4554390
_PyBytes_Resize 5955310
bytes_subscript 7012000
bytes_decode_impl 7345400
bytes_compare_eq 7649540
bytes_richcompare 7884940
bytes_new_empty 8250890
_PyBytesWriter_CheckConsistency 9166290
bytes_length 14094200
_PyBytesWriter_AsString 15200500
bytes_buffer_getbuffer 18835900
PyBytes_AsString 45015500
_PyBytes_FromSize 64783200
PyBytes_FromStringAndSize 101505000

Generated by: LCOV version 1.14