LCOV - code coverage report
Current view: top level - Objects - unicodeobject.c (source / functions) Hit Total Coverage
Test: CPython lcov report Lines: 5789 6951 83.3 %
Date: 2022-07-07 18:19:46 Functions: 293 321 91.3 %

Function Name Sort by function name Hit count Sort by hit count
EncodingMap_size_impl 0
PyInit__string 714
PyUnicode_Append 3891540
PyUnicode_AppendAndDel 83705
PyUnicode_AsASCIIString 745819
PyUnicode_AsCharmapString 0
PyUnicode_AsDecodedObject 0
PyUnicode_AsDecodedUnicode 0
PyUnicode_AsEncodedObject 0
PyUnicode_AsEncodedString 5431160
PyUnicode_AsEncodedUnicode 0
PyUnicode_AsLatin1String 42
PyUnicode_AsRawUnicodeEscapeString 11252
PyUnicode_AsUCS4 103185
PyUnicode_AsUCS4Copy 46
PyUnicode_AsUTF16String 0
PyUnicode_AsUTF32String 0
PyUnicode_AsUTF8 1621790
PyUnicode_AsUTF8AndSize 25905300
PyUnicode_AsUTF8String 42243
PyUnicode_AsUnicodeEscapeString 3793
PyUnicode_AsWideChar 20067
PyUnicode_AsWideCharString 432645
PyUnicode_BuildEncodingMap 218
PyUnicode_Compare 7262160
PyUnicode_CompareWithASCIIString 14630900
PyUnicode_Concat 29969500
PyUnicode_Contains 29567200
PyUnicode_CopyCharacters 21949
PyUnicode_Count 0
PyUnicode_Decode 8301320
PyUnicode_DecodeASCII 799253
PyUnicode_DecodeCharmap 23728
PyUnicode_DecodeFSDefault 100002
PyUnicode_DecodeFSDefaultAndSize 2441610
PyUnicode_DecodeLatin1 4907560
PyUnicode_DecodeLocale 1396150
PyUnicode_DecodeLocaleAndSize 0
PyUnicode_DecodeRawUnicodeEscape 41933
PyUnicode_DecodeUTF16 1065
PyUnicode_DecodeUTF16Stateful 33856
PyUnicode_DecodeUTF32 34
PyUnicode_DecodeUTF32Stateful 57996
PyUnicode_DecodeUTF7 0
PyUnicode_DecodeUTF7Stateful 5662
PyUnicode_DecodeUTF8 34867200
PyUnicode_DecodeUTF8Stateful 97617600
PyUnicode_DecodeUnicodeEscape 0
PyUnicode_EncodeFSDefault 2114420
PyUnicode_EncodeLocale 1392
PyUnicode_FSConverter 2140050
PyUnicode_FSDecoder 31053
PyUnicode_Fill 7381
PyUnicode_Find 119
PyUnicode_FindChar 5765070
PyUnicode_Format 1017680
PyUnicode_FromEncodedObject 8357010
PyUnicode_FromFormat 543485
PyUnicode_FromFormatV 7591900
PyUnicode_FromKindAndData 52966000
PyUnicode_FromObject 1225570
PyUnicode_FromOrdinal 12696800
PyUnicode_FromString 48587000
PyUnicode_FromStringAndSize 4982840
PyUnicode_FromWideChar 2805300
PyUnicode_GetDefaultEncoding 2098
PyUnicode_GetLength 50414
PyUnicode_GetSize 0
PyUnicode_InternFromString 10919000
PyUnicode_InternImmortal 0
PyUnicode_InternInPlace 290141000
PyUnicode_IsIdentifier 6120990
PyUnicode_Join 6960270
PyUnicode_New 250643000
PyUnicode_Partition 164174
PyUnicode_RPartition 1735760
PyUnicode_RSplit 0
PyUnicode_ReadChar 21
PyUnicode_Replace 356
PyUnicode_Resize 0
PyUnicode_RichCompare 65401300
PyUnicode_Split 198154
PyUnicode_Splitlines 330017
PyUnicode_Substring 29569500
PyUnicode_Tailmatch 352
PyUnicode_Translate 0
PyUnicode_WriteChar 12
_PyStaticUnicode_Dealloc 7562330
_PyUnicodeWriter_Dealloc 10273
_PyUnicodeWriter_Finish 14357000
_PyUnicodeWriter_Init 13902200
_PyUnicodeWriter_InitWithBuffer 498876
_PyUnicodeWriter_PrepareInternal 11345400
_PyUnicodeWriter_PrepareKindInternal 8080
_PyUnicodeWriter_Update 15320100
_PyUnicodeWriter_WriteASCIIString 27761200
_PyUnicodeWriter_WriteChar 1617060
_PyUnicodeWriter_WriteCharInline 2588770
_PyUnicodeWriter_WriteLatin1String 3
_PyUnicodeWriter_WriteStr 18573300
_PyUnicodeWriter_WriteSubstring 2271820
_PyUnicode_AsASCIIString 2166990
_PyUnicode_AsLatin1String 25199
_PyUnicode_AsUTF8String 2955660
_PyUnicode_CheckConsistency 921539000
_PyUnicode_ClearInterned 3120
_PyUnicode_Copy 61705
_PyUnicode_DecodeRawUnicodeEscapeStateful 82692
_PyUnicode_DecodeUnicodeEscapeInternal 246315
_PyUnicode_DecodeUnicodeEscapeStateful 6315
_PyUnicode_Dump 0
_PyUnicode_EQ 1200200
_PyUnicode_EncodeCharmap 4689
_PyUnicode_EncodeUTF16 5836
_PyUnicode_EncodeUTF32 2457
_PyUnicode_EncodeUTF7 1907
_PyUnicode_Equal 64157100
_PyUnicode_EqualToASCIIId 0
_PyUnicode_EqualToASCIIString 51805700
_PyUnicode_ExactDealloc 3966520
_PyUnicode_FastCopyCharacters 170704000
_PyUnicode_FastFill 13948
_PyUnicode_FindMaxChar 988732
_PyUnicode_Fini 3120
_PyUnicode_FiniEncodings 3120
_PyUnicode_FiniTypes 3120
_PyUnicode_FormatLong 379629
_PyUnicode_FromASCII 32171400
_PyUnicode_FromId 149454
_PyUnicode_FromUCS1 57429400
_PyUnicode_FromUCS2 320637
_PyUnicode_FromUCS4 407434
_PyUnicode_InitEncodings 3130
_PyUnicode_InitGlobalObjects 3134
_PyUnicode_InitState 3134
_PyUnicode_InitTypes 3134
_PyUnicode_InsertThousandsGrouping 949228
_PyUnicode_JoinArray 9198380
_PyUnicode_ScanIdentifier 6121200
_PyUnicode_TransformDecimalAndSpaceToASCII 1265150
_PyUnicode_TranslateCharmap 99461
_PyUnicode_WideCharString_Converter 0
_PyUnicode_WideCharString_Opt_Converter 0
_PyUnicode_XStrip 6980030
_PyUnicode_compact_data 0
_PyUnicode_data 0
_PyUnicode_utf8 0
_Py_DecodeUTF8Ex 26367
_Py_DecodeUTF8_surrogateescape 3183
_Py_EncodeUTF8Ex 15271
_Py_GetErrorHandler 1422150
_Py_normalize_encoding 21681400
_copy_characters 170726000
any_find_slice 2357480
anylib_count 2356470
anylib_find 576580
as_ucs4 103231
ascii_decode 86136700
ascii_upper_or_lower 758589
backslashreplace 8392
case_operation 11186000
charmap_decode_mapping 45
charmap_decode_string 22774
charmap_encoding_error 129
charmapencode_lookup 28125
charmapencode_output 236558
charmapencode_resize 74
charmaptranslate_lookup 342333
charmaptranslate_output 170259
config_get_codec_name 6260
convert_uc 63
do_argstrip 8185090
do_capitalize 24224
do_casefold 6
do_lower 3354280
do_strip 1205060
do_swapcase 29
do_title 4458370
do_upper 3349050
do_upper_or_lower 6703330
encode_wstr_utf8 12520
encoding_map_lookup 220485
ensure_unicode 67976500
find_maxchar_surrogates 2787570
findchar 35364400
formatchar 2255
formatfloat 44446
get_error_handler_wide 1119110
get_latin1_char 79829400
handle_capital_sigma 24
init_fs_codec 3130
init_fs_encoding 3130
init_stdio_encoding 3130
kind_maxchar_limit 9
lower_ucs4 11368900
mainformatlong 781600
make_bloom_mask 6982990
make_decode_exception 7384
make_encode_exception 8148
make_translate_exception 0
pad 68202
parse_args_finds_unicode 2893870
raise_encode_exception 1213
replace 3239390
replace_1char_inplace 35157
resize_compact 11785200
resize_copy 0
resize_inplace 0
rsplit 3824
split 2370380
tailmatch 10921600
unicode___format___impl 7931
unicode_adjust_maxchar 140
unicode_ascii_iter_next 4980520
unicode_askind 34647
unicode_capitalize_impl 24227
unicode_casefold_impl 700
unicode_center_impl 7863
unicode_char 68520600
unicode_check_encoding_errors 13795400
unicode_check_modifiable 29335
unicode_clear_identifiers 3120
unicode_compare 30614000
unicode_compare_eq 69537100
unicode_copy_as_widechar 442696
unicode_count 536482
unicode_dealloc 249125000
unicode_decode_call_errorhandler_writer 7384
unicode_decode_locale 2420670
unicode_decode_utf8 99028300
unicode_encode_call_errorhandler 6935
unicode_encode_impl 5307600
unicode_encode_locale 92845
unicode_encode_ucs1 6098
unicode_encode_utf8 4973320
unicode_endswith 1823900
unicode_expandtabs_impl 56851
unicode_fast_translate 98517
unicode_fast_translate_lookup 172069
unicode_fill 409637
unicode_fill_invalid 261413000
unicode_fill_utf8 4540
unicode_find 872222
unicode_format_arg 1441440
unicode_format_arg_format 1436980
unicode_format_arg_output 1009390
unicode_format_arg_parse 1437020
unicode_format_getnextarg 1462430
unicode_fromformat_arg 13898700
unicode_fromformat_write_cstr 5103020
unicode_fromformat_write_str 13744100
unicode_get_empty 40681700
unicode_get_widechar_size 452712
unicode_getitem 55387500
unicode_getnewargs 121
unicode_hash 197312000
unicode_index 5486
unicode_is_finalizing 249125000
unicode_is_singleton 264137000
unicode_isalnum_impl 2271170
unicode_isalpha_impl 2274480
unicode_isascii_impl 39854
unicode_isdecimal_impl 2228410
unicode_isdigit_impl 2250460
unicode_isidentifier_impl 5976600
unicode_islower_impl 2233430
unicode_isnumeric_impl 2228250
unicode_isprintable_impl 1422190
unicode_isspace_impl 3418290
unicode_istitle_impl 2228270
unicode_isupper_impl 3595200
unicode_iter 1023510
unicode_join 6856160
unicode_kind_name 12
unicode_length 25316800
unicode_ljust_impl 25593
unicode_lower_impl 4048230
unicode_lstrip_impl 232904
unicode_maketrans_impl 138
unicode_mod 1017680
unicode_modifiable 17166300
unicode_new_empty 5934120
unicode_new_impl 1204760
unicode_partition 164174
unicode_removeprefix_impl 30314
unicode_removesuffix_impl 28
unicode_repeat 1670150
unicode_replace_impl 3239040
unicode_repr 652601
unicode_resize 1402650
unicode_result 13855900
unicode_result_unchanged 19182000
unicode_rfind 1479480
unicode_rindex 198
unicode_rjust_impl 48279
unicode_rpartition 1735760
unicode_rsplit_impl 3824
unicode_rstrip_impl 6814170
unicode_sizeof_impl 12
unicode_split_impl 2172230
unicode_splitlines_impl 287964
unicode_startswith 8892020
unicode_static_dealloc 8361050
unicode_str 61346
unicode_strip_impl 1138010
unicode_subscript 80396700
unicode_subtype_new 128750
unicode_swapcase_impl 29
unicode_title_impl 4458370
unicode_translate 99461
unicode_translate_call_errorhandler 0
unicode_upper_impl 3413000
unicode_write_cstr 3
unicode_zfill_impl 64
unicodeiter_dealloc 1023510
unicodeiter_len 12060
unicodeiter_next 369665
unicodeiter_reduce 438
unicodeiter_setstate 564
unicodeiter_traverse 354
xmlcharrefreplace 1242

Generated by: LCOV version 1.14