| Class: | System.Net.Http.Headers.HeaderUtilities |
|---|---|
| Assembly: | System.Net.Http |
| File(s): | https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Net.Http/src/System/Net/Http/Headers/HeaderUtilities.cs |
| Covered lines: | 43 |
|---|---|
| Uncovered lines: | 178 |
| Coverable lines: | 221 |
| Total lines: | 362 |
| Line coverage: | 19.4% |
| Covered branches: | 21 |
|---|---|
| Total branches: | 96 |
| Branch coverage: | 21.8% |
Feature is only available for sponsors
Upgrade to PRO version| Method | Branch coverage | Cyclomatic complexity | NPath complexity | Sequence coverage |
|---|---|---|---|---|
| .cctor() | 100% | 1 | 1 | 0% |
| SetQuality(...) | 0% | 6 | 6 | 0% |
| Encode5987(...) | 0% | 10 | 10 | 0% |
| AddHexEscaped(...) | 100% | 1 | 1 | 0% |
| GetQuality(...) | 0% | 6 | 6 | 0% |
| CheckValidToken(...) | 50% | 2 | 2 | 66.66% |
| CheckValidComment(...) | 50% | 4 | 4 | 71.42% |
| CheckValidQuotedString(...) | 50% | 4 | 4 | 71.42% |
| AreEqualCollections(...) | 100% | 1 | 1 | 0% |
| AreEqualCollections(...) | 0% | 26 | 26 | 0% |
| GetNextNonEmptyOrWhitespaceIndex(...) | 100% | 10 | 10 | 100% |
| GetDateTimeOffsetValue(...) | 0% | 6 | 6 | 0% |
| GetTimeSpanValue(...) | 0% | 2 | 2 | 0% |
| TryParseInt32(...) | 100% | 1 | 1 | 0% |
| TryParseInt32(...) | 50% | 6 | 6 | 57.14% |
| TryParseInt64(...) | 50% | 6 | 6 | 57.14% |
| DumpHeaders(...) | 0% | 4 | 4 | 0% |
| Clone(...) | 0% | 4 | 4 | 0% |
Error during reading file 'https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Net.Http/src/System/Net/Http/Headers/HeaderUtilities.cs': Response status code does not indicate success: 404 (Not Found).