< Summary

Information
Class: Elsa.Workflows.Models.Output<T>
Assembly: Elsa.Workflows.Core
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/Models/Output.cs
Line coverage
66%
Covered lines: 4
Uncovered lines: 2
Coverable lines: 6
Total lines: 33
Line coverage: 66.6%
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%
.ctor(...)100%11100%
.ctor(...)100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/Models/Output.cs

#LineLine coverage
 1using Elsa.Expressions.Models;
 2
 3namespace Elsa.Workflows.Models;
 4
 5public class Output : Argument
 6{
 7    public Output() : base(new Literal())
 8    {
 9    }
 10
 11    public Output(MemoryBlockReference memoryBlockReference) : base(memoryBlockReference)
 12    {
 13    }
 14
 15    public Output(Func<MemoryBlockReference> memoryBlockReference) : base(memoryBlockReference)
 16    {
 17    }
 18}
 19
 20public class Output<T> : Output
 21{
 5122    public Output()
 23    {
 5124    }
 25
 113126    public Output(MemoryBlockReference memoryBlockReference) : base(memoryBlockReference)
 27    {
 113128    }
 29
 030    public Output(Func<MemoryBlockReference> memoryBlockReference) : base(memoryBlockReference)
 31    {
 032    }
 33}