< Summary

Information
Class: Elsa.Alterations.Extensions.ModuleExtensions
Assembly: Elsa.Alterations
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Alterations/Extensions/ModuleExtensions.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 19
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
UseAlterations(...)100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Alterations/Extensions/ModuleExtensions.cs

#LineLine coverage
 1using Elsa.Alterations.Features;
 2using Elsa.Extensions;
 3using Elsa.Features.Services;
 4
 5namespace Elsa.Alterations.Extensions;
 6
 7/// <summary>
 8/// Adds the <see cref="AlterationsFeature"/>.
 9/// </summary>
 10public static class ModuleExtensions
 11{
 12    /// <summary>
 13    /// Adds the <see cref="AlterationsFeature"/>.
 14    /// </summary>
 15    public static IModule UseAlterations(this IModule module, Action<AlterationsFeature>? configure = null)
 16    {
 217        return module.Use(configure);
 18    }
 19}