< Summary

Line coverage
48%
Covered lines: 69
Uncovered lines: 74
Coverable lines: 143
Total lines: 293
Line coverage: 48.2%
Branch coverage
51%
Covered branches: 28
Total branches: 54
Branch coverage: 51.8%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
.ctor()100%11100%
.ctor(...)100%110%
.ctor(...)100%110%
.ctor(...)0%220%
ToString()83.33%66100%
Equals(...)0%440%
GetHashCode()100%110%
Parse(...)100%110%
TryParse(...)0%220%
GetMediaTypeLength(...)83.33%121293.33%
GetMediaTypeExpressionLength(...)85.71%1414100%
CheckMediaTypeFormat(...)0%440%
System.ICloneable.Clone()100%110%

File(s)

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

Error during reading file 'https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Net.Http/src/System/Net/Http/Headers/MediaTypeHeaderValue.cs': Response status code does not indicate success: 404 (Not Found).