| Covered lines: | 161 |
|---|---|
| Uncovered lines: | 7 |
| Coverable lines: | 168 |
| Total lines: | 381 |
| Line coverage: | 95.8% |
| Covered branches: | 8 |
|---|---|
| Total branches: | 12 |
| Branch coverage: | 66.6% |
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: GetAllPageRole(...) | 50% | 2 | 2 | 100% |
| File 1: AddPageRoleAsync(...) | 100% | 1 | 1 | 100% |
| File 1: DeletePageRoleAsync(...) | 100% | 1 | 1 | 100% |
| File 1: CreateStoragePageRole(...) | 50% | 2 | 2 | 85.71% |
| File 1: GetAppId(...) | 100% | 1 | 1 | 100% |
| File 2: TryCatch(...) | 100% | 1 | 1 | 89.47% |
| File 2: TryCatch(...) | 100% | 1 | 1 | 100% |
| File 2: TryCatch() | 100% | 1 | 1 | 89.47% |
| File 2: TryCatch() | 100% | 1 | 1 | 94.44% |
| File 2: TryCatch() | 100% | 1 | 1 | 89.47% |
| File 2: TryCatch() | 100% | 1 | 1 | 94.44% |
| File 3: ValidatePageId(...) | 100% | 1 | 1 | 100% |
| File 3: ValidateRoleId(...) | 100% | 1 | 1 | 100% |
| File 3: ValidatePageRole(...) | 50% | 9 | 6 | 57.14% |
| File 3: ThrowIf(...) | 100% | 2 | 2 | 100% |
| File 3: ValidateAllPageRoleOnGet(...) | 100% | 1 | 1 | 100% |
| File 3: ValidatePageRoleOnAdd(...) | 100% | 1 | 1 | 100% |
| File 3: ValidatePageRoleOnDelete(...) | 100% | 1 | 1 | 100% |
File 'C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Foundations/Storages/PageRoleService.cs' does not exist (any more).
File 'C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Foundations/Storages/PageRoleService.Exceptions.cs' does not exist (any more).
File 'C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Foundations/Storages/PageRoleService.Validations.cs' does not exist (any more).