< Summary

Line coverage
81%
Covered lines: 369
Uncovered lines: 85
Coverable lines: 454
Total lines: 729
Line coverage: 81.2%
Branch coverage
24%
Covered branches: 14
Total branches: 58
Branch coverage: 24.1%
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: GetCurrentUser()100%11100%
File 1: GetCommonObject(...)100%11100%
File 1: GetAllCommonObject(...)100%11100%
File 1: LatestCommonObject(...)50%22100%
File 1: AddAllCommonObjectsAsync(...)100%11100%
File 1: AddCommonObjectAsync(...)100%11100%
File 1: UpdateCommonObjectAsync(...)0%221258.62%
File 1: DeleteAsync(...)100%11100%
File 1: AddOrUpdateCommonObjectResult(...)100%11100%
File 1: DeleteAllCommonObjectAsync(...)100%11100%
File 1: ValidateId(...)100%11100%
File 1: ValidateType(...)100%11100%
File 1: ValidateCommonObject(...)100%11100%
File 1: ValidateCommonObjects(...)100%11100%
File 1: NormalizeCulture(...)50%22100%
File 1: ThrowIf(...)100%22100%
File 1: ExecuteAddCommonObjectAsync()100%11100%
File 1: ExecuteAddOrUpdateCommonObjectResult()83.33%8663.63%
File 1: ExecuteDeleteAsync()100%11100%
File 1: ExecuteLatestCommonObject(...)100%11100%
File 1: ExecuteUpdateCommonObjectAsync()22.72%1382237.93%
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: ValidateCommonObjectOnGet(...)100%11100%
File 3: ValidateAllCommonObjectOnGet(...)100%11100%
File 3: ValidateLatestCommonObject(...)100%11100%
File 3: ValidateImportCommonObjectResultAsync(...)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(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,cCoder.ContentManagement.Rendering.Brokers.ICommonObjectReaderBroker,cCoder.ContentManagement.Exposures.IAuthorizationManager,cCoder.ContentManagement.Brokers.IJsonBroker)
GetCurrentUser()
GetCommonObject(System.Int32)
GetAllCommonObject(System.Boolean)
LatestCommonObject(System.String)
AddAllCommonObjectsAsync(cCoder.Data.Models.CommonObject[])
AddCommonObjectAsync(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>)
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)
NormalizeCulture(cCoder.Data.Models.CommonObject)
ThrowIf(System.Boolean,System.String)
ExecuteAddCommonObjectAsync()
ExecuteAddOrUpdateCommonObjectResult()
ExecuteDeleteAsync()
ExecuteLatestCommonObject(System.String)
ExecuteUpdateCommonObjectAsync()
TryCatch(System.Action)
TryCatch(System.Func`1<TResult>)
TryCatch()
TryCatch()
TryCatch()
TryCatch()
ValidateCommonObjectOnGet(System.Object[])
ValidateAllCommonObjectOnGet(System.Object[])
ValidateLatestCommonObject(System.Object[])
ValidateImportCommonObjectResultAsync(System.Object[])
ValidateCommonObjectOnAdd(System.Object[])
ValidateCommonObjectOnUpdate(System.Object[])
ValidateDeleteAsync(System.Object[])
ValidateOrUpdateCommonObjectResultOnAdd(System.Object[])
ValidateAllCommonObjectOnDelete(System.Object[])