< Summary

Information
Class: Elsa.Dsl.ElsaScript.Ast.FlowchartNode
Assembly: Elsa.Dsl.ElsaScript
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Dsl.ElsaScript/Ast/FlowchartNode.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 27
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_Variables()100%11100%
get_Activities()100%11100%
get_Connections()100%11100%
get_EntryPoint()100%11100%

File(s)

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

#LineLine coverage
 1namespace Elsa.Dsl.ElsaScript.Ast;
 2
 3/// <summary>
 4/// Represents a flowchart definition.
 5/// </summary>
 6public class FlowchartNode : StatementNode
 7{
 8    /// <summary>
 9    /// Variable declarations scoped to the flowchart.
 10    /// </summary>
 1511    public List<VariableDeclarationNode> Variables { get; set; } = [];
 12
 13    /// <summary>
 14    /// The labeled activities (nodes) in the flowchart.
 15    /// </summary>
 1916    public List<LabeledActivityNode> Activities { get; set; } = [];
 17
 18    /// <summary>
 19    /// The connections (edges) between activities.
 20    /// </summary>
 1821    public List<ConnectionNode> Connections { get; set; } = [];
 22
 23    /// <summary>
 24    /// The optional entry point label.
 25    /// </summary>
 1226    public string? EntryPoint { get; set; }
 27}