| Class: | System.Threading.AsyncMutex |
|---|---|
| Assembly: | System.Net.WebSockets |
| File(s): | https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Net.WebSockets/src/System/Net/WebSockets/AsyncMutex.cs |
| Covered lines: | 63 |
|---|---|
| Uncovered lines: | 57 |
| Coverable lines: | 120 |
| Total lines: | 254 |
| Line coverage: | 52.5% |
| Covered branches: | 16 |
|---|---|
| Total branches: | 42 |
| Branch coverage: | 38% |
Feature is only available for sponsors
Upgrade to PRO version| Method | Branch coverage | Cyclomatic complexity | NPath complexity | Sequence coverage |
|---|---|---|---|---|
| .ctor() | 100% | 1 | 1 | 100% |
| EnterAsync(...) | 66.66% | 6 | 6 | 81.81% |
| Contended(System.Threading.CancellationToken) | 37.5% | 8 | 8 | 53.57% |
| OnCancellation(System.Object,System.Threading.CancellationToken) | 0% | 8 | 8 | 0% |
| Exit() | 75% | 4 | 4 | 100% |
| Contended() | 37.5% | 16 | 16 | 69.69% |
| .ctor(...) | 100% | 1 | 1 | 100% |
Error during reading file 'https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Net.WebSockets/src/System/Net/WebSockets/AsyncMutex.cs': Response status code does not indicate success: 404 (Not Found).