< Summary

Line coverage
91%
Covered lines: 427
Uncovered lines: 42
Coverable lines: 469
Total lines: 792
Line coverage: 91%
Branch coverage
71%
Covered branches: 27
Total branches: 38
Branch coverage: 71%
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: GetPageForRenderAsync(...)100%1175%
File 1: GetPage(...)100%11100%
File 1: GetAllPage(...)100%11100%
File 1: AddPageAsync(...)100%11100%
File 1: UpdatePageAsync(...)100%11100%
File 1: DeleteAsync(...)100%1180.76%
File 1: DeleteByAppIdAsync(...)100%1194.44%
File 1: AddOrUpdatePageResult(...)100%1182.05%
File 1: ImportPagesAsync(...)25%44100%
File 1: DeleteAllPageAsync(...)100%11100%
File 1: RecomputeAllForAppAsync(...)100%11100%
File 1: GetRootPage(...)100%11100%
File 1: GetChildrenPage(...)100%11100%
File 1: MenuFor(...)100%11100%
File 1: GetParentPath(...)75%44100%
File 1: GetPathDepth(...)50%22100%
File 1: ValidateId(...)100%11100%
File 1: ValidateAppId(...)100%22100%
File 1: ValidatePage(...)100%22100%
File 1: ValidatePages(...)100%22100%
File 1: ValidateSinglePage(...)50%22100%
File 1: ValidatePageCollections(...)83.33%6683.33%
File 1: ValidateLayoutExistsForApp(...)100%22100%
File 1: ValidatePageLayout(...)100%11100%
File 1: ThrowIf(...)100%22100%
File 1: ExecuteAddOrUpdatePageResult()50%7670.83%
File 1: ExecuteAddPageAsync()100%11100%
File 1: ExecuteDeleteAllPageAsync()100%22100%
File 1: ExecuteDeleteAsync()50%2258.33%
File 1: ExecuteGetAllPage(...)100%11100%
File 1: ExecuteUpdatePageAsync()100%2115%
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: ValidatePageForRenderOnGet(...)100%11100%
File 3: ValidatePageOnGet(...)100%11100%
File 3: ValidateAllPageOnGet(...)100%11100%
File 3: ValidatePageOnAdd(...)100%11100%
File 3: ValidatePageOnUpdate(...)100%11100%
File 3: ValidateDeleteAsync(...)100%11100%
File 3: ValidateByAppIdOnDelete(...)100%11100%
File 3: ValidateOrUpdatePageResultOnAdd(...)100%11100%
File 3: ValidateImportPagesAsync(...)100%11100%
File 3: ValidateAllPageOnDelete(...)100%11100%
File 3: ValidateRecomputeAllForAppAsync(...)100%11100%
File 3: ValidateRootPageOnGet(...)100%11100%
File 3: ValidateChildrenPageOnGet(...)100%11100%
File 3: ValidateMenuFor(...)100%11100%

File(s)

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

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

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

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

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

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

Methods/Properties

.ctor(cCoder.ContentManagement.Services.Processings.IPageProcessingService,cCoder.ContentManagement.Services.Processings.IPageEventProcessingService,cCoder.ContentManagement.Services.Processings.ILayoutProcessingService)
GetPageForRenderAsync(System.Int32)
GetPage(System.Int32)
GetAllPage(System.Boolean)
AddPageAsync(cCoder.Data.Models.CMS.Page)
UpdatePageAsync(cCoder.Data.Models.CMS.Page)
DeleteAsync(System.Int32)
DeleteByAppIdAsync(System.Int32)
AddOrUpdatePageResult(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.CMS.Page>)
ImportPagesAsync(System.Int32,cCoder.Data.Models.CMS.Page[])
DeleteAllPageAsync(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.CMS.Page>)
RecomputeAllForAppAsync(System.Int32)
GetRootPage(System.Int32)
GetChildrenPage(System.Int32)
MenuFor(System.Int32,System.String)
GetParentPath(System.String)
GetPathDepth(System.String)
ValidateId(System.Int32,System.String)
ValidateAppId(System.Int32,System.String)
ValidatePage(cCoder.Data.Models.CMS.Page,System.String)
ValidatePages(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.CMS.Page>,System.String)
ValidateSinglePage(cCoder.Data.Models.CMS.Page,System.String)
ValidatePageCollections(cCoder.Data.Models.CMS.Page,System.String)
ValidateLayoutExistsForApp(cCoder.Data.Models.CMS.Page)
ValidatePageLayout(cCoder.Data.Models.CMS.Page)
ThrowIf(System.Boolean,System.String)
ExecuteAddOrUpdatePageResult()
ExecuteAddPageAsync()
ExecuteDeleteAllPageAsync()
ExecuteDeleteAsync()
ExecuteGetAllPage(System.Boolean)
ExecuteUpdatePageAsync()
TryCatch(System.Action)
TryCatch(System.Func`1<TResult>)
TryCatch()
TryCatch()
TryCatch()
TryCatch()
ValidatePageForRenderOnGet(System.Object[])
ValidatePageOnGet(System.Object[])
ValidateAllPageOnGet(System.Object[])
ValidatePageOnAdd(System.Object[])
ValidatePageOnUpdate(System.Object[])
ValidateDeleteAsync(System.Object[])
ValidateByAppIdOnDelete(System.Object[])
ValidateOrUpdatePageResultOnAdd(System.Object[])
ValidateImportPagesAsync(System.Object[])
ValidateAllPageOnDelete(System.Object[])
ValidateRecomputeAllForAppAsync(System.Object[])
ValidateRootPageOnGet(System.Object[])
ValidateChildrenPageOnGet(System.Object[])
ValidateMenuFor(System.Object[])