| Class: | System.Text.Json.Serialization.PipeReadBufferState |
|---|---|
| Assembly: | System.Text.Json |
| File(s): | https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/PipeReadBufferState.cs |
| Covered lines: | 66 |
|---|---|
| Uncovered lines: | 19 |
| Coverable lines: | 85 |
| Total lines: | 148 |
| Line coverage: | 77.6% |
| Covered branches: | 19 |
|---|---|
| Total branches: | 30 |
| Branch coverage: | 63.3% |
Feature is only available for sponsors
Upgrade to PRO version| Method | Branch coverage | Cyclomatic complexity | NPath complexity | Sequence coverage |
|---|---|---|---|---|
| .ctor(...) | 100% | 1 | 1 | 100% |
| Advance(...) | 100% | 2 | 2 | 100% |
| ReadAsync() | 50% | 4 | 4 | 78.57% |
| Read(...) | 100% | 1 | 1 | 0% |
| GetReader(...) | 50% | 2 | 2 | 54.54% |
| ProcessReadBytes() | 65% | 20 | 20 | 80% |
| Dispose() | 50% | 2 | 2 | 71.42% |
Error during reading file 'https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/PipeReadBufferState.cs': Response status code does not indicate success: 404 (Not Found).