< Summary

Information
Class: HostedServices.HostedServicesWorkflowInstanceManagementOrchestrationService
Assembly: HostedServices
File(s): C:/Services/GitHubRunner/_work/ccoder.Core/ccoder.Core/ccoder.Core/src/Apps/HostedServices/HostedServicesWorkflowInstanceManagementOrchestrationService.cs
Line coverage
24%
Covered lines: 65
Uncovered lines: 199
Coverable lines: 264
Total lines: 311
Line coverage: 24.6%
Branch coverage
14%
Covered branches: 14
Total branches: 98
Branch coverage: 14.2%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%
.ctor(...)100%11100%
.ctor(...)100%210%
GetAll(...)100%210%
GetAll(...)100%210%
RunAsync()0%4223.52%
RunAsync()0%4223.52%
GetStats()100%210%
GetStats()100%210%
GetStats()100%210%
ExecuteWaitingQueuedInstanceByIdAsync()100%210%
ExecuteWaitingQueuedInstanceByIdAsync()100%210%
ExecuteWaitingQueuedInstanceByIdAsync()100%210%
RunInstanceMaintenanceContinuouslyAsync()0%4260%
RunInstanceMaintenanceContinuouslyAsync()0%4260%
RunInstanceMaintenanceContinuouslyAsync()0%4260%
RunInstanceMaintenanceAsync()0%620%
RunInstanceMaintenanceAsync()0%4218.75%
RunInstanceMaintenanceAsync()0%4218.75%
RunQueueInstanceBackgroundServiceDependencyContinuouslyAsync()0%4260%
RunQueueInstanceBackgroundServiceDependencyContinuouslyAsync()0%4260%
RunQueueInstanceBackgroundServiceDependencyContinuouslyAsync()0%4260%
RunQueueInstanceBackgroundServiceDependencyAsync()0%620%
RunQueueInstanceBackgroundServiceDependencyAsync()0%4223.52%
RunQueueInstanceBackgroundServiceDependencyAsync()0%4223.52%
GetQueuePollingInterval()100%210%
GetQueuePollingInterval()100%210%
GetQueuePollingInterval()100%210%
DropOldInstancesAsync()0%2040%
DropOldInstancesAsync()50%6450%
DropOldInstancesAsync()50%6450%
RequeueHungExecutingInstancesAsync()0%620%
RequeueHungExecutingInstancesAsync()100%22100%
RequeueHungExecutingInstancesAsync()100%22100%
ExecuteWaitingQueuedInstancesAsync()0%620%
ExecuteWaitingQueuedInstancesAsync()100%22100%
ExecuteWaitingQueuedInstancesAsync()100%22100%
ExecuteInstanceAsync()0%4260%
ExecuteInstanceAsync()16.66%26617.5%
ExecuteInstanceAsync()16.66%26617.5%
SendToWorkflowAsync()100%210%
SendToWorkflowAsync()100%210%
SendToWorkflowAsync()100%210%
MarkFailedAsync()0%620%
MarkFailedAsync()0%620%
MarkFailedAsync()0%620%

File(s)

C:/Services/GitHubRunner/_work/ccoder.Core/ccoder.Core/ccoder.Core/src/Apps/HostedServices/HostedServicesWorkflowInstanceManagementOrchestrationService.cs

File 'C:/Services/GitHubRunner/_work/ccoder.Core/ccoder.Core/ccoder.Core/src/Apps/HostedServices/HostedServicesWorkflowInstanceManagementOrchestrationService.cs' does not exist (any more).

Methods/Properties

.ctor(cCoder.Workflow.Brokers.IWorkflowInstanceManagementBroker,cCoder.Workflow.Exposures.IFlowInstanceDataManager,cCoder.Data.ICoreContextFactory,System.IServiceProvider,cCoder.Core.Models.CoreConfiguration,Microsoft.Extensions.Logging.ILogger`1<HostedServices.HostedServicesWorkflowInstanceManagementOrchestrationService>)
.ctor(cCoder.Workflow.Brokers.IWorkflowInstanceManagementBroker,cCoder.Workflow.Exposures.IFlowInstanceDataManager,cCoder.Data.ICoreContextFactory,System.IServiceProvider,cCoder.Core.Models.CoreConfiguration,cCoder.Core.Brokers.Loggings.ILoggingBroker)
.ctor(cCoder.Workflow.Brokers.IWorkflowInstanceManagementBroker,cCoder.Workflow.Exposures.IFlowInstanceDataManager,cCoder.Data.ICoreContextFactory,System.IServiceProvider,cCoder.Core.Models.CoreConfiguration,HostedServices.Services.Foundations.Loggings.ILoggingFoundationService)
GetAll(System.Boolean)
GetAll(System.Boolean)
RunAsync()
RunAsync()
GetStats()
GetStats()
GetStats()
ExecuteWaitingQueuedInstanceByIdAsync()
ExecuteWaitingQueuedInstanceByIdAsync()
ExecuteWaitingQueuedInstanceByIdAsync()
RunInstanceMaintenanceContinuouslyAsync()
RunInstanceMaintenanceContinuouslyAsync()
RunInstanceMaintenanceContinuouslyAsync()
RunInstanceMaintenanceAsync()
RunInstanceMaintenanceAsync()
RunInstanceMaintenanceAsync()
RunQueueInstanceBackgroundServiceDependencyContinuouslyAsync()
RunQueueInstanceBackgroundServiceDependencyContinuouslyAsync()
RunQueueInstanceBackgroundServiceDependencyContinuouslyAsync()
RunQueueInstanceBackgroundServiceDependencyAsync()
RunQueueInstanceBackgroundServiceDependencyAsync()
RunQueueInstanceBackgroundServiceDependencyAsync()
GetQueuePollingInterval()
GetQueuePollingInterval()
GetQueuePollingInterval()
DropOldInstancesAsync()
DropOldInstancesAsync()
DropOldInstancesAsync()
RequeueHungExecutingInstancesAsync()
RequeueHungExecutingInstancesAsync()
RequeueHungExecutingInstancesAsync()
ExecuteWaitingQueuedInstancesAsync()
ExecuteWaitingQueuedInstancesAsync()
ExecuteWaitingQueuedInstancesAsync()
ExecuteInstanceAsync()
ExecuteInstanceAsync()
ExecuteInstanceAsync()
SendToWorkflowAsync()
SendToWorkflowAsync()
SendToWorkflowAsync()
MarkFailedAsync()
MarkFailedAsync()
MarkFailedAsync()