< Summary

Line coverage
19%
Covered lines: 43
Uncovered lines: 178
Coverable lines: 221
Total lines: 362
Line coverage: 19.4%
Branch coverage
21%
Covered branches: 21
Total branches: 96
Branch coverage: 21.8%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
.cctor()100%110%
SetQuality(...)0%660%
Encode5987(...)0%10100%
AddHexEscaped(...)100%110%
GetQuality(...)0%660%
CheckValidToken(...)50%2266.66%
CheckValidComment(...)50%4471.42%
CheckValidQuotedString(...)50%4471.42%
AreEqualCollections(...)100%110%
AreEqualCollections(...)0%26260%
GetNextNonEmptyOrWhitespaceIndex(...)100%1010100%
GetDateTimeOffsetValue(...)0%660%
GetTimeSpanValue(...)0%220%
TryParseInt32(...)100%110%
TryParseInt32(...)50%6657.14%
TryParseInt64(...)50%6657.14%
DumpHeaders(...)0%440%
Clone(...)0%440%

File(s)

https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Net.Http/src/System/Net/Http/Headers/HeaderUtilities.cs

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).

Methods/Properties

.cctor()
SetQuality(System.Net.Http.Headers.UnvalidatedObjectCollection`1<System.Net.Http.Headers.NameValueHeaderValue>,System.Nullable`1<System.Double>)
Encode5987(System.String)
AddHexEscaped(System.Byte,System.Text.ValueStringBuilder&)
GetQuality(System.Net.Http.Headers.UnvalidatedObjectCollection`1<System.Net.Http.Headers.NameValueHeaderValue>)
CheckValidToken(System.String,System.String)
CheckValidComment(System.String,System.String)
CheckValidQuotedString(System.String,System.String)
AreEqualCollections(System.Net.Http.Headers.ObjectCollection`1<T>,System.Net.Http.Headers.ObjectCollection`1<T>)
AreEqualCollections(System.Net.Http.Headers.ObjectCollection`1<T>,System.Net.Http.Headers.ObjectCollection`1<T>,System.Collections.Generic.IEqualityComparer`1<T>)
GetNextNonEmptyOrWhitespaceIndex(System.String,System.Int32,System.Boolean,System.Boolean&)
GetDateTimeOffsetValue(System.Net.Http.Headers.HeaderDescriptor,System.Net.Http.Headers.HttpHeaders,System.Nullable`1<System.DateTimeOffset>)
GetTimeSpanValue(System.Net.Http.Headers.HeaderDescriptor,System.Net.Http.Headers.HttpHeaders)
TryParseInt32(System.String,System.Int32&)
TryParseInt32(System.String,System.Int32,System.Int32,System.Int32&)
TryParseInt64(System.String,System.Int32,System.Int32,System.Int64&)
DumpHeaders(System.Text.ValueStringBuilder&,System.ReadOnlySpan`1<System.Net.Http.Headers.HttpHeaders>)
Clone(System.Net.Http.Headers.UnvalidatedObjectCollection`1<System.Net.Http.Headers.NameValueHeaderValue>)