| Class: | System.IO.Compression.ZLibNative |
|---|---|
| Assembly: | System.IO.Compression |
| File(s): | https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/Common/src/System/IO/Compression/ZLibNative.cs |
| Covered lines: | 108 |
|---|---|
| Uncovered lines: | 66 |
| Coverable lines: | 174 |
| Total lines: | 452 |
| Line coverage: | 62% |
| Covered branches: | 10 |
|---|---|
| Total branches: | 27 |
| Branch coverage: | 37% |
Feature is only available for sponsors
Upgrade to PRO version| Method | Branch coverage | Cyclomatic complexity | NPath complexity | Sequence coverage |
|---|---|---|---|---|
| .cctor() | 100% | 1 | 1 | 100% |
| .ctor() | 100% | 1 | 1 | 100% |
| CreateForDeflate(...) | 100% | 1 | 1 | 63.63% |
| CreateForInflate(...) | 100% | 1 | 1 | 63.63% |
| ReleaseHandle() | 40% | 5 | 5 | 62.5% |
| EnsureState(...) | 50% | 2 | 2 | 75% |
| EnsureNativeHandleInitialized(...) | 30% | 10 | 10 | 20% |
| DeflateInit2_(...) | 100% | 1 | 1 | 78.57% |
| Deflate(...) | 100% | 2 | 2 | 100% |
| DeflateReset() | 0% | 2 | 2 | 0% |
| DeflateEnd() | 100% | 1 | 1 | 100% |
| InflateInit2_(...) | 100% | 1 | 1 | 78.57% |
| InflateReset2_(...) | 0% | 2 | 2 | 0% |
| Inflate(...) | 100% | 2 | 2 | 100% |
| InflateEnd() | 100% | 1 | 1 | 100% |
| GetErrorMessage() | 0% | 2 | 2 | 0% |
Error during reading file 'https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/Common/src/System/IO/Compression/ZLibNative.cs': Response status code does not indicate success: 404 (Not Found).