< Summary

Information
Class: Elsa.Dsl.ElsaScript.Ast.ConnectionNode
Assembly: Elsa.Dsl.ElsaScript
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Dsl.ElsaScript/Ast/ConnectionNode.cs
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 22
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_Source()100%11100%
get_Outcome()100%11100%
get_Target()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Dsl.ElsaScript/Ast/ConnectionNode.cs

#LineLine coverage
 1namespace Elsa.Dsl.ElsaScript.Ast;
 2
 3/// <summary>
 4/// Represents a connection in a flowchart.
 5/// </summary>
 6public class ConnectionNode : AstNode
 7{
 8    /// <summary>
 9    /// The source label.
 10    /// </summary>
 611    public string Source { get; set; } = string.Empty;
 12
 13    /// <summary>
 14    /// The optional outcome.
 15    /// </summary>
 316    public string? Outcome { get; set; }
 17
 18    /// <summary>
 19    /// The target label.
 20    /// </summary>
 621    public string Target { get; set; } = string.Empty;
 22}