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

Generated by: LCOV version 1.14