< Summary

Information
Class: Elsa.Workflows.Activities.Flowchart.Models.Outcomes
Assembly: Elsa.Workflows.Core
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/Activities/Flowchart/Models/Outcomes.cs
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 11
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
get_Names()100%11100%
.cctor()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/Activities/Flowchart/Models/Outcomes.cs

#LineLine coverage
 1namespace Elsa.Workflows.Activities.Flowchart.Models;
 2
 3/// <summary>
 4/// Represents a list of outcomes that can be send when completing an activity. This information is used by <see cref="A
 5/// </summary>
 6/// <param name="Names">A list of outcome names.</param>
 13157public record Outcomes(params string[] Names)
 8{
 29    public static readonly Outcomes Default = new(null!, "Done");
 210    public static readonly Outcomes Empty = new();
 11}

Methods/Properties

get_Names()
.cctor()