LCOV - code coverage report
Current view: top level - Modules - _testbuffer.c (source / functions) Hit Total Coverage
Test: CPython 3.12 LCOV report [commit acb105a7c1f] Lines: 1150 1248 92.1 %
Date: 2022-07-20 13:12:14 Functions: 75 75 100.0 %
Branches: 736 864 85.2 %

Function Name Sort by function name Hit count Sort by hit count
ndarray_get_flags 1
ndarray_get_offset 1
ndarray_add_suboffsets 4
ndarray_pop 6
PyInit__testbuffer 8
staticarray_dealloc 9
staticarray_init 9
staticarray_new 9
staticarray_getbuf 10
ndarray_hash 20
ndarray_memoryview_from_buffer 26
get_sizeof_void_p 73
ndarray_push 75
ndarray_fortran_contig 1060
pack_single 1296
ndarray_contig 1345
ndarray_c_contig 3604
slice_indices 4823
init_suboffsets 6182
ndarray_ass_subscript 6406
ndarray_item 6949
ptr_from_index 8421
copy_structure 10333
init_slice 11170
ndarray_subscript 15394
ndarray_get_obj 15991
cmp_structure 16442
copy_buffer 16442
ndarray_get_nbytes 22102
ndarray_get_itemsize 23187
ndarray_get_ndim 23708
ndarray_get_format 23868
init_flags 26109
ndarray_tobytes 26504
copy_rec 26830
ndarray_get_shape 30838
fmtcmp 34015
cmp_contig 34018
get_contiguous 34066
ndarray_get_strides 40271
ndarray_get_suboffsets 41147
ndarray_get_readonly 41621
ndarray_as_list 52672
ndarray_tolist 52672
ndarray_init_staticbuf 54321
arraycmp 62833
is_contiguous 77561
get_pointer 89544
unpack_single 94183
py_buffer_to_contiguous 94581
ssize_array_as_tuple 112256
verify_structure 147713
ndbuf_pop 149727
ndbuf_delete 149731
ndbuf_push 149731
get_format 149802
init_structure 149802
init_simple 149814
ndbuf_free 149814
pack_from_list 149814
ndbuf_new 149943
get_itemsize 149958
init_ndbuf 149973
ndarray_push_base 149973
seq_as_ssize_array 150830
get_nmemb 151110
strides_from_shape 156650
init_len 157984
ndarray_init 192394
ndarray_dealloc 204249
ndarray_new 204249
get_ascii_order 206184
ndarray_releasebuf 663378
ndarray_getbuf 678565
unpack_rec 1157966

Generated by: LCOV version 1.14