| Covered lines: | 258 |
|---|---|
| Uncovered lines: | 26 |
| Coverable lines: | 284 |
| Total lines: | 522 |
| Line coverage: | 90.8% |
| Covered branches: | 16 |
|---|---|
| Total branches: | 28 |
| Branch coverage: | 57.1% |
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: GetResource(...) | 33.33% | 6 | 6 | 76.66% |
| File 1: GetAllResource(...) | 100% | 2 | 2 | 100% |
| File 1: AddResourceAsync(...) | 100% | 1 | 1 | 100% |
| File 1: UpdateResourceAsync(...) | 100% | 1 | 1 | 100% |
| File 1: DeleteAsync(...) | 100% | 1 | 1 | 83.33% |
| File 1: CreateStorageResource(...) | 50% | 2 | 2 | 94.11% |
| File 1: ExecuteGetAllResource(...) | 50% | 2 | 2 | 100% |
| File 1: ExecuteGetResource(...) | 33.33% | 12 | 6 | 46.15% |
| 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 | 100% |
| File 2: TryCatch() | 100% | 1 | 1 | 100% |
| File 3: ValidateId(...) | 100% | 1 | 1 | 100% |
| File 3: ValidateResource(...) | 75% | 9 | 8 | 77.77% |
| File 3: ThrowIf(...) | 100% | 2 | 2 | 100% |
| File 3: ValidateResourceOnGet(...) | 100% | 1 | 1 | 100% |
| File 3: ValidateAllResourceOnGet(...) | 100% | 1 | 1 | 100% |
| File 3: ValidateResourceOnAdd(...) | 100% | 1 | 1 | 100% |
| File 3: ValidateResourceOnUpdate(...) | 100% | 1 | 1 | 100% |
| File 3: ValidateDeleteAsync(...) | 100% | 1 | 1 | 100% |
File 'C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Foundations/Storages/ResourceService.cs' does not exist (any more).
File 'C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Foundations/Storages/ResourceService.Exceptions.cs' does not exist (any more).
File 'C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Foundations/Storages/ResourceService.Validations.cs' does not exist (any more).