| Class: | System.Net.IPv4AddressHelper |
|---|---|
| Assembly: | System.Net.Primitives |
| File(s): | https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/Common/src/System/Net/IPv4AddressHelper.Common.cs |
| Covered lines: | 163 |
|---|---|
| Uncovered lines: | 7 |
| Coverable lines: | 170 |
| Total lines: | 346 |
| Line coverage: | 95.8% |
| Covered branches: | 98 |
|---|---|
| Total branches: | 113 |
| Branch coverage: | 86.7% |
Feature is only available for sponsors
Upgrade to PRO version| Method | Branch coverage | Cyclomatic complexity | NPath complexity | Sequence coverage |
|---|---|---|---|---|
| ToUShort(...) | 100% | 4 | 4 | 100% |
| ParseHostNumber(...) | 100% | 10 | 10 | 100% |
| IsValid(...) | 50% | 2 | 2 | 71.42% |
| IsValidCanonical(...) | 71.42% | 42 | 42 | 93.87% |
| ParseNonCanonical(...) | 96.36% | 55 | 55 | 97.84% |
Error during reading file 'https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/Common/src/System/Net/IPv4AddressHelper.Common.cs': Response status code does not indicate success: 404 (Not Found).