LCOV - code coverage report
Current view: | top level - Objects - memoryobject.c (source / functions) |  |  | Hit | Total | Coverage
Test: | CPython 3.12 LCOV report [commit 5e6661bce9] |  | Lines: | 274 | 1391 | 19.7 %
Date: | 2023-03-20 08:15:36 |  | Functions: | 34 | 107 | 31.8 %
|  |  | Branches: | 117 | 1058 | 11.1 %

Function Name | Hit count
PyBuffer_ToContiguous | 165
PyMemoryView_FromBuffer | 4852
PyMemoryView_FromMemory | 0
PyMemoryView_FromObject | 389
PyMemoryView_GetContiguous | 0
_IntTupleFromSsizet | 0
_PyManagedBuffer_FromObject | 389
_memory_release | 5630
adjust_fmt | 3
buffer_to_contiguous | 0
cast_to_1D | 3
cast_to_ND | 0
cmp_base | 0
cmp_rec | 0
copy_base | 0
copy_buffer | 0
copy_rec | 0
copy_shape | 0
copy_single | 0
equiv_format | 0
equiv_shape | 0
equiv_structure | 0
fix_error_int | 0
fix_struct_error_int | 0
get_native_fmtchar | 6
get_native_fmtstr | 3
init_flags | 6016
init_fortran_strides_from_shape | 0
init_len | 386
init_shape_strides | 5627
init_shared_values | 5630
init_slice | 386
init_strides_from_shape | 0
init_suboffsets | 5627
is_multiindex | 0
is_multislice | 0
last_dim_is_contiguous | 0
lookup_dimension | 0
mbuf_add_incomplete_view | 3
mbuf_add_view | 5627
mbuf_alloc | 5241
mbuf_clear | 0
mbuf_copy_format | 0
mbuf_dealloc | 5241
mbuf_release | 10482
mbuf_traverse | 72
memory_alloc | 5630
memory_ass_sub | 0
memory_c_contiguous | 0
memory_clear | 0
memory_contiguous | 0
memory_dealloc | 5630
memory_enter | 0
memory_exit | 0
memory_f_contiguous | 0
memory_format_get | 0
memory_from_contiguous_copy | 0
memory_getbuf | 5238
memory_hash | 0
memory_item | 0
memory_item_multi | 0
memory_itemsize_get | 6
memory_iter | 0
memory_length | 3
memory_nbytes_get | 0
memory_ndim_get | 0
memory_obj_get | 0
memory_readonly_get | 0
memory_releasebuf | 5238
memory_repr | 0
memory_richcompare | 0
memory_shape_get | 0
memory_strides_get | 0
memory_suboffsets_get | 0
memory_subscript | 386
memory_traverse | 72
memoryiter_dealloc | 0
memoryiter_next | 0
memoryiter_traverse | 0
memoryview_cast_impl | 3
memoryview_hex_impl | 0
memoryview_impl | 389
memoryview_release_impl | 0
memoryview_tobytes_impl | 0
memoryview_tolist_impl | 3
memoryview_toreadonly_impl | 0
pack_single | 0
ptr_from_index | 0
ptr_from_tuple | 0
pylong_as_ld | 0
pylong_as_lld | 0
pylong_as_llu | 0
pylong_as_lu | 0
pylong_as_zd | 0
pylong_as_zu | 0
struct_get_unpacker | 0
struct_unpack_cmp | 0
struct_unpack_single | 0
tolist_base | 3
tolist_rec | 0
type_error_int | 0
unpack_cmp | 0
unpack_single | 192
unpacker_free | 0
unpacker_new | 0
value_error_int | 0
zero_in_shape | 0

Generated by: LCOV version 1.14