| Class: | System.Net.Http.HttpRuleParser |
|---|---|
| Assembly: | System.Net.Http |
| File(s): | https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Net.Http/src/System/Net/Http/HttpRuleParser.cs |
| Covered lines: | 142 |
|---|---|
| Uncovered lines: | 16 |
| Coverable lines: | 158 |
| Total lines: | 326 |
| Line coverage: | 89.8% |
| Covered branches: | 76 |
|---|---|
| Total branches: | 84 |
| Branch coverage: | 90.4% |
Feature is only available for sponsors
Upgrade to PRO version| Method | Branch coverage | Cyclomatic complexity | NPath complexity | Sequence coverage |
|---|---|---|---|---|
| .cctor() | 100% | 1 | 1 | 100% |
| GetTokenLength(...) | 100% | 2 | 2 | 100% |
| IsToken(...) | 100% | 1 | 1 | 100% |
| IsToken(...) | 100% | 1 | 1 | 0% |
| GetTokenString(...) | 100% | 1 | 1 | 0% |
| GetWhitespaceLength(...) | 100% | 8 | 8 | 100% |
| ContainsNewLineOrNull(...) | 100% | 1 | 1 | 100% |
| GetNumberLength(...) | 83.33% | 12 | 12 | 84% |
| GetHostLength(...) | 92.85% | 14 | 14 | 91.3% |
| GetCommentLength(...) | 100% | 1 | 1 | 100% |
| GetQuotedStringLength(...) | 100% | 1 | 1 | 100% |
| GetQuotedPairLength(...) | 87.5% | 16 | 16 | 100% |
| GetExpressionLength(...) | 89.28% | 28 | 28 | 90.69% |
| IsValidHostName(...) | 100% | 4 | 4 | 100% |
Error during reading file 'https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Net.Http/src/System/Net/Http/HttpRuleParser.cs': Response status code does not indicate success: 404 (Not Found).