< Summary

Line coverage
9%
Covered lines: 12
Uncovered lines: 111
Coverable lines: 123
Total lines: 233
Line coverage: 9.7%
Branch coverage
2%
Covered branches: 1
Total branches: 42
Branch coverage: 2.3%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
SetVersionWithoutValidation(...)100%110%
SetStatusCodeWithoutValidation(...)100%110%
SetReasonPhraseWithoutValidation(...)100%110%
StoreReceivedTrailingHeaders(...)0%220%
.ctor()100%11100%
.ctor(...)100%11100%
EnsureSuccessStatusCode()0%440%
ToString()0%880%
Dispose(...)0%660%
Dispose()100%110%
CheckDisposed()100%110%

File(s)

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

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