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

Generated by: LCOV version 1.14