| Covered lines: | 194 |
|---|---|
| Uncovered lines: | 19 |
| Coverable lines: | 213 |
| Total lines: | 427 |
| Line coverage: | 91% |
| Covered branches: | 8 |
|---|---|
| Total branches: | 18 |
| 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: GetPackageItem(...) | 33.33% | 7 | 6 | 75.86% |
| File 1: GetAllPackageItem(...) | 50% | 2 | 2 | 100% |
| File 1: AddPackageItemAsync(...) | 100% | 1 | 1 | 100% |
| File 1: UpdatePackageItemAsync(...) | 100% | 1 | 1 | 100% |
| File 1: DeleteAsync(...) | 100% | 1 | 1 | 100% |
| File 1: CreateStoragePackageItem(...) | 100% | 2 | 2 | 100% |
| File 1: ExecuteGetAllPackageItem(...) | 50% | 2 | 2 | 100% |
| File 1: ExecuteGetPackageItem(...) | 33.33% | 13 | 6 | 41.66% |
| 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: ValidatePackageItemOnGet(...) | 100% | 1 | 1 | 100% |
| File 3: ValidateAllPackageItemOnGet(...) | 100% | 1 | 1 | 100% |
| File 3: ValidatePackageItemOnAdd(...) | 100% | 1 | 1 | 100% |
| File 3: ValidatePackageItemOnUpdate(...) | 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/PackageItemService.cs' does not exist (any more).
File 'C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Foundations/Storages/PackageItemService.Exceptions.cs' does not exist (any more).
File 'C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Foundations/Storages/PackageItemService.Validations.cs' does not exist (any more).