< Summary

Line coverage
83%
Covered lines: 626
Uncovered lines: 121
Coverable lines: 747
Total lines: 1126
Line coverage: 83.8%
Branch coverage
45%
Covered branches: 79
Total branches: 174
Branch coverage: 45.4%
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: Get(...)100%11100%
File 1: GetAll(...)100%11100%
File 1: CopyAsync(...)100%11100%
File 1: AddFolderAsync(...)100%11100%
File 1: AddForAppFolderAsync()37.5%12861.53%
File 1: DeleteAsync(...)100%11100%
File 1: UpdateFolderAsync(...)100%11100%
File 1: UpdateForAppFolderAsync()50%2275%
File 1: HandleFolderDeleteEventAsync(...)100%11100%
File 1: cCoder.DocumentManagement.Services.Processings.IFolderPathProcessingService.GetFilesZippedAppPath(...)100%11100%
File 1: cCoder.DocumentManagement.Services.Processings.IFolderPathProcessingService.GetAppPath(...)100%11100%
File 1: cCoder.DocumentManagement.Services.Processings.IFolderPathProcessingService.UnpackAppPathAsync(...)100%11100%
File 1: AddOrUpdateFolder(...)100%11100%
File 1: AddOrUpdateForAppFolderAsync(...)100%11100%
File 1: DeleteAllFolderAsync(...)100%11100%
File 1: DeleteByAppIdAsync(...)100%11100%
File 1: cCoder.DocumentManagement.Services.Processings.IFolderPathProcessingService.SaveAppPathAsync(...)100%11100%
File 1: cCoder.DocumentManagement.Services.Processings.IFolderPathProcessingService.DropAppPathAsync(...)100%11100%
File 1: cCoder.DocumentManagement.Services.Processings.IFolderPathProcessingService.CopyAppPathAsync(...)100%11100%
File 1: cCoder.DocumentManagement.Services.Processings.IFolderPathProcessingService.MoveAppPathAsync(...)100%11100%
File 1: UpdateInternalFolderAsync()63.63%242284.61%
File 1: MergeSourceIntoDestinationFolderAsync()27.77%2291813.33%
File 1: UpdateChildrenFolderAsync()30%6103013.63%
File 1: BuildPathAppAsync()100%44100%
File 1: CreateFolderAppPathAsync()92.85%1414100%
File 1: DropFolderAppPathAsync()100%44100%
File 1: MoveFolderAppPathAsync()18.75%4503225.8%
File 1: CopyFolderAppPathAsync()25%1462032%
File 1: LoadFolderArchiveData(...)50%44100%
File 1: AddFolderToZipFileFileContent(...)90%1010100%
File 1: AddFileToZipFileContent(...)75%4487.5%
File 1: GetValue(...)100%11100%
File 1: GetAllValue(...)100%11100%
File 1: SaveAppPathValueAsync(...)100%11100%
File 1: AddFolderValueAsync(...)100%11100%
File 1: UpdateFolderValueAsync(...)100%11100%
File 1: DeleteValueAsync(...)100%11100%
File 1: ReadAllBytes(...)50%3233.33%
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(s)

C:/Services/GitHubRunner/_work/cCoder.DocumentManagement/cCoder.DocumentManagement/src/cCoder.DocumentManagement/Services/Processings/FolderProcessingService.cs

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

C:/Services/GitHubRunner/_work/cCoder.DocumentManagement/cCoder.DocumentManagement/src/cCoder.DocumentManagement/Services/Processings/FolderProcessingService.Exceptions.cs

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

C:/Services/GitHubRunner/_work/cCoder.DocumentManagement/cCoder.DocumentManagement/src/cCoder.DocumentManagement/Services/Processings/FolderProcessingService.Validations.cs

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

Methods/Properties

.ctor(cCoder.DocumentManagement.Services.Foundations.IFolderService,cCoder.DocumentManagement.Exposures.IFolderRoleOperationsExposure,cCoder.DocumentManagement.Exposures.IRoleOperationsExposure,cCoder.DocumentManagement.Exposures.IFileOperationsExposure,cCoder.DocumentManagement.Exposures.IFilePathOperationsExposure,cCoder.DocumentManagement.Exposures.IFileContentOperationsExposure,cCoder.DocumentManagement.Brokers.IAuthorizationBroker)
GetCurrentUser()
Get(System.Guid)
GetAll(System.Boolean)
CopyAsync(System.String,System.String,System.Int32,System.Int32)
AddFolderAsync(cCoder.Data.Models.DMS.Folder)
AddForAppFolderAsync()
DeleteAsync(System.Guid)
UpdateFolderAsync(cCoder.Data.Models.DMS.Folder)
UpdateForAppFolderAsync()
HandleFolderDeleteEventAsync(cCoder.Data.Models.DMS.Folder)
cCoder.DocumentManagement.Services.Processings.IFolderPathProcessingService.GetFilesZippedAppPath(System.Int32,System.Collections.Generic.IEnumerable`1<cCoder.DocumentManagement.Dependencies.Path>)
cCoder.DocumentManagement.Services.Processings.IFolderPathProcessingService.GetAppPath(System.Int32,cCoder.DocumentManagement.Dependencies.Path,System.String)
cCoder.DocumentManagement.Services.Processings.IFolderPathProcessingService.UnpackAppPathAsync(System.Int32,cCoder.DocumentManagement.Dependencies.Path,System.IO.Stream,System.Boolean)
AddOrUpdateFolder(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.DMS.Folder>)
AddOrUpdateForAppFolderAsync(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.DMS.Folder>)
DeleteAllFolderAsync(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.DMS.Folder>)
DeleteByAppIdAsync(System.Int32)
cCoder.DocumentManagement.Services.Processings.IFolderPathProcessingService.SaveAppPathAsync(System.Int32,cCoder.DocumentManagement.Dependencies.Path)
cCoder.DocumentManagement.Services.Processings.IFolderPathProcessingService.DropAppPathAsync(System.Int32,cCoder.DocumentManagement.Dependencies.Path)
cCoder.DocumentManagement.Services.Processings.IFolderPathProcessingService.CopyAppPathAsync(System.Int32,cCoder.DocumentManagement.Dependencies.Path,cCoder.DocumentManagement.Dependencies.Path)
cCoder.DocumentManagement.Services.Processings.IFolderPathProcessingService.MoveAppPathAsync(System.Int32,cCoder.DocumentManagement.Dependencies.Path,cCoder.DocumentManagement.Dependencies.Path)
UpdateInternalFolderAsync()
MergeSourceIntoDestinationFolderAsync()
UpdateChildrenFolderAsync()
BuildPathAppAsync()
CreateFolderAppPathAsync()
DropFolderAppPathAsync()
MoveFolderAppPathAsync()
CopyFolderAppPathAsync()
LoadFolderArchiveData(System.Int32,System.String,System.Boolean)
AddFolderToZipFileFileContent(cCoder.DocumentManagement.Dependencies.DocumentArchiveDependency,cCoder.Data.Models.DMS.Folder,System.Linq.ILookup`2<System.Nullable`1<System.Guid>,cCoder.Data.Models.DMS.Folder>,System.Linq.ILookup`2<System.Guid,cCoder.Data.Models.DMS.File>,System.Linq.ILookup`2<System.Guid,cCoder.Data.Models.DMS.FileContent>,System.String,System.String)
AddFileToZipFileContent(cCoder.DocumentManagement.Dependencies.DocumentArchiveDependency,cCoder.Data.Models.DMS.File,System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.DMS.FileContent>,System.String)
GetValue(System.Guid)
GetAllValue(System.Boolean)
SaveAppPathValueAsync(System.Int32,cCoder.DocumentManagement.Dependencies.Path)
AddFolderValueAsync(cCoder.Data.Models.DMS.Folder)
UpdateFolderValueAsync(cCoder.Data.Models.DMS.Folder)
DeleteValueAsync(System.Guid)
ReadAllBytes(System.IO.Stream)
TryCatch(System.Action)
TryCatch(System.Func`1<TResult>)
TryCatch()
TryCatch()
ValidateInputs(System.Object[])