< Summary

Information
Class: Elsa.Dsl.ElsaScript.Ast.LabeledActivityNode
Assembly: Elsa.Dsl.ElsaScript
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Dsl.ElsaScript/Ast/LabeledActivityNode.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 20
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_Label()100%11100%
get_Activity()100%11100%

File(s)

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

#LineLine coverage
 1using JetBrains.Annotations;
 2
 3namespace Elsa.Dsl.ElsaScript.Ast;
 4
 5/// <summary>
 6/// Represents a labeled activity in a flowchart (node declaration).
 7/// </summary>
 8[UsedImplicitly]
 9public class LabeledActivityNode : AstNode
 10{
 11    /// <summary>
 12    /// The label (node name).
 13    /// </summary>
 1614    public string Label { get; set; } = string.Empty;
 15
 16    /// <summary>
 17    /// The activity statement (can be ActivityInvocationNode, BlockNode, etc.).
 18    /// </summary>
 1019    public StatementNode Activity { get; set; } = null!;
 20}

Methods/Properties

get_Label()
get_Activity()