< Summary

Line coverage
74%
Covered lines: 428
Uncovered lines: 147
Coverable lines: 575
Total lines: 862
Line coverage: 74.4%
Branch coverage
31%
Covered branches: 30
Total branches: 94
Branch coverage: 31.9%
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: AddFileAsync(...)100%11100%
File 1: GetByPath(...)100%11100%
File 1: DeleteAsync(...)100%11100%
File 1: UpdateFileAsync(...)100%11100%
File 1: HandleFileDeleteEventAsync(...)100%11100%
File 1: cCoder.DocumentManagement.Services.Processings.IFilePathProcessingService.GetAppPath(...)100%11100%
File 1: cCoder.DocumentManagement.Services.Processings.IFilePathProcessingService.SearchApp(...)100%11100%
File 1: cCoder.DocumentManagement.Services.Processings.IFilePathProcessingService.SaveAppPathAsync(...)100%11100%
File 1: cCoder.DocumentManagement.Services.Processings.IFilePathProcessingService.DropAppPathAsync(...)100%11100%
File 1: cCoder.DocumentManagement.Services.Processings.IFilePathProcessingService.CopyAppPathAsync(...)100%11100%
File 1: cCoder.DocumentManagement.Services.Processings.IFilePathProcessingService.MoveAppPathAsync(...)100%11100%
File 1: AddOrUpdateFile(...)100%11100%
File 1: DeleteAllFileAsync(...)100%11100%
File 1: UpdateFileAppFolderAsync()50%5460%
File 1: BuildNewFileAppPathFolderAsync()50%5460%
File 1: SaveFileVersionAsync()100%1125%
File 1: BuildLocalFilePathFolderAsync()100%11100%
File 1: DropFileAppPathAsync()50%13642.85%
File 1: DropFileVersionAsync()0%12422.22%
File 1: MoveFileAppPathFolderAsync()0%6683.33%
File 1: CopyFileAppPathAsync()45%2802013.33%
File 1: ConfirmUserCanMoveFilePathFolder(...)33.33%431240%
File 1: BuildPathAppAsync()25%7442.85%
File 1: CreateFolderAppPathAsync()27.77%1311829.62%
File 1: GetSizeOf(...)50%8660%
File 1: ReadAllBytes(...)12.5%43818.18%
File 1: AddFileValueAsync(...)100%11100%
File 1: UpdateFileValueAsync(...)100%11100%
File 1: DeleteValueAsync(...)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(s)

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

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

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

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

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

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

Methods/Properties

.ctor(cCoder.DocumentManagement.Services.Foundations.IFileService,cCoder.DocumentManagement.Exposures.IFolderOperationsExposure,cCoder.DocumentManagement.Exposures.IFileContentOperationsExposure,cCoder.DocumentManagement.Brokers.IAuthorizationBroker)
GetCurrentUser()
Get(System.Guid)
GetAll(System.Boolean)
AddFileAsync(cCoder.Data.Models.DMS.File)
GetByPath(System.Int32,System.String)
DeleteAsync(System.Guid)
UpdateFileAsync(cCoder.Data.Models.DMS.File)
HandleFileDeleteEventAsync(cCoder.Data.Models.DMS.File)
cCoder.DocumentManagement.Services.Processings.IFilePathProcessingService.GetAppPath(System.Int32,cCoder.DocumentManagement.Dependencies.Path,System.Int32)
cCoder.DocumentManagement.Services.Processings.IFilePathProcessingService.SearchApp(System.Int32,System.String)
cCoder.DocumentManagement.Services.Processings.IFilePathProcessingService.SaveAppPathAsync(System.Int32,cCoder.DocumentManagement.Dependencies.Path,System.IO.Stream)
cCoder.DocumentManagement.Services.Processings.IFilePathProcessingService.DropAppPathAsync(System.Int32,cCoder.DocumentManagement.Dependencies.Path,System.Int32)
cCoder.DocumentManagement.Services.Processings.IFilePathProcessingService.CopyAppPathAsync(System.Int32,cCoder.DocumentManagement.Dependencies.Path,cCoder.DocumentManagement.Dependencies.Path)
cCoder.DocumentManagement.Services.Processings.IFilePathProcessingService.MoveAppPathAsync(System.Int32,cCoder.DocumentManagement.Dependencies.Path,cCoder.DocumentManagement.Dependencies.Path)
AddOrUpdateFile(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.DMS.File>)
DeleteAllFileAsync(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.DMS.File>)
UpdateFileAppFolderAsync()
BuildNewFileAppPathFolderAsync()
SaveFileVersionAsync()
BuildLocalFilePathFolderAsync()
DropFileAppPathAsync()
DropFileVersionAsync()
MoveFileAppPathFolderAsync()
CopyFileAppPathAsync()
ConfirmUserCanMoveFilePathFolder(cCoder.DocumentManagement.Dependencies.Path,cCoder.DocumentManagement.Dependencies.Path,cCoder.Data.Models.DMS.Folder,cCoder.Data.Models.DMS.Folder,System.Boolean)
BuildPathAppAsync()
CreateFolderAppPathAsync()
GetSizeOf(System.Byte[])
ReadAllBytes(System.IO.Stream)
AddFileValueAsync(cCoder.Data.Models.DMS.File)
UpdateFileValueAsync(cCoder.Data.Models.DMS.File)
DeleteValueAsync(System.Guid)
TryCatch(System.Action)
TryCatch(System.Func`1<TResult>)
TryCatch()
TryCatch()
ValidateInputs(System.Object[])