< Summary

Line coverage
89%
Covered lines: 268
Uncovered lines: 32
Coverable lines: 300
Total lines: 585
Line coverage: 89.3%
Branch coverage
47%
Covered branches: 21
Total branches: 44
Branch coverage: 47.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: ParseRecordsPayload(...)33.33%331247.05%
File 1: GetRecordValues(...)66.66%6685.71%
File 1: GetCommonObject(...)33.33%6676.66%
File 1: GetAllCommonObjects(...)50%22100%
File 1: GetLatestCommonObjects()100%11100%
File 1: AddCommonObjectAsync(...)100%11100%
File 1: UpdateCommonObjectAsync(...)100%11100%
File 1: DeleteAsync(...)100%11100%
File 1: CreateStorageCommonObject(...)50%2294.11%
File 1: ExecuteGetAllCommonObjects(...)50%22100%
File 1: ExecuteGetCommonObject(...)33.33%12646.15%
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: ValidateCommonObjectsOnDeserialize(...)100%11100%
File 3: ValidateAuthorization(...)100%11100%
File 3: ValidateAppAdministration(...)100%11100%
File 3: ValidateComponentOnCache(...)100%11100%
File 3: ValidateResourceOnCache(...)100%11100%
File 3: ValidateScriptOnCache(...)100%11100%
File 3: ValidateId(...)100%11100%
File 3: ValidateCommonObject(...)66.66%7671.42%
File 3: ThrowIf(...)100%22100%
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: Validate(...)100%11100%

File(s)

C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Foundations/Storages/CommonObjectService.cs

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

C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Foundations/Storages/CommonObjectService.Exceptions.cs

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

C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Foundations/Storages/CommonObjectService.Validations.cs

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