< Summary

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

File(s)

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

#LineLine coverage
 1using Elsa.Features.Services;
 2using Elsa.Expressions.Liquid.Features;
 3
 4// ReSharper disable once CheckNamespace
 5namespace Elsa.Extensions;
 6
 7public static class ModuleExtensions
 8{
 9    /// <summary>
 10    /// Setup the <see cref="LiquidFeature"/> feature.
 11    /// </summary>
 12    public static IModule UseLiquid(this IModule module, Action<LiquidFeature>? configure = default)
 13    {
 114        module.Configure(configure);
 115        return module;
 16    }
 17}