< Summary

Line coverage
100%
Covered lines: 209
Uncovered lines: 0
Coverable lines: 209
Total lines: 419
Line coverage: 100%
Branch coverage
88%
Covered branches: 32
Total branches: 36
Branch coverage: 88.8%
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: Get(...)100%11100%
File 1: ExecuteGet(...)100%44100%
File 1: GetForExecution(...)100%11100%
File 1: ExecuteGetForExecution(...)100%11100%
File 1: GetAll(...)100%11100%
File 1: ExecuteGetAll(...)100%22100%
File 1: MarkExecutedAsync(...)100%11100%
File 1: ExecuteMarkExecutedAsync()92.85%1414100%
File 1: GetExecuteAsUserBelongsToApp(...)100%11100%
File 1: ExecuteGetExecuteAsUserBelongsToApp(...)100%11100%
File 1: GetFlowBelongsToApp(...)100%11100%
File 1: ExecuteGetFlowBelongsToApp(...)100%11100%
File 1: AddScheduledTaskAsync(...)100%11100%
File 1: ExecuteAddAsync()100%11100%
File 1: UpdateScheduledTaskAsync(...)100%11100%
File 1: ExecuteUpdateAsync()100%11100%
File 1: DeleteAsync(...)100%11100%
File 1: ExecuteDeleteAsync()100%22100%
File 1: DeleteAllForAppScheduledTaskAsync(...)100%11100%
File 1: ExecuteDeleteAllForAppAsync(...)66.66%66100%
File 1: DeleteAllByAppIdAsync(...)100%11100%
File 1: ExecuteDeleteAllByAppIdAsync(...)100%11100%
File 1: CreateStorageScheduledTask(...)50%22100%
File 2: TryCatch(...)100%11100%
File 2: TryCatch()100%11100%
File 2: TryCatch()100%11100%
File 3: ValidateInputs(...)100%11100%
File 3: ValidateScheduledTaskOnAdd(...)100%11100%
File 3: ValidateScheduledTaskOnUpdate(...)100%11100%
File 3: ValidateForExecutionOnGet(...)100%11100%
File 3: ValidateAllOnGet(...)100%11100%
File 3: ValidateAllForAppScheduledTaskOnDelete(...)100%11100%
File 3: ValidateAllByAppIdOnDelete(...)100%11100%
File 3: ValidateExecuteAsUserBelongsToAppOnGet(...)100%11100%
File 3: ValidateFlowBelongsToAppOnGet(...)100%11100%
File 3: ValidateScheduledTaskAccess(...)100%66100%

File(s)

C:/Services/GitHubRunner/_work/cCoder.Workflow/cCoder.Workflow/src/cCoder.Workflow/Services/Foundations/ScheduledTaskService.cs

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

C:/Services/GitHubRunner/_work/cCoder.Workflow/cCoder.Workflow/src/cCoder.Workflow/Services/Foundations/ScheduledTaskService.Exceptions.cs

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

C:/Services/GitHubRunner/_work/cCoder.Workflow/cCoder.Workflow/src/cCoder.Workflow/Services/Foundations/ScheduledTaskService.Validations.cs

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

Methods/Properties

.ctor(cCoder.Workflow.Brokers.Storage.IScheduledTaskBroker,cCoder.Workflow.Brokers.IAuthorizationBroker)
Get(System.Int32)
ExecuteGet(System.Int32)
GetForExecution(System.Int32)
ExecuteGetForExecution(System.Int32)
GetAll(System.Boolean)
ExecuteGetAll(System.Boolean)
MarkExecutedAsync(System.Int32,System.Boolean)
ExecuteMarkExecutedAsync()
GetExecuteAsUserBelongsToApp(System.String,System.Int32)
ExecuteGetExecuteAsUserBelongsToApp(System.String,System.Int32)
GetFlowBelongsToApp(System.Guid,System.Int32)
ExecuteGetFlowBelongsToApp(System.Guid,System.Int32)
AddScheduledTaskAsync(cCoder.Data.Models.Planning.ScheduledTask)
ExecuteAddAsync()
UpdateScheduledTaskAsync(cCoder.Data.Models.Planning.ScheduledTask)
ExecuteUpdateAsync()
DeleteAsync(System.Int32)
ExecuteDeleteAsync()
DeleteAllForAppScheduledTaskAsync(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.Planning.ScheduledTask>)
ExecuteDeleteAllForAppAsync(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.Planning.ScheduledTask>)
DeleteAllByAppIdAsync(System.Int32)
ExecuteDeleteAllByAppIdAsync(System.Int32)
CreateStorageScheduledTask(cCoder.Data.Models.Planning.ScheduledTask)
TryCatch(System.Func`1<TResult>)
TryCatch()
TryCatch()
ValidateInputs(System.Object[])
ValidateScheduledTaskOnAdd(System.Object[])
ValidateScheduledTaskOnUpdate(System.Object[])
ValidateForExecutionOnGet(System.Object[])
ValidateAllOnGet(System.Object[])
ValidateAllForAppScheduledTaskOnDelete(System.Object[])
ValidateAllByAppIdOnDelete(System.Object[])
ValidateExecuteAsUserBelongsToAppOnGet(System.Object[])
ValidateFlowBelongsToAppOnGet(System.Object[])
ValidateScheduledTaskAccess(cCoder.Data.Models.Planning.ScheduledTask)