< Summary

Line coverage
99%
Covered lines: 393
Uncovered lines: 2
Coverable lines: 395
Total lines: 621
Line coverage: 99.4%
Branch coverage
78%
Covered branches: 44
Total branches: 56
Branch coverage: 78.5%
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: Authorize(...)100%88100%
File 1: Get(...)100%11100%
File 1: GetAll(...)100%11100%
File 1: GetWithRoles(...)100%11100%
File 1: GetForUpdate(...)100%11100%
File 1: GetByPath(...)100%11100%
File 1: GetByPathWithRoles(...)100%11100%
File 1: GetByPathWithParentAndRoles(...)100%11100%
File 1: GetByPathWithRolesAndFilesAndContents(...)100%11100%
File 1: GetFolderByPathWithSubFoldersAndFiles(...)100%11100%
File 1: AddFolderAsync(...)100%11100%
File 1: AddForPathBuildFolderAsync(...)100%11100%
File 1: UpdateFolderAsync(...)100%11100%
File 1: UpdateForAppFolderAsync(...)100%11100%
File 1: DeleteAsync(...)100%11100%
File 1: DeleteAllForAppFolderAsync(...)100%11100%
File 1: DeleteAllByAppIdAsync(...)100%11100%
File 1: CreateFolder(...)62.5%88100%
File 1: CreateFolderForUpdate(...)87.5%88100%
File 1: CreateFolderWithParent(...)75%44100%
File 1: CreateFolderForMove(...)83.33%66100%
File 1: CreateFolderWithRolesAndFiles(...)50%66100%
File 1: CreateApp(...)100%22100%
File 1: CreateLocalFile(...)50%22100%
File 1: CreateFolderRole(...)75%44100%
File 1: CreateStorageFolder(...)100%44100%
File 1: CreateStorageFolderForAdd(...)75%44100%
File 1: GetAllValue(...)100%11100%
File 1: UpdateForAppFolderValueAsync(...)100%11100%
File 2: TryCatch(...)100%1177.77%
File 2: TryCatch(...)100%11100%
File 2: TryCatch()100%11100%
File 2: TryCatch()100%11100%
File 3: ValidateInputs(...)100%11100%
File 3: ValidateAllOnGet(...)100%11100%
File 3: ValidateWithRolesOnGet(...)100%11100%
File 3: ValidateForUpdateOnGet(...)100%11100%
File 3: ValidateByPathOnGet(...)100%11100%
File 3: ValidateByPathWithRolesOnGet(...)100%11100%
File 3: ValidateByPathWithParentAndRolesOnGet(...)100%11100%
File 3: ValidateByPathWithRolesAndFilesAndContentsOnGet(...)100%11100%
File 3: ValidateFolderByPathWithSubFoldersAndFilesOnGet(...)100%11100%
File 3: ValidateFolderOnAdd(...)100%11100%
File 3: ValidateForPathBuildFolderOnAdd(...)100%11100%
File 3: ValidateFolderOnUpdate(...)100%11100%
File 3: ValidateForAppFolderOnUpdate(...)100%11100%
File 3: ValidateAllForAppFolderOnDelete(...)100%11100%
File 3: ValidateAllByAppIdOnDelete(...)100%11100%
File 3: Validate(...)100%11100%

File(s)

C:/Services/GitHubRunner/_work/cCoder.DocumentManagement/cCoder.DocumentManagement/src/cCoder.DocumentManagement/Services/Foundations/FolderService.cs

File 'C:/Services/GitHubRunner/_work/cCoder.DocumentManagement/cCoder.DocumentManagement/src/cCoder.DocumentManagement/Services/Foundations/FolderService.cs' does not exist (any more).

C:/Services/GitHubRunner/_work/cCoder.DocumentManagement/cCoder.DocumentManagement/src/cCoder.DocumentManagement/Services/Foundations/FolderService.Exceptions.cs

File 'C:/Services/GitHubRunner/_work/cCoder.DocumentManagement/cCoder.DocumentManagement/src/cCoder.DocumentManagement/Services/Foundations/FolderService.Exceptions.cs' does not exist (any more).

C:/Services/GitHubRunner/_work/cCoder.DocumentManagement/cCoder.DocumentManagement/src/cCoder.DocumentManagement/Services/Foundations/FolderService.Validations.cs

File 'C:/Services/GitHubRunner/_work/cCoder.DocumentManagement/cCoder.DocumentManagement/src/cCoder.DocumentManagement/Services/Foundations/FolderService.Validations.cs' does not exist (any more).

Methods/Properties

.ctor(cCoder.DocumentManagement.Brokers.Storage.IFolderBroker,cCoder.DocumentManagement.Brokers.IAuthorizationBroker)
Authorize(System.Nullable`1<System.Int32>,System.String)
Get(System.Guid)
GetAll(System.Boolean)
GetWithRoles(System.Guid,System.Boolean)
GetForUpdate(System.Guid,System.Boolean)
GetByPath(System.Int32,System.String,System.Boolean)
GetByPathWithRoles(System.Int32,System.String,System.Boolean)
GetByPathWithParentAndRoles(System.Int32,System.String,System.Boolean)
GetByPathWithRolesAndFilesAndContents(System.Int32,System.String,System.Boolean)
GetFolderByPathWithSubFoldersAndFiles(System.Int32,System.String,System.Boolean)
AddFolderAsync(cCoder.Data.Models.DMS.Folder)
AddForPathBuildFolderAsync(cCoder.Data.Models.DMS.Folder)
UpdateFolderAsync(cCoder.Data.Models.DMS.Folder)
UpdateForAppFolderAsync(cCoder.Data.Models.DMS.Folder)
DeleteAsync(System.Guid)
DeleteAllForAppFolderAsync(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.DMS.Folder>)
DeleteAllByAppIdAsync(System.Int32)
CreateFolder(cCoder.Data.Models.DMS.Folder)
CreateFolderForUpdate(cCoder.Data.Models.DMS.Folder)
CreateFolderWithParent(cCoder.Data.Models.DMS.Folder)
CreateFolderForMove(cCoder.Data.Models.DMS.Folder)
CreateFolderWithRolesAndFiles(cCoder.Data.Models.DMS.Folder)
CreateApp(cCoder.Data.Models.CMS.App)
CreateLocalFile(cCoder.Data.Models.DMS.File)
CreateFolderRole(cCoder.Data.Models.Security.FolderRole)
CreateStorageFolder(cCoder.Data.Models.DMS.Folder,System.Boolean)
CreateStorageFolderForAdd(cCoder.Data.Models.DMS.Folder)
GetAllValue(System.Boolean)
UpdateForAppFolderValueAsync(cCoder.Data.Models.DMS.Folder)
TryCatch(System.Action)
TryCatch(System.Func`1<TResult>)
TryCatch()
TryCatch()
ValidateInputs(System.Object[])
ValidateAllOnGet(System.Boolean)
ValidateWithRolesOnGet(System.Guid,System.Boolean)
ValidateForUpdateOnGet(System.Guid,System.Boolean)
ValidateByPathOnGet(System.Int32,System.String,System.Boolean)
ValidateByPathWithRolesOnGet(System.Int32,System.String,System.Boolean)
ValidateByPathWithParentAndRolesOnGet(System.Int32,System.String,System.Boolean)
ValidateByPathWithRolesAndFilesAndContentsOnGet(System.Int32,System.String,System.Boolean)
ValidateFolderByPathWithSubFoldersAndFilesOnGet(System.Int32,System.String,System.Boolean)
ValidateFolderOnAdd(cCoder.Data.Models.DMS.Folder)
ValidateForPathBuildFolderOnAdd(cCoder.Data.Models.DMS.Folder)
ValidateFolderOnUpdate(cCoder.Data.Models.DMS.Folder)
ValidateForAppFolderOnUpdate(cCoder.Data.Models.DMS.Folder)
ValidateAllForAppFolderOnDelete(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.DMS.Folder>)
ValidateAllByAppIdOnDelete(System.Int32)
Validate(System.Object[])