LCOV - code coverage report
Current view: top level - Modules/_io - textio.c (source / functions) Hit Total Coverage
Test: CPython 3.12 LCOV report [commit acb105a7c1f] Lines: 1217 1422 85.6 %
Date: 2022-07-20 13:12:14 Functions: 75 75 100.0 %
Branches: 865 1156 74.8 %

Function Name Sort by function name Hit count Sort by hit count
_PyIO_find_line_ending 2989247
_PyIncrementalNewlineDecoder_decode 142854
_io_IncrementalNewlineDecoder___init___impl 15026
_io_IncrementalNewlineDecoder_decode_impl 20997
_io_IncrementalNewlineDecoder_getstate_impl 34235
_io_IncrementalNewlineDecoder_reset_impl 5172
_io_IncrementalNewlineDecoder_setstate 4035
_io_TextIOWrapper___init___impl 36772
_io_TextIOWrapper_close_impl 34519
_io_TextIOWrapper_detach_impl 546
_io_TextIOWrapper_fileno_impl 14963
_io_TextIOWrapper_flush_impl 123135
_io_TextIOWrapper_isatty_impl 349
_io_TextIOWrapper_read_impl 18562
_io_TextIOWrapper_readable_impl 2
_io_TextIOWrapper_readline_impl 566792
_io_TextIOWrapper_reconfigure_impl 36
_io_TextIOWrapper_seek_impl 2697
_io_TextIOWrapper_seekable_impl 4
_io_TextIOWrapper_tell_impl 2266
_io_TextIOWrapper_truncate_impl 29
_io_TextIOWrapper_writable_impl 2
_io_TextIOWrapper_write_impl 895167
_textiowrapper_decode 32805
_textiowrapper_decoder_setstate 6441
_textiowrapper_encoder_reset 1010
_textiowrapper_encoder_setstate 955
_textiowrapper_fix_encoder_state 36780
_textiowrapper_readline 2846346
_textiowrapper_set_decoder 36781
_textiowrapper_set_encoder 36780
_textiowrapper_writeflush 3011950
_unsupported 25
ascii_encode 66
check_decoded 199944
convert_optional_bool 68
find_control_char 2950380
incrementalnewlinedecoder_dealloc 15022
incrementalnewlinedecoder_newlines_get 86
io_check_errors 10765
is_asciicompat_encoding 893868
latin1_encode 69
set_newline 36774
textiobase_detach 1
textiobase_encoding_get 1459
textiobase_errors_get 2
textiobase_newlines_get 2
textiobase_read 1
textiobase_readline 1
textiobase_write 2
textiowrapper_build_cookie 1875
textiowrapper_change_encoding 34
textiowrapper_chunk_size_get 4
textiowrapper_chunk_size_set 104
textiowrapper_clear 37740
textiowrapper_closed_get 290628
textiowrapper_dealloc 36701
textiowrapper_errors_get 685
textiowrapper_get_decoded_chars 21623
textiowrapper_iternext 2279554
textiowrapper_name_get 193
textiowrapper_newlines_get 20
textiowrapper_parse_cookie 2626
textiowrapper_read_chunk 32819
textiowrapper_repr 25
textiowrapper_set_decoded_chars 962755
textiowrapper_traverse 194793
utf16_encode 148
utf16be_encode 40
utf16le_encode 152
utf32_encode 91
utf32be_encode 28
utf32le_encode 98
utf8_encode 948
validate_newline 36779

Generated by: LCOV version 1.14