< Summary

Line coverage
88%
Covered lines: 296
Uncovered lines: 37
Coverable lines: 333
Total lines: 596
Line coverage: 88.8%
Branch coverage
68%
Covered branches: 11
Total branches: 16
Branch coverage: 68.7%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
File 1: .ctor(...)100%11100%
File 1: GetComponent(...)100%11100%
File 1: GetAllComponent(...)100%11100%
File 1: AddComponentAsync(...)100%11100%
File 1: UpdateComponentAsync(...)100%11100%
File 1: DeleteAsync(...)100%1180.76%
File 1: DeleteByAppIdAsync(...)100%11100%
File 1: AddOrUpdateComponentResult(...)100%11100%
File 1: ImportComponentsAsync(...)0%3250%
File 1: DeleteAllComponentAsync(...)100%11100%
File 1: ValidateId(...)100%11100%
File 1: ValidateAppId(...)100%11100%
File 1: ValidateComponent(...)100%22100%
File 1: ValidateComponents(...)100%22100%
File 1: ThrowIf(...)100%22100%
File 1: ExecuteAddComponentAsync()100%11100%
File 1: ExecuteAddOrUpdateComponentResult()66.66%7668%
File 1: ExecuteDeleteAsync()50%2258.33%
File 1: ExecuteGetAllComponent(...)100%11100%
File 1: ExecuteUpdateComponentAsync()100%11100%
File 2: TryCatch(...)100%1189.47%
File 2: TryCatch(...)100%11100%
File 2: TryCatch()100%1189.47%
File 2: TryCatch()100%1194.44%
File 2: TryCatch()100%11100%
File 2: TryCatch()100%11100%
File 3: ValidateComponentOnGet(...)100%11100%
File 3: ValidateAllComponentOnGet(...)100%11100%
File 3: ValidateComponentOnAdd(...)100%11100%
File 3: ValidateComponentOnUpdate(...)100%11100%
File 3: ValidateDeleteAsync(...)100%11100%
File 3: ValidateByAppIdOnDelete(...)100%11100%
File 3: ValidateOrUpdateComponentResultOnAdd(...)100%11100%
File 3: ValidateImportComponentsAsync(...)100%11100%
File 3: ValidateAllComponentOnDelete(...)100%11100%

File(s)

C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Orchestrations/ComponentOrchestrationService.cs

File 'C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Orchestrations/ComponentOrchestrationService.cs' does not exist (any more).

C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Orchestrations/ComponentOrchestrationService.Exceptions.cs

File 'C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Orchestrations/ComponentOrchestrationService.Exceptions.cs' does not exist (any more).

C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Orchestrations/ComponentOrchestrationService.Validations.cs

File 'C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Orchestrations/ComponentOrchestrationService.Validations.cs' does not exist (any more).

Methods/Properties

.ctor(cCoder.ContentManagement.Services.Processings.IComponentProcessingService,cCoder.ContentManagement.Services.Processings.IComponentEventProcessingService)
GetComponent(System.Int32)
GetAllComponent(System.Boolean)
AddComponentAsync(cCoder.Data.Models.CMS.Component)
UpdateComponentAsync(cCoder.Data.Models.CMS.Component)
DeleteAsync(System.Int32)
DeleteByAppIdAsync(System.Int32)
AddOrUpdateComponentResult(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.CMS.Component>)
ImportComponentsAsync(System.Int32,cCoder.Data.Models.CMS.Component[])
DeleteAllComponentAsync(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.CMS.Component>)
ValidateId(System.Int32,System.String)
ValidateAppId(System.Int32,System.String)
ValidateComponent(cCoder.Data.Models.CMS.Component,System.String)
ValidateComponents(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.CMS.Component>,System.String)
ThrowIf(System.Boolean,System.String)
ExecuteAddComponentAsync()
ExecuteAddOrUpdateComponentResult()
ExecuteDeleteAsync()
ExecuteGetAllComponent(System.Boolean)
ExecuteUpdateComponentAsync()
TryCatch(System.Action)
TryCatch(System.Func`1<TResult>)
TryCatch()
TryCatch()
TryCatch()
TryCatch()
ValidateComponentOnGet(System.Object[])
ValidateAllComponentOnGet(System.Object[])
ValidateComponentOnAdd(System.Object[])
ValidateComponentOnUpdate(System.Object[])
ValidateDeleteAsync(System.Object[])
ValidateByAppIdOnDelete(System.Object[])
ValidateOrUpdateComponentResultOnAdd(System.Object[])
ValidateImportComponentsAsync(System.Object[])
ValidateAllComponentOnDelete(System.Object[])