< Summary

Information
Class: Elsa.Workflows.LogPersistence.DefaultLogPersistenceStrategyService
Assembly: Elsa.Workflows.Core
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/LogPersistence/Services/DefaultLogPersistenceStrategyService.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 12
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
.ctor(...)100%11100%
ListStrategies()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/LogPersistence/Services/DefaultLogPersistenceStrategyService.cs

#LineLine coverage
 1using JetBrains.Annotations;
 2
 3namespace Elsa.Workflows.LogPersistence;
 4
 5[UsedImplicitly]
 4346public class DefaultLogPersistenceStrategyService(IEnumerable<ILogPersistenceStrategy> strategies) : ILogPersistenceStra
 7{
 8    public IEnumerable<ILogPersistenceStrategy> ListStrategies()
 9    {
 43410        return strategies;
 11    }
 12}