< Summary

Information
Class: Elsa.Expressions.JavaScript.TypeDefinitions.Models.TypeDefinitionsDocument
Assembly: Elsa.Expressions.JavaScript
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Expressions.JavaScript/TypeDefinitions/Models/TypeDefinitionsDocument.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 22
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_Functions()100%210%
get_Types()100%210%
get_Variables()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Expressions.JavaScript/TypeDefinitions/Models/TypeDefinitionsDocument.cs

#LineLine coverage
 1namespace Elsa.Expressions.JavaScript.TypeDefinitions.Models;
 2
 3/// <summary>
 4/// Represents a type definition document model.
 5/// </summary>
 6public sealed class TypeDefinitionsDocument
 7{
 8    /// <summary>
 9    /// A collection of function definitions.
 10    /// </summary>
 011    public ICollection<FunctionDefinition> Functions { get; set; } = new List<FunctionDefinition>();
 12
 13    /// <summary>
 14    /// A collection of type definitions.
 15    /// </summary>
 016    public ICollection<TypeDefinition> Types { get; set; } = new List<TypeDefinition>();
 17
 18    /// <summary>
 19    /// A collection of global variables.
 20    /// </summary>
 021    public ICollection<VariableDefinition> Variables { get; set; } = new List<VariableDefinition>();
 22}