LCOV - code coverage report
Current view: | top level - Objects - longobject.c (source / functions) |  |  | Hit | Total | Coverage
Test: | CPython 3.12 LCOV report [commit 5e6661bce9] |  | Lines: | 1665 | 2680 | 62.1 %
Date: | 2023-03-20 08:15:36 |  | Functions: | 113 | 137 | 82.5 %
|  |  | Branches: | 1014 | 2018 | 50.2 %

Function Name | Hit count
PyLong_AsDouble | 483798
PyLong_AsLong | 822035
PyLong_AsLongAndOverflow | 1815326
PyLong_AsLongLong | 0
PyLong_AsLongLongAndOverflow | 113683
PyLong_AsSize_t | 91
PyLong_AsSsize_t | 1910603
PyLong_AsUnsignedLong | 5780
PyLong_AsUnsignedLongLong | 14203
PyLong_AsUnsignedLongLongMask | 8
PyLong_AsUnsignedLongMask | 6
PyLong_AsVoidPtr | 5
PyLong_FromDouble | 550204
PyLong_FromLong | 4755647
PyLong_FromLongLong | 14189
PyLong_FromSize_t | 1027
PyLong_FromSsize_t | 1673998
PyLong_FromString | 1365
PyLong_FromUnicodeObject | 841
PyLong_FromUnsignedLong | 1176208
PyLong_FromUnsignedLongLong | 141030
PyLong_FromVoidPtr | 43189
PyLong_GetInfo | 29
_PyLong_Add | 1339425
_PyLong_AsByteArray | 11704
_PyLong_AsInt | 374007
_PyLong_AsUnsignedLongLongMask | 8
_PyLong_AsUnsignedLongMask | 6
_PyLong_AssignValue | 0
_PyLong_Copy | 1214
_PyLong_DivmodNear | 0
_PyLong_FiniTypes | 25
_PyLong_Format | 270275
_PyLong_FormatBytesWriter | 0
_PyLong_FormatWriter | 134
_PyLong_Frexp | 2029
_PyLong_FromByteArray | 1183
_PyLong_FromBytes | 496
_PyLong_FromLarge | 101381
_PyLong_FromMedium | 2735177
_PyLong_FromSTwoDigits | 4039689
_PyLong_GCD | 56449
_PyLong_InitTypes | 29
_PyLong_Lshift | 62632
_PyLong_Multiply | 1665333
_PyLong_Negate | 12621
_PyLong_New | 5001469
_PyLong_NumBits | 14430
_PyLong_Rshift | 27419
_PyLong_Sign | 29011
_PyLong_Size_t_Converter | 0
_PyLong_Subtract | 1666880
_PyLong_UnsignedInt_Converter | 0
_PyLong_UnsignedLongLong_Converter | 0
_PyLong_UnsignedLong_Converter | 0
_PyLong_UnsignedShort_Converter | 0
_Py_DECREF_INT | 459221
bit_length_digit | 592664
divmod_shift | 1062195
divrem1 | 22906
fast_floor_div | 33714
fast_mod | 87
get_small_int | 7079198
inplace_divrem1 | 22906
inplace_rem1 | 9807
int___format___impl | 268271
int___getnewargs___impl | 0
int___round___impl | 0
int___sizeof___impl | 0
int_as_integer_ratio_impl | 0
int_bit_count_impl | 0
int_bit_length_impl | 260115
int_from_bytes_impl | 1183
int_is_integer_impl | 0
int_to_bytes_impl | 502
is_medium_int | 1492606
k_lopsided_mul | 0
k_mul | 1036857
kmul_split | 1918
l_divmod | 92284
l_mod | 27184
long_abs | 97248
long_add | 230851
long_and | 92552
long_bitwise | 19593
long_bool | 549608
long_compare | 320292
long_div | 125763
long_divmod | 148
long_divrem | 92197
long_float | 48376
long_format_binary | 270270
long_from_binary_base | 498
long_from_non_binary_base | 487
long_from_string_base | 1365
long_get0 | 0
long_get1 | 0
long_hash | 156692
long_invert | 18212
long_invmod | 0
long_long | 76172
long_long_meth | 3
long_lshift | 598741
long_lshift1 | 615339
long_mod | 0
long_mul | 1379792
long_neg | 59050
long_new_impl | 536594
long_normalize | 2476354
long_or | 324290
long_pow | 11362
long_rem | 27184
long_richcompare | 323165
long_rshift | 509999
long_rshift1 | 536907
long_sub | 4605
long_subtype_new | 723
long_to_decimal_string | 317511
long_to_decimal_string_internal | 317650
long_true_divide | 27
long_xor | 22
maybe_small_long | 1104435
medium_value | 8100669
popcount_digit | 0
pylong_int_divmod | 0
pylong_int_from_string | 0
pylong_int_to_decimal_string | 0
rem1 | 9807
v_complement | 1548
v_iadd | 962
v_isub | 1924
v_lshift | 171063
v_rshift | 84551
x_add | 317351
x_divrem | 84527
x_mul | 1032165
x_sub | 279542

Generated by: LCOV version 1.14