LCOV - code coverage report
Current view: top level - Modules/cjkcodecs - multibytecodec.c (source / functions) Hit Total Coverage
Test: CPython 3.12 LCOV report [commit acb105a7c1f] Lines: 689 923 74.6 %
Date: 2022-07-20 13:12:14 Functions: 54 58 93.1 %
Branches: 375 643 58.3 %

Function Name Sort by function name Hit count Sort by hit count
codecctx_errors_get 0
mbiencoder_traverse 0
mbstreamreader_traverse 0
mbstreamwriter_traverse 0
mbidecoder_traverse 2
_multibytecodec_MultibyteIncrementalDecoder_reset_impl 4
_multibytecodec_MultibyteStreamWriter_reset_impl 19
_multibytecodec_MultibyteIncrementalEncoder_reset_impl 24
PyInit__multibytecodec 25
_multibytecodec_exec 25
_multibytecodec_free 25
_multibytecodec_clear 32
codecctx_errors_set 76
_multibytecodec_MultibyteStreamReader_reset_impl 120
_multibytecodec___create_codec 142
multibytecodec_dealloc 142
_multibytecodec_MultibyteIncrementalEncoder_getstate_impl 177
_multibytecodec_MultibyteIncrementalEncoder_setstate_impl 177
expand_encodebuffer 279
_multibytecodec_MultibyteIncrementalDecoder_setstate_impl 305
_multibytecodec_MultibyteIncrementalDecoder_getstate_impl 329
_multibytecodec_MultibyteStreamWriter_writelines_impl 722
_multibytecodec_traverse 814
mbidecoder_dealloc 1263
mbidecoder_init 1263
mbidecoder_new 1263
mbiencoder_dealloc 1263
mbiencoder_init 1263
mbiencoder_new 1263
mbstreamwriter_init 2212
mbstreamwriter_dealloc 2213
mbstreamwriter_new 2213
mbstreamreader_init 2272
mbstreamreader_dealloc 2273
mbstreamreader_new 2273
call_error_callback 2841
multibytecodec_decerror 3087
multibytecodec_traverse 5042
_multibyte_codec_find_state_by_type 7010
_multibytecodec_get_state 8023
_multibytecodec_MultibyteIncrementalEncoder_encode_impl 27427
_multibytecodec_MultibyteStreamReader_readlines_impl 42031
_multibytecodec_MultibyteStreamReader_read_impl 42296
_multibytecodec_MultibyteStreamReader_readline_impl 44831
_multibytecodec_MultibyteIncrementalDecoder_decode_impl 47789
_multibytecodec_MultibyteStreamWriter_write_impl 55150
mbstreamwriter_iwrite 60698
decoder_append_pending 72561
encoder_encode_stateful 88125
mbstreamreader_iread 129158
_multibytecodec_MultibyteCodec_decode_impl 186024
decoder_feed_buffer 191010
decoder_prepare_buffer 193233
multibytecodec_encerror 1051723
_multibytecodec_MultibyteCodec_encode_impl 1234932
multibytecodec_encode 1325783
make_tuple 1420773
internal_error_callback 1428023

Generated by: LCOV version 1.14