< Summary

Information
Class: Elsa.Extensions.WorkflowsFeatureCommitStateExtensions
Assembly: Elsa.Workflows.Core
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/CommitStates/Extensions/ModuleExtensions.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 15
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
UseCommitStrategies(...)100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/CommitStates/Extensions/ModuleExtensions.cs

#LineLine coverage
 1using Elsa.Workflows.CommitStates;
 2using Elsa.Workflows.Features;
 3
 4// ReSharper disable once CheckNamespace
 5namespace Elsa.Extensions;
 6
 7public static class WorkflowsFeatureCommitStateExtensions
 8{
 9    public static WorkflowsFeature UseCommitStrategies(this WorkflowsFeature workflowsFeature, Action<CommitStrategiesFe
 10    {
 111        workflowsFeature.Module.Use(configure);
 112        return workflowsFeature;
 13    }
 14
 15}