< Summary

Information
Class: Elsa.Workflows.Runtime.Distributed.Extensions.ModuleExtensions
Assembly: Elsa.Workflows.Runtime.Distributed
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime.Distributed/Extensions/ModuleExtensions.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 13
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
UseDistributedRuntime(...)100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime.Distributed/Extensions/ModuleExtensions.cs

#LineLine coverage
 1using Elsa.Workflows.Runtime.Distributed.Features;
 2using Elsa.Workflows.Runtime.Features;
 3
 4namespace Elsa.Workflows.Runtime.Distributed.Extensions;
 5
 6public static class ModuleExtensions
 7{
 8    public static WorkflowRuntimeFeature UseDistributedRuntime(this WorkflowRuntimeFeature feature, Action<DistributedRu
 9    {
 210        feature.Module.Configure(configure);
 211        return feature;
 12    }
 13}