| Covered lines: | 254 |
|---|---|
| Uncovered lines: | 25 |
| Coverable lines: | 279 |
| Total lines: | 514 |
| Line coverage: | 91% |
| Covered branches: | 14 |
|---|---|
| Total branches: | 26 |
| Branch coverage: | 53.8% |
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: GetLayout(...) | 33.33% | 6 | 6 | 76.66% |
| File 1: GetAllLayout(...) | 50% | 2 | 2 | 100% |
| File 1: AddLayoutAsync(...) | 100% | 1 | 1 | 100% |
| File 1: UpdateLayoutAsync(...) | 100% | 1 | 1 | 100% |
| File 1: DeleteAsync(...) | 100% | 1 | 1 | 83.33% |
| File 1: CreateStorageLayout(...) | 50% | 2 | 2 | 93.75% |
| File 1: ExecuteGetAllLayout(...) | 50% | 2 | 2 | 100% |
| File 1: ExecuteGetLayout(...) | 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: ValidateLayout(...) | 83.33% | 6 | 6 | 85.71% |
| File 3: ThrowIf(...) | 100% | 2 | 2 | 100% |
| File 3: ValidateLayoutOnGet(...) | 100% | 1 | 1 | 100% |
| File 3: ValidateAllLayoutOnGet(...) | 100% | 1 | 1 | 100% |
| File 3: ValidateLayoutOnAdd(...) | 100% | 1 | 1 | 100% |
| File 3: ValidateLayoutOnUpdate(...) | 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/LayoutService.cs' does not exist (any more).
File 'C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Foundations/Storages/LayoutService.Exceptions.cs' does not exist (any more).
File 'C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Foundations/Storages/LayoutService.Validations.cs' does not exist (any more).