< Summary

Line coverage
81%
Covered lines: 545
Uncovered lines: 125
Coverable lines: 670
Total lines: 1008
Line coverage: 81.3%
Branch coverage
43%
Covered branches: 48
Total branches: 110
Branch coverage: 43.6%
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: GetAppPath(...)100%11100%
File 1: GetFileAppPath(...)100%11100%
File 1: SearchApp(...)100%11100%
File 1: SaveAppPathAsync(...)100%11100%
File 1: SaveFileAppPathAsync(...)100%11100%
File 1: DropAppPathAsync(...)100%11100%
File 1: DropFilePathAsync(...)100%11100%
File 1: CopyAppPathAsync(...)100%11100%
File 1: CopyFilePathAsync(...)100%11100%
File 1: MoveAppPathAsync(...)100%11100%
File 1: MoveFilePathAsync(...)100%11100%
File 1: AddOrUpdateFile(...)100%11100%
File 1: DeleteAllFileAsync(...)100%11100%
File 1: UpdateFileAppFolderAsync()100%44100%
File 1: BuildNewFileAppPathFolderAsync()100%44100%
File 1: SaveFileVersionAsync()100%11100%
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()40%2562016.12%
File 1: ConfirmUserCanMoveFilePathFolder(...)33.33%431240%
File 1: BuildPathAppAsync()50%4471.42%
File 1: CreateFolderAppPathAsync()27.77%1191832.14%
File 1: GetSizeOf(...)50%8660%
File 1: ReadAllBytes(...)100%22100%
File 1: GetContent(...)25%44100%
File 1: AddFileValueAsync(...)100%11100%
File 1: UpdateFileValueAsync(...)100%11100%
File 1: DeleteValueAsync(...)100%11100%
File 1: DeleteWithoutEventAsync(...)100%11100%
File 1: NormalizePath(...)100%22100%
File 1: GetLoweredPath(...)100%11100%
File 1: GetPathName(...)100%11100%
File 1: GetParentPath(...)100%22100%
File 1: IsFilePath(...)100%11100%
File 1: GetPathExtension(...)75%44100%
File 1: GetMimeType(...)50%271044.44%
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: ValidateFileOnAdd(...)100%11100%
File 3: ValidateByPathOnGet(...)100%11100%
File 3: ValidateFileOnUpdate(...)100%11100%
File 3: ValidateOrUpdateFileOnAdd(...)100%11100%
File 3: ValidateAllFileOnDelete(...)100%11100%
File 3: Validate(...)100%11100%

File(s)

C:/Services/GitHubRunner/_work/cCoder.DocumentManagement/cCoder.DocumentManagement/src/cCoder.DocumentManagement/Services/Aggregations/FileMutationAggregationService.cs

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

C:/Services/GitHubRunner/_work/cCoder.DocumentManagement/cCoder.DocumentManagement/src/cCoder.DocumentManagement/Services/Aggregations/FileMutationAggregationService.Exceptions.cs

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

C:/Services/GitHubRunner/_work/cCoder.DocumentManagement/cCoder.DocumentManagement/src/cCoder.DocumentManagement/Services/Aggregations/FileMutationAggregationService.Validations.cs

File 'C:/Services/GitHubRunner/_work/cCoder.DocumentManagement/cCoder.DocumentManagement/src/cCoder.DocumentManagement/Services/Aggregations/FileMutationAggregationService.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.Services.Foundations.Events.IFileEventService,cCoder.DocumentManagement.Brokers.IAuthorizationBroker,cCoder.DocumentManagement.Brokers.IStreamBroker)
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)
GetAppPath(System.Int32,System.String,System.Int32)
GetFileAppPath(System.Int32,System.String,System.Int32)
SearchApp(System.Int32,System.String)
SaveAppPathAsync(System.Int32,System.String,System.IO.Stream)
SaveFileAppPathAsync(System.Int32,System.String,System.IO.Stream)
DropAppPathAsync(System.Int32,System.String,System.Int32)
DropFilePathAsync(System.Int32,System.String,System.Int32)
CopyAppPathAsync(System.Int32,System.String,System.String)
CopyFilePathAsync(System.Int32,System.String,System.String)
MoveAppPathAsync(System.Int32,System.String,System.String)
MoveFilePathAsync(System.Int32,System.String,System.String)
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(System.String,System.String,cCoder.Data.Models.DMS.Folder,cCoder.Data.Models.DMS.Folder,System.Boolean)
BuildPathAppAsync()
CreateFolderAppPathAsync()
GetSizeOf(System.Byte[])
ReadAllBytes(System.IO.Stream)
GetContent(cCoder.Data.Models.DMS.File,System.Int32)
AddFileValueAsync(cCoder.Data.Models.DMS.File)
UpdateFileValueAsync(cCoder.Data.Models.DMS.File)
DeleteValueAsync(System.Guid)
DeleteWithoutEventAsync(System.Guid)
NormalizePath(System.String)
GetLoweredPath(System.String)
GetPathName(System.String)
GetParentPath(System.String)
IsFilePath(System.String)
GetPathExtension(System.String)
GetMimeType(System.String)
TryCatch(System.Action)
TryCatch(System.Func`1<TResult>)
TryCatch()
TryCatch()
ValidateInputs(System.Object[])
ValidateAllOnGet(System.Object[])
ValidateFileOnAdd(System.Object[])
ValidateByPathOnGet(System.Object[])
ValidateFileOnUpdate(System.Object[])
ValidateOrUpdateFileOnAdd(System.Object[])
ValidateAllFileOnDelete(System.Object[])
Validate(System.Object[])