< Summary

Line coverage
97%
Covered lines: 366
Uncovered lines: 11
Coverable lines: 377
Total lines: 654
Line coverage: 97%
Branch coverage
85%
Covered branches: 12
Total branches: 14
Branch coverage: 85.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: DeserializeCommonObjects(...)100%11100%
File 1: GetCommonObject(...)100%11100%
File 1: GetAllCommonObjects(...)100%11100%
File 1: GetLatestCommonObjects()100%11100%
File 1: AddAllCommonObjectsAsync(...)100%1194.44%
File 1: AddCommonObjectAsync(...)100%11100%
File 1: UpdateCommonObjectAsync(...)100%11100%
File 1: DeleteAsync(...)100%11100%
File 1: AddOrUpdateCommonObjectResult(...)100%11100%
File 1: DeleteAllCommonObjectAsync(...)100%11100%
File 1: ExecuteAddCommonObjectAsync()100%11100%
File 1: ExecuteAddOrUpdateCommonObjectResult()100%66100%
File 1: ExecuteDeleteAsync()100%11100%
File 1: ExecuteUpdateCommonObjectAsync()50%44100%
File 1: ValidateId(...)100%11100%
File 1: ValidateCommonObject(...)100%11100%
File 1: ValidateCommonObjects(...)100%11100%
File 1: NormalizeCulture(...)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: ValidateLatestCommonObjects(...)100%11100%
File 3: ValidateAllCommonObjectsOnAdd(...)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: Validate(...)100%11100%

File(s)

C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Processings/CommonObjectProcessingService.cs

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

C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Processings/CommonObjectProcessingService.Exceptions.cs

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

C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Processings/CommonObjectProcessingService.Validations.cs

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

Methods/Properties

.ctor(cCoder.ContentManagement.Services.Foundations.Storages.ICommonObjectService)
DeserializeCommonObjects(System.Object)
GetCommonObject(System.Int32)
GetAllCommonObjects(System.Boolean)
GetLatestCommonObjects()
AddAllCommonObjectsAsync(cCoder.Data.Models.CommonObject[],System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.CommonObject>,System.String)
AddCommonObjectAsync(cCoder.Data.Models.CommonObject,System.String)
UpdateCommonObjectAsync(cCoder.Data.Models.CommonObject,System.String)
DeleteAsync(System.Int32)
AddOrUpdateCommonObjectResult(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.CommonObject>,System.String)
DeleteAllCommonObjectAsync(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.CommonObject>)
ExecuteAddCommonObjectAsync()
ExecuteAddOrUpdateCommonObjectResult()
ExecuteDeleteAsync()
ExecuteUpdateCommonObjectAsync()
ValidateId(System.Int32,System.String)
ValidateCommonObject(cCoder.Data.Models.CommonObject,System.String)
ValidateCommonObjects(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.CommonObject>,System.String)
NormalizeCulture(cCoder.Data.Models.CommonObject)
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[])
ValidateLatestCommonObjects(System.Object[])
ValidateAllCommonObjectsOnAdd(System.Object[])
ValidateCommonObjectOnAdd(System.Object[])
ValidateCommonObjectOnUpdate(System.Object[])
ValidateDeleteAsync(System.Object[])
ValidateOrUpdateCommonObjectResultOnAdd(System.Object[])
ValidateAllCommonObjectOnDelete(System.Object[])
Validate(System.Object[])