< Summary

Line coverage
96%
Covered lines: 321
Uncovered lines: 11
Coverable lines: 332
Total lines: 605
Line coverage: 96.6%
Branch coverage
70%
Covered branches: 24
Total branches: 34
Branch coverage: 70.5%
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: DeserializeCommonObjects(...)100%11100%
File 1: GetCommonObject(...)100%11100%
File 1: GetAllCommonObjects(...)100%11100%
File 1: AddAllCommonObjectsAsync(...)100%22100%
File 1: UpdateCommonObjectAsync(...)100%11100%
File 1: DeleteAsync(...)100%11100%
File 1: AddOrUpdateCommonObjectResult(...)50%4491.66%
File 1: DeleteAllCommonObjectAsync(...)100%11100%
File 1: LatestCommonObjects(...)50%22100%
File 1: Authorize(...)100%11100%
File 1: ExecuteAddOrUpdateCommonObjectResult()50%2276.92%
File 1: ExecuteDeleteAllCommonObjectAsync()100%22100%
File 1: AuthorizeImport(...)66.66%181894.73%
File 1: ValidateId(...)100%11100%
File 1: ValidateType(...)100%11100%
File 1: ValidateCommonObject(...)100%11100%
File 1: ValidateCommonObjects(...)100%22100%
File 1: ThrowIf(...)100%22100%
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: ValidateDeserializeCommonObjects(...)100%11100%
File 3: ValidateCommonObjectOnGet(...)100%11100%
File 3: ValidateAllCommonObjectsOnGet(...)100%11100%
File 3: ValidateCommonObjectOnAdd(...)100%11100%
File 3: ValidateCommonObjectOnUpdate(...)100%11100%
File 3: ValidateDeleteAsync(...)100%11100%
File 3: ValidateOrUpdateCommonObjectResultOnAdd(...)100%11100%
File 3: ValidateAllCommonObjectOnDelete(...)100%11100%
File 3: ValidateLatestCommonObjects(...)100%11100%
File 3: ValidateAllCommonObjectsOnAdd(...)100%11100%
File 3: Validate(...)100%11100%

File(s)

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

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

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

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

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

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

Methods/Properties

.ctor(cCoder.ContentManagement.Services.Processings.ICommonObjectProcessingService,cCoder.ContentManagement.Services.Processings.IAuthorizationProcessingService,cCoder.ContentManagement.Services.Processings.ICommonObjectEventProcessingService)
DeserializeCommonObjects(System.Object)
GetCommonObject(System.Int32)
GetAllCommonObjects(System.Boolean)
AddAllCommonObjectsAsync(cCoder.Data.Models.CommonObject[])
UpdateCommonObjectAsync(cCoder.Data.Models.CommonObject)
DeleteAsync(System.Int32)
AddOrUpdateCommonObjectResult(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.CommonObject>)
DeleteAllCommonObjectAsync(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.CommonObject>)
LatestCommonObjects(System.String)
Authorize(System.String)
ExecuteAddOrUpdateCommonObjectResult()
ExecuteDeleteAllCommonObjectAsync()
AuthorizeImport(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.CommonObject>,System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.CommonObject>)
ValidateId(System.Int32,System.String)
ValidateType(System.String,System.String)
ValidateCommonObject(cCoder.Data.Models.CommonObject,System.String)
ValidateCommonObjects(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.CommonObject>,System.String)
ThrowIf(System.Boolean,System.String)
TryCatch(System.Action)
TryCatch(System.Func`1<TResult>)
TryCatch()
TryCatch()
TryCatch()
TryCatch()
ValidateDeserializeCommonObjects(System.Object[])
ValidateCommonObjectOnGet(System.Object[])
ValidateAllCommonObjectsOnGet(System.Object[])
ValidateCommonObjectOnAdd(System.Object[])
ValidateCommonObjectOnUpdate(System.Object[])
ValidateDeleteAsync(System.Object[])
ValidateOrUpdateCommonObjectResultOnAdd(System.Object[])
ValidateAllCommonObjectOnDelete(System.Object[])
ValidateLatestCommonObjects(System.Object[])
ValidateAllCommonObjectsOnAdd(System.Object[])
Validate(System.Object[])