LCOV - code coverage report
Current view:
top level
-
Modules/_decimal
- _decimal.c
(
source
/ functions)
Hit
Total
Coverage
Test:
CPython 3.12 LCOV report [commit acb105a7c1f]
Lines:
1873
2174
86.2 %
Date:
2022-07-20 13:12:14
Functions:
243
247
98.4 %
Branches:
1604
2171
73.9 %
Function Name
Hit count
dec_traphandler
0
runtime_error_int
0
runtime_error_ptr
0
signaldict_repr
0
PyDecType_FromSsize
1
_mpd_round
1
dec_imag
1
dec_real
1
flags_as_dict
1
signaldict_copy
1
signaldict_len
1
context_getetiny
2
context_getetop
2
context_repr
2
dec_conjugate
2
dec_mpd_iscanonical
2
dec_mpd_issigned
2
dec_mpd_issnan
2
dec_mpd_qcopy_abs
2
dec_mpd_qcopy_negate
2
dotsep_as_utf8
2
PyDecType_FromSsizeExact
3
ctx_mpd_radix
3
dec_canonical
3
dec_mpd_compare_total_mag
3
dec_mpd_iszero
3
dec_sizeof
3
context_clear_traps
4
ctx_canonical
4
dec_copy
4
dec_mpd_adjexp
4
dec_mpd_compare_total
4
dec_mpd_isqnan
4
dec_mpd_qnext_toward
4
dec_mpd_same_quantum
4
dec_replace_fillchar
4
dec_mpd_radix
5
dec_mpd_isnormal
6
dec_mpd_issubnormal
6
dec_mpd_qcopy_sign
6
dec_mpd_qxor
6
dec_mpd_to_eng
6
nm_mpd_qplus
6
dec_mpd_class
7
dec_mpd_qinvert
7
dec_mpd_qreduce
7
dec_mpd_qand
8
dec_mpd_qcompare
8
dec_mpd_qcompare_signal
8
dec_mpd_qlogb
8
dec_mpd_qmax_mag
8
dec_mpd_qmin
8
dec_mpd_qmin_mag
8
dec_mpd_qor
8
dec_mpd_qrem_near
8
dec_mpd_qscaleb
8
dec_mpd_qshift
8
nm_nonzero
8
PyDecType_FromSequence
9
ctx_from_float
9
dec_mpd_isinfinite
9
dec_mpd_qexp
9
dec_mpd_qln
9
dec_mpd_qrotate
9
nm_mpd_qrem
9
context_setstatus_dict
10
context_settraps_dict
10
ctx_mpd_qdivmod
10
dec_mpd_qlog10
10
dec_mpd_qmax
10
nm_mpd_qdivint
10
PyDecType_FromLong
12
dec_mpd_qnext_minus
13
dec_ceil
14
dec_floor
14
dec_mpd_qnext_plus
14
nm_mpd_qdivmod
15
PyDec_ToIntegralExact
16
dec_complex
17
dec_mpd_qfma
17
dec_reduce
18
type_error_int
19
dec_mpd_isnan
23
dict_as_flags
24
init_current_context
24
PyDec_GetCurrentContext
30
signaldict_richcompare
33
dec_strdup
40
dec_mpd_isfinite
43
PyDecType_FromSequenceExact
44
value_error_int
44
PyDec_AsTuple
50
PyInit__decimal
50
init_basic_context
50
init_extended_context
50
dec_mpd_qsqrt
51
PyDec_Round
52
dectuple_as_str
53
nm_mpd_qminus
59
multiply_by_denominator
73
nm_mpd_qpow
88
sequence_as_tuple
94
cfunc_noargs
100
numerator_as_decimal
100
dict_get_item_string
102
ctx_copy_decimal
133
ctx_mpd_qcopy_abs
134
ctx_mpd_qcopy_negate
134
ctxmanager_restore_global
149
ctxmanager_set_local
149
ctxmanager_dealloc
159
ctxmanager_new
162
flags_as_exception
166
flags_as_list
166
ctx_mpd_qround_to_int
173
ctx_mpd_class
175
context_copy
196
nm_mpd_qsub
202
ctx_iscanonical
212
ctx_mpd_isfinite
214
ctx_mpd_isinfinite
214
ctx_mpd_isnan
214
ctx_mpd_isnormal
214
ctx_mpd_isqnan
214
ctx_mpd_issigned
214
ctx_mpd_issnan
214
ctx_mpd_issubnormal
214
ctx_mpd_iszero
214
format_spec_z_search
217
PyDecType_FromFloat
218
ctx_mpd_qminus
218
dec_format
220
PyDecContext_Apply
224
dec_apply
225
nm_mpd_qadd
232
ctx_mpd_qplus
235
ctx_mpd_qabs
256
ctx_mpd_qnext_minus
273
ctx_mpd_qnext_plus
275
PyDec_SetCurrentContext
311
ctx_mpd_qcopy_sign
334
ctx_mpd_qlogb
346
ctx_mpd_qlog10
388
ctx_mpd_qln
413
ctx_mpd_qreduce
437
ctx_mpd_qexp
439
ctx_mpd_qinvert
476
dec_trunc
500
nm_mpd_qabs
520
ctx_mpd_qround_to_intx
536
ctx_mpd_qscaleb
545
ctx_mpd_to_eng
644
ctx_mpd_qrotate
673
ctx_mpd_qshift
678
ctx_mpd_qmin_mag
772
ctx_mpd_qmax_mag
802
ctx_mpd_qmin
814
ctx_mpd_qmax
846
ctx_mpd_qor
861
ctx_mpd_qxor
910
ctx_mpd_qand
930
ctx_mpd_qnext_toward
950
ctx_mpd_same_quantum
1007
PyDec_ToIntegralValue
1028
ctx_mpd_qcompare_signal
1121
dec_from_float
1223
PyDec_AsFloat
1489
ctx_mpd_qrem_near
1505
ctx_mpd_compare_total_mag
1892
ctx_mpd_compare_total
1906
ctx_mpd_qdivint
1937
ctx_mpd_qquantize
2136
ctx_mpd_qrem
2325
ctx_mpd_qmul
2474
ctx_mpd_qsub
2569
ctx_mpd_qcompare
2749
PyDecType_FromDecimalExact
3025
ctx_mpd_qdiv
3050
context_setattr
3168
ctx_mpd_to_sci
3303
ctx_mpd_qsqrt
3597
PyDecType_FromUnicode
3957
PyDecType_FromCString
3962
PyDec_FromObject
4193
ctx_create_decimal
4194
dec_repr
4742
_dec_hash
5097
ctx_mpd_qpow
5329
ctx_mpd_qfma
5417
ctx_mpd_qadd
5643
dec_hash
5768
dec_mpd_qquantize
7187
context_reduce
7782
context_getcapitals
7795
context_getclamp
7795
context_getround
7795
context_getemax
7798
context_getemin
7800
context_getprec
7820
nm_dec_as_long
9564
dec_as_integer_ratio
12410
PyDecType_FromFloatExact
13382
nm_mpd_qdiv
15130
context_setstatus_list
15561
context_settraps_list
15562
signals_as_list
15564
context_setcapitals
15582
signaldict_iter
15597
context_setclamp
15685
context_setemin
15999
context_setemax
16004
context_dealloc
16239
context_init
16389
context_new
16389
context_setround
16428
context_setattrs
16548
context_setprec
16920
getround
17452
convert_op_cmp
20627
dec_richcompare
20627
dec_as_long
22490
nm_mpd_qmul
23934
list_as_flags
31123
signaldict_init
32778
dec_str
59944
_dec_settriple
61584
unicode_fromascii
63893
context_clear_flags
65534
PyDecType_FromLongExact
76846
dec_from_long
76858
incr_true
118311
PyDecType_FromUnicodeExactWS
131610
PyDecType_FromCStringExact
131640
numeric_as_ascii
135567
PyDecType_FromObjectExact
196677
dec_new
196679
convert_op
214713
current_context
238210
is_space
263251
PyDecType_New
331493
dec_dealloc
331493
dec_addstatus
375967
incr_false
608331
signaldict_setitem
637614
signaldict_getitem
723325
context_getattr
1433526
exception_as_flag
1485377
Generated by:
LCOV version 1.14