< Summary

Information
Class: Elsa.Workflows.Models.MissingActivityType
Assembly: Elsa.Workflows.Core
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/Models/MissingActivityType.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 27
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_TypeName()100%210%
get_Version()100%210%
get_ActivityJson()100%210%
get_Outcomes()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/Models/MissingActivityType.cs

#LineLine coverage
 1namespace Elsa.Workflows.Models;
 2
 3/// <summary>
 4/// Represents a missing activity type.
 5/// </summary>
 6public class MissingActivityType
 7{
 8    /// <summary>
 9    /// The type name of the missing activity type.
 10    /// </summary>
 011    public string TypeName { get; set; } = default!;
 12
 13    /// <summary>
 14    /// The version of the missing activity type.
 15    /// </summary>
 016    public int Version { get; set; }
 17
 18    /// <summary>
 19    /// The original activity JSON.
 20    /// </summary>
 021    public string ActivityJson { get; set; } = default!;
 22
 23    /// <summary>
 24    /// The original activity outcomes.
 25    /// </summary>
 026    public ICollection<string> Outcomes { get; set; } = new List<string>();
 27}