| Covered lines: | 240 |
|---|---|
| Uncovered lines: | 25 |
| Coverable lines: | 265 |
| Total lines: | 503 |
| Line coverage: | 90.5% |
| 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: GetScript(...) | 33.33% | 6 | 6 | 76.66% |
| File 1: GetAllScripts(...) | 50% | 2 | 2 | 100% |
| File 1: AddScriptAsync(...) | 100% | 1 | 1 | 100% |
| File 1: UpdateScriptAsync(...) | 100% | 1 | 1 | 100% |
| File 1: DeleteAsync(...) | 100% | 1 | 1 | 82.6% |
| File 1: CreateStorageScript(...) | 50% | 2 | 2 | 93.33% |
| File 1: ExecuteGetAllScripts(...) | 50% | 2 | 2 | 100% |
| File 1: ExecuteGetScript(...) | 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: ValidateScript(...) | 83.33% | 6 | 6 | 85.71% |
| File 3: ThrowIf(...) | 100% | 2 | 2 | 100% |
| File 3: ValidateScriptOnGet(...) | 100% | 1 | 1 | 100% |
| File 3: ValidateAllScriptsOnGet(...) | 100% | 1 | 1 | 100% |
| File 3: ValidateScriptOnAdd(...) | 100% | 1 | 1 | 100% |
| File 3: ValidateScriptOnUpdate(...) | 100% | 1 | 1 | 100% |
| File 3: ValidateDeleteAsync(...) | 100% | 1 | 1 | 100% |
| File 3: Validate(...) | 100% | 1 | 1 | 100% |
File 'C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Foundations/Storages/ScriptService.cs' does not exist (any more).
File 'C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Foundations/Storages/ScriptService.Exceptions.cs' does not exist (any more).
File 'C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Foundations/Storages/ScriptService.Validations.cs' does not exist (any more).