| Class: | System.Net.Http.Headers.NameValueHeaderValue |
|---|---|
| Assembly: | System.Net.Http |
| File(s): | https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Net.Http/src/System/Net/Http/Headers/NameValueHeaderValue.cs |
| Covered lines: | 116 |
|---|---|
| Uncovered lines: | 118 |
| Coverable lines: | 234 |
| Total lines: | 393 |
| Line coverage: | 49.5% |
| Covered branches: | 40 |
|---|---|
| Total branches: | 92 |
| Branch coverage: | 43.4% |
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% |
| .ctor(...) | 100% | 1 | 1 | 0% |
| .ctor(...) | 100% | 1 | 1 | 0% |
| .ctor(...) | 100% | 1 | 1 | 0% |
| GetHashCode() | 0% | 4 | 4 | 0% |
| Equals(...) | 0% | 8 | 8 | 0% |
| Parse(...) | 100% | 1 | 1 | 0% |
| TryParse(...) | 0% | 2 | 2 | 0% |
| ToString() | 100% | 2 | 2 | 100% |
| AddToStringBuilder(...) | 75% | 4 | 4 | 78.57% |
| ToString(...) | 100% | 10 | 10 | 100% |
| GetHashCode(...) | 0% | 6 | 6 | 0% |
| GetNameValueLength(...) | 100% | 1 | 1 | 100% |
| GetNameValueLength(...) | 91.66% | 12 | 12 | 100% |
| GetNameValueListLength(...) | 90% | 10 | 10 | 100% |
| Find(...) | 0% | 10 | 10 | 0% |
| GetValueLength(...) | 83.33% | 6 | 6 | 92.85% |
| CheckNameValueFormat(...) | 100% | 1 | 1 | 0% |
| CheckValueFormat(...) | 0% | 18 | 18 | 0% |
| ThrowFormatException(System.String) | 100% | 1 | 1 | 0% |
| CreateNameValue() | 100% | 1 | 1 | 100% |
| System.ICloneable.Clone() | 100% | 1 | 1 | 0% |
Error during reading file 'https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Net.Http/src/System/Net/Http/Headers/NameValueHeaderValue.cs': Response status code does not indicate success: 404 (Not Found).