< Summary

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

File(s)

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

#LineLine coverage
 1namespace Elsa.Dsl.ElsaScript.Ast;
 2
 3/// <summary>
 4/// Represents a switch case.
 5/// </summary>
 6public class SwitchCaseNode : AstNode
 7{
 8    /// <summary>
 9    /// The case value.
 10    /// </summary>
 011    public ExpressionNode Value { get; set; } = null!;
 12
 13    /// <summary>
 14    /// The case body.
 15    /// </summary>
 016    public StatementNode Body { get; set; } = null!;
 17}

Methods/Properties

get_Value()
get_Body()