< Summary

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

File(s)

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

#LineLine coverage
 1using Elsa.Extensions;
 2using Elsa.Features.Services;
 3using Elsa.Resilience.Features;
 4
 5namespace Elsa.Resilience.Extensions;
 6
 7public static class ModuleExtensions
 8{
 9    public static IModule UseResilience(this IModule module, Action<ResilienceFeature>? configure = null)
 10    {
 311        return module.Use(configure);
 12    }
 13}