| Covered lines: | 139 |
|---|---|
| Uncovered lines: | 1 |
| Coverable lines: | 140 |
| Total lines: | 248 |
| Line coverage: | 99.2% |
| Covered branches: | 24 |
|---|---|
| Total branches: | 54 |
| Branch coverage: | 44.4% |
Feature is only available for sponsors
Upgrade to PRO version| Method | Branch coverage | Crap Score | Cyclomatic complexity | Line coverage |
|---|---|---|---|---|
| File 1: .ctor(...) | 100% | 1 | 1 | 100% |
| File 1: AuthorizeAuthorizationContext(...) | 50% | 4 | 4 | 93.75% |
| File 1: ResolveCurrentAuthorizationContext(...) | 100% | 1 | 1 | 100% |
| File 1: IsAdminAuthorizationContext(...) | 50% | 2 | 2 | 100% |
| File 1: IsAdminOfAppAuthorizationContext(...) | 100% | 1 | 1 | 100% |
| File 1: UserCanPageAuthorizationContext(...) | 22.22% | 18 | 18 | 100% |
| File 1: HasPrivilege(...) | 40% | 10 | 10 | 100% |
| File 1: HasAppAdminPrivilege(...) | 75% | 4 | 4 | 100% |
| File 1: GetUserRoles(...) | 50% | 2 | 2 | 92.85% |
| File 1: ResolveCurrentUserId() | 50% | 2 | 2 | 100% |
| File 1: IsAdminOfApp(...) | 50% | 12 | 12 | 100% |
| File 2: TryCatch(...) | 100% | 1 | 1 | 100% |
| File 2: TryCatch(...) | 100% | 1 | 1 | 100% |
| File 3: ValidateAuthorize(...) | 100% | 1 | 1 | 100% |
| File 3: ValidateIsAdmin(...) | 100% | 1 | 1 | 100% |
| File 3: ValidateResolveCurrentAuthorizationContext(...) | 100% | 1 | 1 | 100% |
| File 3: ValidateIsAdminOfApp(...) | 100% | 1 | 1 | 100% |
| File 3: ValidateUserCanPageAuthorization(...) | 100% | 1 | 1 | 100% |
File 'C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Foundations/Authorization/AuthorizationService.cs' does not exist (any more).
File 'C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Foundations/Authorization/AuthorizationService.Exceptions.cs' does not exist (any more).
File 'C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Foundations/Authorization/AuthorizationService.Validations.cs' does not exist (any more).