< Summary

Line coverage
6%
Covered lines: 6
Uncovered lines: 93
Coverable lines: 99
Total lines: 214
Line coverage: 6%
Branch coverage
4%
Covered branches: 2
Total branches: 44
Branch coverage: 4.5%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
ReceiveAsync(...)0%220%
SendAsync(...)0%220%
SendAsync(...)100%110%
SendWithArrayPoolAsync(...)100%110%
ThrowOnInvalidState(...)0%880%
IsStateTerminal(...)0%220%
CreateClientBuffer(...)100%110%
CreateServerBuffer(...)100%110%
CreateFromStream(...)0%12120%
CreateFromStream(...)33.33%6685.71%
IsApplicationTargeting45()100%110%
RegisterPrefixes()100%110%
CreateClientWebSocket(...)0%12120%

File(s)

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

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