LCOV - code coverage report
Current view: top level - Objects - longobject.c (source / functions) Hit Total Coverage
Test: CPython lcov report Lines: 2407 2719 88.5 %
Date: 2022-07-07 18:19:46 Functions: 130 131 99.2 %

Function Name Sort by function name Hit count Sort by hit count
PyLong_AsDouble 7223120
PyLong_AsLong 42908100
PyLong_AsLongAndOverflow 79703400
PyLong_AsLongLong 210067
PyLong_AsLongLongAndOverflow 114271
PyLong_AsSize_t 27316
PyLong_AsSsize_t 201340000
PyLong_AsUnsignedLong 5063240
PyLong_AsUnsignedLongLong 149158
PyLong_AsUnsignedLongLongMask 38242
PyLong_AsUnsignedLongMask 277874
PyLong_AsVoidPtr 29577
PyLong_FromDouble 9564700
PyLong_FromLong 119362000
PyLong_FromLongLong 6772310
PyLong_FromSize_t 344462
PyLong_FromSsize_t 92365700
PyLong_FromString 1890220
PyLong_FromUnicodeObject 1208700
PyLong_FromUnsignedLong 23205400
PyLong_FromUnsignedLongLong 1586160
PyLong_FromVoidPtr 7459730
PyLong_GetInfo 3134
_PyLong_Add 55293200
_PyLong_AsByteArray 461498
_PyLong_AsInt 26820400
_PyLong_AsUnsignedLongLongMask 38241
_PyLong_AsUnsignedLongMask 274898
_PyLong_AssignValue 44940900
_PyLong_Copy 867883
_PyLong_DivmodNear 1568
_PyLong_FiniTypes 3120
_PyLong_Format 989451
_PyLong_FormatBytesWriter 644
_PyLong_FormatWriter 727487
_PyLong_Frexp 147171
_PyLong_FromByteArray 1467730
_PyLong_FromBytes 540040
_PyLong_FromLarge 1050180
_PyLong_FromMedium 66817500
_PyLong_FromSTwoDigits 93543600
_PyLong_GCD 500155
_PyLong_InitTypes 3134
_PyLong_Lshift 121709
_PyLong_Multiply 19481300
_PyLong_Negate 615954
_PyLong_New 89043300
_PyLong_NumBits 1757250
_PyLong_Rshift 144933
_PyLong_Sign 3164710
_PyLong_Size_t_Converter 0
_PyLong_Subtract 25295000
_PyLong_UnsignedInt_Converter 4
_PyLong_UnsignedLongLong_Converter 19
_PyLong_UnsignedLong_Converter 1102
_PyLong_UnsignedShort_Converter 186614
_Py_DECREF_INT 10056600
bit_length_digit 9573080
divmod_shift 3152880
divrem1 561377
fast_floor_div 3005890
fast_mod 1870880
get_small_int 235055000
inplace_divrem1 577814
inplace_rem1 597915
int___format___impl 3643250
int___getnewargs___impl 102
int___round___impl 1855
int___sizeof___impl 12
int_as_integer_ratio_impl 79995
int_bit_count_impl 2052
int_bit_length_impl 4923740
int_from_bytes_impl 820199
int_to_bytes_impl 230849
is_medium_int 97489700
k_lopsided_mul 72
k_mul 9747150
kmul_split 11274
l_divmod 2746400
l_mod 4087900
long_abs 1389170
long_add 10546900
long_and 7660700
long_bitwise 1975710
long_bool 18521900
long_compare 78994700
long_div 3600530
long_divmod 1421190
long_divrem 2153730
long_float 3586380
long_format_binary 934503
long_from_binary_base 878100
long_get0 136
long_get1 261416
long_hash 58054400
long_invert 824584
long_invmod 39482
long_long 3154910
long_long_meth 261557
long_lshift 1807620
long_lshift1 1845120
long_mod 1612660
long_mul 16177300
long_neg 1508120
long_new_impl 4654510
long_normalize 32512800
long_or 2151900
long_pow 1458370
long_rem 2811250
long_richcompare 87879800
long_rshift 1464550
long_rshift1 1574410
long_sub 4742400
long_subtype_new 402099
long_to_decimal_string 7185240
long_to_decimal_string_internal 7968320
long_true_divide 2253570
long_xor 400123
maybe_small_long 13289400
medium_value 195845000
popcount_digit 176175
rem1 597915
v_complement 727626
v_iadd 8031
v_isub 13858
v_lshift 5445940
v_rshift 2704420
x_add 6177930
x_divrem 2631090
x_mul 9722290
x_sub 2382730

Generated by: LCOV version 1.14