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

Generated by: LCOV version 1.14