LCOV - code coverage report
Current view:
top level
-
Objects
- memoryobject.c
(
source
/ functions)
Hit
Total
Coverage
Test:
CPython 3.12 LCOV report [commit acb105a7c1f]
Lines:
1290
1381
93.4 %
Date:
2022-07-20 13:12:14
Functions:
106
107
99.1 %
Branches:
895
1048
85.4 %
Function Name
Hit count
memoryiter_traverse
0
mbuf_clear
2
memory_clear
2
fix_struct_error_int
5
memory_item_multi
16
value_error_int
33
ptr_from_tuple
37
memory_repr
57
pylong_as_lld
57
pylong_as_llu
57
pylong_as_zd
62
is_multislice
69
memoryiter_dealloc
70
memory_iter
72
pylong_as_zu
75
is_multiindex
109
memoryiter_next
292
memory_hash
293
fix_error_int
663
type_error_int
690
memory_f_contiguous
1079
memory_contiguous
1119
pylong_as_lu
3086
memory_c_contiguous
3368
copy_single
5863
memoryview_hex_impl
11344
copy_shape
11889
cast_to_ND
11890
pylong_as_ld
16088
pack_single
21127
mbuf_copy_format
22620
memory_from_contiguous_copy
22620
zero_in_shape
26300
memory_ass_sub
27149
memoryview_toreadonly_impl
27659
struct_get_unpacker
30787
unpacker_new
30787
get_native_fmtstr
31614
PyMemoryView_GetContiguous
34059
mbuf_traverse
36468
memory_traverse
36514
cast_to_1D
39842
memoryview_cast_impl
40031
memory_exit
45016
memory_enter
45043
memoryview_release_impl
45370
init_fortran_strides_from_shape
53492
mbuf_add_incomplete_view
62462
memory_item
63165
memoryview_tolist_impl
67354
memory_strides_get
71747
memory_shape_get
73702
memory_ndim_get
81090
ptr_from_index
84307
lookup_dimension
84355
memory_format_get
88201
memory_obj_get
91944
memory_nbytes_get
93641
memory_readonly_get
98424
memory_suboffsets_get
101032
memory_itemsize_get
101628
adjust_fmt
157714
memory_richcompare
163313
struct_unpack_cmp
178073
init_strides_from_shape
179459
PyMemoryView_FromMemory
180347
init_len
198334
buffer_to_contiguous
198443
memory_length
203781
init_slice
204200
copy_buffer
221063
memoryview_tobytes_impl
221268
last_dim_is_contiguous
225981
equiv_format
226924
equiv_structure
226924
_IntTupleFromSsizet
246424
memory_subscript
261495
unpacker_free
326631
struct_unpack_single
356146
tolist_base
359072
copy_base
361846
tolist_rec
380912
equiv_shape
389985
get_native_fmtchar
398439
cmp_base
446504
copy_rec
458209
cmp_rec
468086
PyBuffer_ToContiguous
575490
memoryview_impl
608988
_PyManagedBuffer_FromObject
705328
PyMemoryView_FromObject
714796
PyMemoryView_FromBuffer
1041534
mbuf_dealloc
1927164
mbuf_alloc
1927208
mbuf_add_view
2162068
memory_dealloc
2224475
memory_alloc
2224524
_memory_release
2269847
init_shape_strides
2360501
init_suboffsets
2360501
init_shared_values
2422963
init_flags
2426511
unpack_single
3285423
mbuf_release
3853807
memory_releasebuf
4532903
memory_getbuf
4547042
unpack_cmp
5768676
Generated by:
LCOV version 1.14