< Summary

Line coverage
86%
Covered lines: 746
Uncovered lines: 118
Coverable lines: 864
Total lines: 1303
Line coverage: 86.3%
Branch coverage
48%
Covered branches: 90
Total branches: 184
Branch coverage: 48.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: 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: GetFilesZippedAppPath(...)100%11100%
File 1: GetFilesZippedFolderAppPath(...)100%11100%
File 1: GetAppPath(...)100%11100%
File 1: GetFolderAppPath(...)100%11100%
File 1: UnpackAppPathAsync(...)100%11100%
File 1: UnpackFolderAppPathAsync(...)100%11100%
File 1: AddOrUpdateFolder(...)100%11100%
File 1: AddOrUpdateForAppFolderAsync(...)100%11100%
File 1: DeleteAllFolderAsync(...)100%11100%
File 1: DeleteAllByAppIdAsync(...)100%11100%
File 1: SaveAppPathAsync(...)100%11100%
File 1: SaveFolderAppPathAsync(...)100%11100%
File 1: DropAppPathAsync(...)100%11100%
File 1: DropFolderPathAsync(...)100%11100%
File 1: CopyAppPathAsync(...)100%11100%
File 1: CopyFolderPathAsync(...)100%11100%
File 1: MoveAppPathAsync(...)100%11100%
File 1: MoveFolderPathAsync(...)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: AddFolderToArchiveEntries(...)93.75%161696.55%
File 1: AddFileToArchiveEntries(...)75%4491.66%
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: DeleteWithoutEventAsync()100%66100%
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: ValidateFolderOnAdd(...)100%11100%
File 3: ValidateFolderOnUpdate(...)100%11100%
File 3: ValidateOrUpdateFolderOnAdd(...)100%11100%
File 3: ValidateOrUpdateForAppFolderOnAdd(...)100%11100%
File 3: ValidateAllFolderOnDelete(...)100%11100%
File 3: ValidateAllByAppIdOnDelete(...)100%11100%
File 3: ValidateByAppIdOnDelete(...)100%11100%
File 3: Validate(...)100%11100%

File(s)

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

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

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

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

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

File 'C:/Services/GitHubRunner/_work/cCoder.DocumentManagement/cCoder.DocumentManagement/src/cCoder.DocumentManagement/Services/Aggregations/FolderMutationAggregationService.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.IFileMutationOperationsExposure,cCoder.DocumentManagement.Exposures.IFilePathOperationsExposure,cCoder.DocumentManagement.Exposures.IFileContentOperationsExposure,cCoder.DocumentManagement.Services.Foundations.Events.IFolderEventService,cCoder.DocumentManagement.Brokers.IAuthorizationBroker,cCoder.DocumentManagement.Brokers.IDocumentArchiveBroker,cCoder.DocumentManagement.Brokers.IStreamBroker)
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)
GetFilesZippedAppPath(System.Int32,System.Collections.Generic.IEnumerable`1<System.String>)
GetFilesZippedFolderAppPath(System.Int32,System.Collections.Generic.IEnumerable`1<cCoder.DocumentManagement.Models.Path>)
GetAppPath(System.Int32,System.String,System.String)
GetFolderAppPath(System.Int32,cCoder.DocumentManagement.Models.Path,System.String)
UnpackAppPathAsync(System.Int32,System.String,System.IO.Stream,System.Boolean)
UnpackFolderAppPathAsync(System.Int32,cCoder.DocumentManagement.Models.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>)
DeleteAllByAppIdAsync(System.Int32)
SaveAppPathAsync(System.Int32,System.String)
SaveFolderAppPathAsync(System.Int32,cCoder.DocumentManagement.Models.Path)
DropAppPathAsync(System.Int32,System.String)
DropFolderPathAsync(System.Int32,cCoder.DocumentManagement.Models.Path)
CopyAppPathAsync(System.Int32,System.String,System.String)
CopyFolderPathAsync(System.Int32,cCoder.DocumentManagement.Models.Path,cCoder.DocumentManagement.Models.Path)
MoveAppPathAsync(System.Int32,System.String,System.String)
MoveFolderPathAsync(System.Int32,cCoder.DocumentManagement.Models.Path,cCoder.DocumentManagement.Models.Path)
UpdateInternalFolderAsync()
MergeSourceIntoDestinationFolderAsync()
UpdateChildrenFolderAsync()
BuildPathAppAsync()
CreateFolderAppPathAsync()
DropFolderAppPathAsync()
MoveFolderAppPathAsync()
CopyFolderAppPathAsync()
LoadFolderArchiveData(System.Int32,System.String,System.Boolean)
AddFolderToArchiveEntries(System.Collections.Generic.ICollection`1<cCoder.DocumentManagement.Models.ArchiveEntryData>,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,System.Collections.Generic.HashSet`1<System.Guid>,System.Int32)
AddFileToArchiveEntries(System.Collections.Generic.ICollection`1<cCoder.DocumentManagement.Models.ArchiveEntryData>,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.Models.Path)
AddFolderValueAsync(cCoder.Data.Models.DMS.Folder)
UpdateFolderValueAsync(cCoder.Data.Models.DMS.Folder)
DeleteValueAsync(System.Guid)
DeleteWithoutEventAsync()
TryCatch(System.Action)
TryCatch(System.Func`1<TResult>)
TryCatch()
TryCatch()
ValidateInputs(System.Object[])
ValidateAllOnGet(System.Object[])
ValidateFolderOnAdd(System.Object[])
ValidateFolderOnUpdate(System.Object[])
ValidateOrUpdateFolderOnAdd(System.Object[])
ValidateOrUpdateForAppFolderOnAdd(System.Object[])
ValidateAllFolderOnDelete(System.Object[])
ValidateAllByAppIdOnDelete(System.Object[])
ValidateByAppIdOnDelete(System.Object[])
Validate(System.Object[])