| Class: | System.IO.Compression.CrcValidatingReadStream |
|---|---|
| Assembly: | System.IO.Compression |
| File(s): | https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.IO.Compression/src/System/IO/Compression/ZipCustomStreams.cs |
| Covered lines: | 74 |
|---|---|
| Uncovered lines: | 77 |
| Coverable lines: | 151 |
| Total lines: | 752 |
| Line coverage: | 49% |
| Covered branches: | 20 |
|---|---|
| Total branches: | 40 |
| Branch coverage: | 50% |
Feature is only available for sponsors
Upgrade to PRO version| Method | Branch coverage | Cyclomatic complexity | NPath complexity | Sequence coverage |
|---|---|---|---|---|
| .ctor(...) | 100% | 1 | 1 | 100% |
| Read(...) | 100% | 1 | 1 | 100% |
| Read(...) | 50% | 2 | 2 | 100% |
| ReadByte() | 0% | 2 | 2 | 0% |
| ReadAsync(...) | 100% | 1 | 1 | 0% |
| ReadAsync(...) | 50% | 2 | 2 | 100% |
| ProcessBytesRead(...) | 60% | 10 | 10 | 66.66% |
| ValidateCrc() | 83.33% | 6 | 6 | 77.77% |
| ResetCrcState() | 100% | 1 | 1 | 0% |
| Write(...) | 100% | 1 | 1 | 0% |
| Flush() | 100% | 1 | 1 | 0% |
| FlushAsync(...) | 100% | 1 | 1 | 0% |
| Seek(...) | 0% | 2 | 2 | 0% |
| SetLength(...) | 100% | 1 | 1 | 0% |
| ThrowIfDisposed() | 50% | 2 | 2 | 60% |
| ThrowIfCantSeek() | 0% | 2 | 2 | 0% |
| Dispose(...) | 75% | 4 | 4 | 100% |
| DisposeAsync() | 50% | 2 | 2 | 100% |
Error during reading file 'https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.IO.Compression/src/System/IO/Compression/ZipCustomStreams.cs': Response status code does not indicate success: 404 (Not Found).