Coverage report: 96%

Files Functions Classes

coverage.py v7.6.12, created at 2025-02-12 21:24 +0000

File function statements missing excluded coverage
tests/__init__.py (no function) 1 0 0 100%
tests/__main__.py testmod 4 0 0 100%
tests/__main__.py run_doc_tests 14 2 0 86%
tests/__main__.py typed_nwise_stuff 6 0 0 100%
tests/__main__.py assert_raises 5 0 3 100%
tests/__main__.py raise_exceptions 7 0 0 100%
tests/__main__.py create_int_stream 1 0 0 100%
tests/__main__.py (no function) 427 19 8 96%
tests/test_functions.py (no function) 53 0 0 100%
typed_stream/__init__.py (no function) 8 0 0 100%
typed_stream/__main__.py run_program 82 8 0 90%
typed_stream/__main__.py main 22 22 0 0%
typed_stream/__main__.py (no function) 26 1 0 96%
typed_stream/_impl/__init__.py (no function) 5 0 0 100%
typed_stream/_impl/_default_value.py (no function) 7 0 0 100%
typed_stream/_impl/_iteration_utils.py count 1 0 0 100%
typed_stream/_impl/_iteration_utils.py Chunked.__init__ 4 1 0 75%
typed_stream/_impl/_iteration_utils.py Chunked.__next__ 3 0 0 100%
typed_stream/_impl/_iteration_utils.py Chunked._get_args 1 0 0 100%
typed_stream/_impl/_iteration_utils.py Enumerator.__init__ 2 0 0 100%
typed_stream/_impl/_iteration_utils.py Enumerator.__next__ 3 0 0 100%
typed_stream/_impl/_iteration_utils.py Enumerator._get_args 1 0 0 100%
typed_stream/_impl/_iteration_utils.py ExceptionHandler.__init__ 11 0 0 100%
typed_stream/_impl/_iteration_utils.py ExceptionHandler.__next__ 11 0 0 100%
typed_stream/_impl/_iteration_utils.py ExceptionHandler._get_args 1 0 0 100%
typed_stream/_impl/_iteration_utils.py IfElseMap.__init__ 6 1 0 83%
typed_stream/_impl/_iteration_utils.py IfElseMap.__next__ 6 0 0 100%
typed_stream/_impl/_iteration_utils.py IfElseMap._get_args 1 1 0 0%
typed_stream/_impl/_iteration_utils.py Peeker.__init__ 1 0 0 100%
typed_stream/_impl/_iteration_utils.py Peeker.__call__ 2 0 0 100%
typed_stream/_impl/_iteration_utils.py Peeker._get_args 1 0 0 100%
typed_stream/_impl/_iteration_utils.py IterWithCleanUp.__init__ 2 0 0 100%
typed_stream/_impl/_iteration_utils.py IterWithCleanUp.__iter__ 1 0 0 100%
typed_stream/_impl/_iteration_utils.py IterWithCleanUp.__next__ 9 0 0 100%
typed_stream/_impl/_iteration_utils.py IterWithCleanUp._get_args 1 0 0 100%
typed_stream/_impl/_iteration_utils.py IterWithCleanUp.close 3 0 0 100%
typed_stream/_impl/_iteration_utils.py SlidingWindow.__init__ 4 0 0 100%
typed_stream/_impl/_iteration_utils.py SlidingWindow.__next__ 11 0 0 100%
typed_stream/_impl/_iteration_utils.py SlidingWindow._get_args 1 0 0 100%
typed_stream/_impl/_iteration_utils.py SlidingWindow.size 1 0 0 100%
typed_stream/_impl/_iteration_utils.py sliding_window 0 0 1 100%
typed_stream/_impl/_iteration_utils.py sliding_window 0 0 1 100%
typed_stream/_impl/_iteration_utils.py sliding_window 0 0 1 100%
typed_stream/_impl/_iteration_utils.py sliding_window 5 0 0 100%
typed_stream/_impl/_iteration_utils.py (no function) 83 0 12 100%
typed_stream/_impl/_lazy_file_iterators.py _is_bytes 1 0 0 100%
typed_stream/_impl/_lazy_file_iterators.py LazyFileIterator.__init__ 0 0 0 100%
typed_stream/_impl/_lazy_file_iterators.py LazyFileIterator.__init__ 0 0 0 100%
typed_stream/_impl/_lazy_file_iterators.py LazyFileIterator.__init__ 0 0 0 100%
typed_stream/_impl/_lazy_file_iterators.py LazyFileIterator.__init__ 4 0 0 100%
typed_stream/_impl/_lazy_file_iterators.py LazyFileIterator.__iter__ 1 0 0 100%
typed_stream/_impl/_lazy_file_iterators.py LazyFileIterator.__next__ 9 0 0 100%
typed_stream/_impl/_lazy_file_iterators.py LazyFileIterator._get_args 1 1 0 0%
typed_stream/_impl/_lazy_file_iterators.py LazyFileIterator.close 4 0 0 100%
typed_stream/_impl/_lazy_file_iterators.py LazyFileIterator._open_file 1 0 0 100%
typed_stream/_impl/_lazy_file_iterators.py LazyFileIterator._open_file 1 0 0 100%
typed_stream/_impl/_lazy_file_iterators.py LazyFileIterator._open_file 3 0 0 100%
typed_stream/_impl/_lazy_file_iterators.py LazyFileIteratorRemovingEndsStr.__next__ 1 0 0 100%
typed_stream/_impl/_lazy_file_iterators.py LazyFileIteratorRemovingEndsBytes.__next__ 1 0 0 100%
typed_stream/_impl/_lazy_file_iterators.py (no function) 42 0 0 100%
typed_stream/_impl/_types.py TypeGuardingCallable.__call__ 0 0 0 100%
typed_stream/_impl/_types.py StarCallable.__call__ 0 0 0 100%
typed_stream/_impl/_types.py SupportsLessThan.__lt__ 0 0 0 100%
typed_stream/_impl/_types.py SupportsGreaterThan.__gt__ 0 0 0 100%
typed_stream/_impl/_types.py SupportsAdd.__add__ 0 0 0 100%
typed_stream/_impl/_types.py Closeable.close 0 0 0 100%
typed_stream/_impl/_types.py Closeable.__del__ 1 0 0 100%
typed_stream/_impl/_types.py Closeable.__enter__ 1 0 0 100%
typed_stream/_impl/_types.py Closeable.__exit__ 1 0 0 100%
typed_stream/_impl/_types.py PrettyRepr._module 1 0 0 100%
typed_stream/_impl/_types.py PrettyRepr.__repr__ 2 0 0 100%
typed_stream/_impl/_types.py PrettyRepr._get_args 0 0 1 100%
typed_stream/_impl/_types.py ClassWithCleanUp.__init__ 1 0 0 100%
typed_stream/_impl/_types.py ClassWithCleanUp._get_args 1 0 0 100%
typed_stream/_impl/_types.py ClassWithCleanUp.close 3 0 0 100%
typed_stream/_impl/_types.py IteratorProxy.__init__ 1 0 0 100%
typed_stream/_impl/_types.py IteratorProxy.__iter__ 1 0 0 100%
typed_stream/_impl/_types.py IteratorProxy.__next__ 0 0 0 100%
typed_stream/_impl/_types.py IteratorProxy._get_args 1 0 0 100%
typed_stream/_impl/_types.py (no function) 63 0 2 100%
typed_stream/_impl/_typing.py (no function) 13 2 10 85%
typed_stream/_impl/_utils.py FunctionWrapperIgnoringArgs.__init__ 1 0 0 100%
typed_stream/_impl/_utils.py FunctionWrapperIgnoringArgs.__call__ 1 0 0 100%
typed_stream/_impl/_utils.py IndexValueTuple.idx 1 0 0 100%
typed_stream/_impl/_utils.py IndexValueTuple.val 1 0 0 100%
typed_stream/_impl/_utils.py InstanceChecker.__init__ 1 0 0 100%
typed_stream/_impl/_utils.py InstanceChecker.__call__ 1 0 0 100%
typed_stream/_impl/_utils.py NoneChecker.__call__ 1 0 0 100%
typed_stream/_impl/_utils.py NoneChecker.__call__ 1 0 0 100%
typed_stream/_impl/_utils.py NoneChecker.__call__ 1 0 0 100%
typed_stream/_impl/_utils.py NotNoneChecker.__call__ 1 0 0 100%
typed_stream/_impl/_utils.py NotNoneChecker.__call__ 1 0 0 100%
typed_stream/_impl/_utils.py NotNoneChecker.__call__ 1 0 0 100%
typed_stream/_impl/_utils.py count_required_positional_arguments 1 0 0 100%
typed_stream/_impl/_utils.py raise_exception 1 1 0 0%
typed_stream/_impl/_utils.py wrap_in_tuple 1 0 0 100%
typed_stream/_impl/_utils.py (no function) 40 0 0 100%
typed_stream/_impl/file_streams.py FileStreamBase._close_source 4 1 0 75%
typed_stream/_impl/file_streams.py FileStreamBase._get_args 3 0 0 100%
typed_stream/_impl/file_streams.py FileStream.__init__ 6 0 0 100%
typed_stream/_impl/file_streams.py FileStream._module 3 1 0 67%
typed_stream/_impl/file_streams.py BinaryFileStream.__init__ 6 0 0 100%
typed_stream/_impl/file_streams.py BinaryFileStream._module 3 1 0 67%
typed_stream/_impl/file_streams.py (no function) 26 0 0 100%
typed_stream/_impl/functions.py noop 0 0 0 100%
typed_stream/_impl/functions.py one 1 0 0 100%
typed_stream/_impl/functions.py is_even 1 0 0 100%
typed_stream/_impl/functions.py is_odd 1 0 0 100%
typed_stream/_impl/functions.py is_positive 1 0 0 100%
typed_stream/_impl/functions.py is_negative 1 0 0 100%
typed_stream/_impl/functions.py method_partial.__init__ 3 0 0 100%
typed_stream/_impl/functions.py method_partial.__call__ 1 0 0 100%
typed_stream/_impl/functions.py (no function) 48 0 0 100%
typed_stream/_impl/stream.py Stream.__init__ 1 0 0 100%
typed_stream/_impl/stream.py Stream.__contains__ 4 0 0 100%
typed_stream/_impl/stream.py Stream.__getitem__ 0 0 0 100%
typed_stream/_impl/stream.py Stream.__getitem__ 0 0 0 100%
typed_stream/_impl/stream.py Stream.__getitem__ 3 0 0 100%
typed_stream/_impl/stream.py Stream.__iter__ 1 0 0 100%
typed_stream/_impl/stream.py Stream.__length_hint__ 1 0 0 100%
typed_stream/_impl/stream.py Stream.__reversed__ 1 0 0 100%
typed_stream/_impl/stream.py Stream._get_slice 7 0 0 100%
typed_stream/_impl/stream.py Stream._module 3 1 0 67%
typed_stream/_impl/stream.py Stream.counting 1 0 0 100%
typed_stream/_impl/stream.py Stream.from_value 1 0 0 100%
typed_stream/_impl/stream.py Stream.range 1 0 0 100%
typed_stream/_impl/stream.py Stream.range 1 0 0 100%
typed_stream/_impl/stream.py Stream.range 1 0 0 100%
typed_stream/_impl/stream.py Stream.range 1 0 0 100%
typed_stream/_impl/stream.py Stream.range 1 0 0 100%
typed_stream/_impl/stream.py Stream.range 0 0 0 100%
typed_stream/_impl/stream.py Stream.range 0 0 0 100%
typed_stream/_impl/stream.py Stream.range 0 0 0 100%
typed_stream/_impl/stream.py Stream.range 0 0 0 100%
typed_stream/_impl/stream.py Stream.range 16 1 0 94%
typed_stream/_impl/stream.py Stream.all 1 0 0 100%
typed_stream/_impl/stream.py Stream.catch 0 0 0 100%
typed_stream/_impl/stream.py Stream.catch 0 0 0 100%
typed_stream/_impl/stream.py Stream.catch 0 0 0 100%
typed_stream/_impl/stream.py Stream.catch 0 0 0 100%
typed_stream/_impl/stream.py Stream.catch 1 0 0 100%
typed_stream/_impl/stream.py Stream.chain 2 0 0 100%
typed_stream/_impl/stream.py Stream.chunk 1 0 0 100%
typed_stream/_impl/stream.py Stream.collect 1 0 0 100%
typed_stream/_impl/stream.py Stream.collect 0 0 0 100%
typed_stream/_impl/stream.py Stream.collect 0 0 0 100%
typed_stream/_impl/stream.py Stream.collect 0 0 0 100%
typed_stream/_impl/stream.py Stream.collect 0 0 0 100%
typed_stream/_impl/stream.py Stream.collect 0 0 0 100%
typed_stream/_impl/stream.py Stream.collect 0 0 0 100%
typed_stream/_impl/stream.py Stream.collect 0 0 0 100%
typed_stream/_impl/stream.py Stream.collect 0 0 0 100%
typed_stream/_impl/stream.py Stream.collect 0 0 0 100%
typed_stream/_impl/stream.py Stream.collect 0 0 0 100%
typed_stream/_impl/stream.py Stream.collect 1 0 0 100%
typed_stream/_impl/stream.py Stream.concurrent_map 2 0 0 100%
typed_stream/_impl/stream.py Stream.conditional_map 1 0 0 100%
typed_stream/_impl/stream.py Stream.count 1 0 0 100%
typed_stream/_impl/stream.py Stream.dedup 2 0 0 100%
typed_stream/_impl/stream.py Stream.dedup_counting 2 0 0 100%
typed_stream/_impl/stream.py Stream.dedup_counting._map 1 0 0 100%
typed_stream/_impl/stream.py Stream.distinct 7 0 0 100%
typed_stream/_impl/stream.py Stream.drop 2 0 0 100%
typed_stream/_impl/stream.py Stream.drop_while 2 0 0 100%
typed_stream/_impl/stream.py Stream.empty 5 0 0 100%
typed_stream/_impl/stream.py Stream.enumerate 1 0 0 100%
typed_stream/_impl/stream.py Stream.exclude 0 0 0 100%
typed_stream/_impl/stream.py Stream.exclude 0 0 0 100%
typed_stream/_impl/stream.py Stream.exclude 0 0 0 100%
typed_stream/_impl/stream.py Stream.exclude 0 0 0 100%
typed_stream/_impl/stream.py Stream.exclude 2 0 0 100%
typed_stream/_impl/stream.py Stream.filter 0 0 0 100%
typed_stream/_impl/stream.py Stream.filter 1 0 0 100%
typed_stream/_impl/stream.py Stream.filter 1 0 0 100%
typed_stream/_impl/stream.py Stream.filter 0 0 1 100%
typed_stream/_impl/stream.py Stream.filter 0 0 1 100%
typed_stream/_impl/stream.py Stream.filter 0 0 0 100%
typed_stream/_impl/stream.py Stream.filter 2 0 0 100%
typed_stream/_impl/stream.py Stream.first 8 0 0 100%
typed_stream/_impl/stream.py Stream.flat_map 0 0 0 100%
typed_stream/_impl/stream.py Stream.flat_map 0 0 0 100%
typed_stream/_impl/stream.py Stream.flat_map 1 0 0 100%
typed_stream/_impl/stream.py Stream.for_each 3 0 0 100%
typed_stream/_impl/stream.py Stream.last 3 0 0 100%
typed_stream/_impl/stream.py Stream.limit 2 0 0 100%
typed_stream/_impl/stream.py Stream.map 1 0 0 100%
typed_stream/_impl/stream.py Stream.map 0 0 0 100%
typed_stream/_impl/stream.py Stream.map 1 0 0 100%
typed_stream/_impl/stream.py Stream.max 1 0 0 100%
typed_stream/_impl/stream.py Stream.max 0 0 0 100%
typed_stream/_impl/stream.py Stream.max 0 0 0 100%
typed_stream/_impl/stream.py Stream.max 4 0 0 100%
typed_stream/_impl/stream.py Stream.min 1 0 0 100%
typed_stream/_impl/stream.py Stream.min 0 0 0 100%
typed_stream/_impl/stream.py Stream.min 0 0 0 100%
typed_stream/_impl/stream.py Stream.min 4 0 0 100%
typed_stream/_impl/stream.py Stream.nth 1 0 0 100%
typed_stream/_impl/stream.py Stream.nth 1 0 0 100%
typed_stream/_impl/stream.py Stream.nth 1 0 0 100%
typed_stream/_impl/stream.py Stream.nth 12 0 0 100%
typed_stream/_impl/stream.py Stream.nwise 0 0 0 100%
typed_stream/_impl/stream.py Stream.nwise 0 0 0 100%
typed_stream/_impl/stream.py Stream.nwise 0 0 0 100%
typed_stream/_impl/stream.py Stream.nwise 1 0 0 100%
typed_stream/_impl/stream.py Stream.peek 2 0 0 100%
typed_stream/_impl/stream.py Stream.reduce 7 0 0 100%
typed_stream/_impl/stream.py Stream.starcollect 1 0 0 100%
typed_stream/_impl/stream.py Stream.starmap 0 0 0 100%
typed_stream/_impl/stream.py Stream.starmap 0 0 0 100%
typed_stream/_impl/stream.py Stream.starmap 1 0 0 100%
typed_stream/_impl/stream.py Stream.sum 1 0 0 100%
typed_stream/_impl/stream.py Stream.tail 1 0 0 100%
typed_stream/_impl/stream.py Stream.take_while 2 0 0 100%
typed_stream/_impl/stream.py (no function) 188 1 24 99%
typed_stream/_impl/stream_abc.py StreamABC.__init__ 2 0 0 100%
typed_stream/_impl/stream_abc.py StreamABC._data 3 0 0 100%
typed_stream/_impl/stream_abc.py StreamABC._data 1 0 0 100%
typed_stream/_impl/stream_abc.py StreamABC._finish 8 0 0 100%
typed_stream/_impl/stream_abc.py StreamABC._get_args 4 1 0 75%
typed_stream/_impl/stream_abc.py StreamABC.close 1 0 0 100%
typed_stream/_impl/stream_abc.py StreamABC.distinct 6 0 0 100%
typed_stream/_impl/stream_abc.py StreamABC.limit 0 0 0 100%
typed_stream/_impl/stream_abc.py StreamABC.drop 0 0 0 100%
typed_stream/_impl/stream_abc.py StreamABC.peek 0 0 0 100%
typed_stream/_impl/stream_abc.py StreamABC.exclude 0 0 0 100%
typed_stream/_impl/stream_abc.py (no function) 35 0 0 100%
typed_stream/exceptions.py (no function) 9 0 0 100%
typed_stream/functions.py (no function) 2 0 0 100%
typed_stream/streamable.py Streamable.stream 2 2 0 0%
typed_stream/streamable.py StreamableSequence.__add__ 0 0 0 100%
typed_stream/streamable.py StreamableSequence.__add__ 0 0 0 100%
typed_stream/streamable.py StreamableSequence.__add__ 5 2 0 60%
typed_stream/streamable.py StreamableSequence.__mul__ 1 0 0 100%
typed_stream/streamable.py StreamableSequence.__rmul__ 1 0 0 100%
typed_stream/streamable.py StreamableSequence.__getitem__ 0 0 0 100%
typed_stream/streamable.py StreamableSequence.__getitem__ 0 0 0 100%
typed_stream/streamable.py StreamableSequence.__getitem__ 3 0 0 100%
typed_stream/streamable.py (no function) 29 0 2 100%
typed_stream/version.py (no function) 8 1 2 88%
Total   1617 71 69 96%

No items found using the specified filter.