| Class: | ContentFilter.Services.DomainEvaluator |
|---|---|
| Assembly: | ContentFilter |
| File(s): | /src/app/src/ContentFilter/Services/DomainEvaluator.cs |
| Covered lines: | 50 |
|---|---|
| Uncovered lines: | 3 |
| Coverable lines: | 53 |
| Total lines: | 122 |
| Line coverage: | 94.3% |
| Covered branches: | 21 |
|---|---|
| Total branches: | 22 |
| Branch coverage: | 95.4% |
Feature is only available for sponsors
Upgrade to PRO version| Method | Branch coverage | Crap Score | Cyclomatic complexity | Line coverage |
|---|---|---|---|---|
| GetRewrite(...) | 100% | 10 | 10 | 100% |
| IsAllowlisted(...) | 100% | 2 | 2 | 100% |
| IsBlocked(...) | 100% | 2 | 1 | 0% |
| FindBlockedDomain(...) | 100% | 2 | 2 | 100% |
| IsRegexAllowlisted(...) | 100% | 1 | 1 | 100% |
| IsRegexBlocked(...) | 100% | 1 | 1 | 100% |
| FindBlockingRegex(...) | 100% | 1 | 1 | 100% |
| MatchesAnyRegex(...) | 100% | 1 | 1 | 100% |
| FindMatchingRegex(...) | 87.5% | 8 | 8 | 100% |
File '/src/app/src/ContentFilter/Services/DomainEvaluator.cs' does not exist (any more).