| Class: | System.IO.SubReadStream |
|---|---|
| Assembly: | System.IO.Compression |
| File(s): | https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/Common/src/System/IO/SubReadStream.cs |
| Covered lines: | 58 |
|---|---|
| Uncovered lines: | 63 |
| Coverable lines: | 121 |
| Total lines: | 287 |
| Line coverage: | 47.9% |
| Covered branches: | 9 |
|---|---|
| Total branches: | 32 |
| Branch coverage: | 28.1% |
Feature is only available for sponsors
Upgrade to PRO version| Method | Branch coverage | Cyclomatic complexity | NPath complexity | Sequence coverage |
|---|---|---|---|---|
| .ctor(...) | 50% | 2 | 2 | 85.71% |
| LimitByRemaining(...) | 100% | 1 | 1 | 100% |
| ThrowIfDisposed() | 100% | 1 | 1 | 100% |
| ThrowIfCantRead() | 50% | 2 | 2 | 60% |
| ThrowIfBeyondEndOfStream() | 50% | 2 | 2 | 60% |
| Read(...) | 100% | 1 | 1 | 0% |
| Read(...) | 75% | 4 | 4 | 100% |
| ReadByte() | 0% | 2 | 2 | 0% |
| ReadAsync(...) | 100% | 1 | 1 | 0% |
| ReadAsync(...) | 100% | 1 | 1 | 100% |
| ReadAsyncCore(...) | 75% | 4 | 4 | 100% |
| Seek(...) | 0% | 8 | 8 | 0% |
| SetLength(...) | 100% | 1 | 1 | 0% |
| Write(...) | 100% | 1 | 1 | 0% |
| Flush() | 100% | 1 | 1 | 0% |
| FlushAsync(...) | 0% | 2 | 2 | 0% |
| Dispose(...) | 100% | 1 | 1 | 100% |
Error during reading file 'https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/Common/src/System/IO/SubReadStream.cs': Response status code does not indicate success: 404 (Not Found).