< Summary

Line coverage
84%
Covered lines: 470
Uncovered lines: 86
Coverable lines: 556
Total lines: 933
Line coverage: 84.5%
Branch coverage
52%
Covered branches: 56
Total branches: 106
Branch coverage: 52.8%
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: GetCurrentUser()100%11100%
File 1: GetPage(...)100%11100%
File 1: GetAllPage(...)100%11100%
File 1: MenuFor(...)100%22100%
File 1: GetRootPage(...)75%44100%
File 1: GetChildrenPage(...)100%11100%
File 1: DeleteAsync(...)100%22100%
File 1: UpdatePageAsync(...)100%11100%
File 1: AddPageAsync(...)50%4490.69%
File 1: ImportPageAsync(...)100%1176.92%
File 1: AddOrUpdatePageResult(...)100%1178.78%
File 1: DeleteAllPageAsync(...)100%11100%
File 1: RecomputeAllForAppAsync(...)100%11100%
File 1: RecomputePathsAsync()100%11100%
File 1: RecomputePathsAsync()100%66100%
File 1: ResolveRolesForNewPage(...)78.57%141493.75%
File 1: UserCan(...)50%22100%
File 1: BuildPath(...)83.33%66100%
File 1: GetParentPath(...)50%4480%
File 1: ValidatePathDoesNotExistForApp(...)66.66%66100%
File 1: ExecuteAddPageAsync()11.11%277187.14%
File 1: ExecuteDeleteAsync(...)50%2275%
File 1: ExecuteGetAllPage(...)100%11100%
File 1: ExecuteGetPage(...)100%11100%
File 1: ExecuteUpdatePageAsync()0%931217.39%
File 1: GetPageInfo(...)54.16%2424100%
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: ValidateId(...)100%11100%
File 3: ValidateAppId(...)100%11100%
File 3: ValidatePage(...)100%11100%
File 3: ValidatePages(...)100%11100%
File 3: ThrowIf(...)100%22100%
File 3: ValidatePageForRenderOnGet(...)100%11100%
File 3: ValidatePageOnGet(...)100%11100%
File 3: ValidateAllPageOnGet(...)100%11100%
File 3: ValidateMenuFor(...)100%11100%
File 3: ValidateRootPageOnGet(...)100%11100%
File 3: ValidateChildrenPageOnGet(...)100%11100%
File 3: ValidateDeleteAsync(...)100%11100%
File 3: ValidatePageOnUpdate(...)100%11100%
File 3: ValidatePageOnAdd(...)100%11100%
File 3: ValidateOrUpdatePageResultOnAdd(...)100%11100%
File 3: ValidateAllPageOnDelete(...)100%11100%
File 3: ValidateRecomputeAllForAppAsync(...)100%11100%

File(s)

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

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

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

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

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

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

Methods/Properties

.ctor(cCoder.ContentManagement.Services.Foundations.Storages.IPageService,cCoder.ContentManagement.Exposures.IAuthorizationManager)
GetPageForRenderAsync(System.Int32)
GetCurrentUser()
GetPage(System.Int32)
GetAllPage(System.Boolean)
MenuFor(System.Int32,System.String)
GetRootPage(System.Int32)
GetChildrenPage(System.Int32)
DeleteAsync(System.Int32)
UpdatePageAsync(cCoder.Data.Models.CMS.Page)
AddPageAsync(cCoder.Data.Models.CMS.Page)
ImportPageAsync(cCoder.Data.Models.CMS.Page)
AddOrUpdatePageResult(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.CMS.Page>)
DeleteAllPageAsync(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.CMS.Page>)
RecomputeAllForAppAsync(System.Int32)
RecomputePathsAsync()
RecomputePathsAsync()
ResolveRolesForNewPage(cCoder.Data.Models.CMS.Page,cCoder.Data.Models.CMS.Page)
UserCan(System.String,System.Int32)
BuildPath(System.String,System.String)
GetParentPath(System.String)
ValidatePathDoesNotExistForApp(cCoder.Data.Models.CMS.Page)
ExecuteAddPageAsync()
ExecuteDeleteAsync(System.Int32)
ExecuteGetAllPage(System.Boolean)
ExecuteGetPage(System.Int32)
ExecuteUpdatePageAsync()
GetPageInfo(cCoder.Data.Models.CMS.Page,System.String)
TryCatch(System.Action)
TryCatch(System.Func`1<TResult>)
TryCatch()
TryCatch()
TryCatch()
TryCatch()
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)
ThrowIf(System.Boolean,System.String)
ValidatePageForRenderOnGet(System.Object[])
ValidatePageOnGet(System.Object[])
ValidateAllPageOnGet(System.Object[])
ValidateMenuFor(System.Object[])
ValidateRootPageOnGet(System.Object[])
ValidateChildrenPageOnGet(System.Object[])
ValidateDeleteAsync(System.Object[])
ValidatePageOnUpdate(System.Object[])
ValidatePageOnAdd(System.Object[])
ValidateOrUpdatePageResultOnAdd(System.Object[])
ValidateAllPageOnDelete(System.Object[])
ValidateRecomputeAllForAppAsync(System.Object[])