< Summary

Information
Class: Elsa.Alterations.AlterationTypes.Migrate
Assembly: Elsa.Alterations
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Alterations/AlterationTypes/Migrate.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 16
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_TargetVersion()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Alterations/AlterationTypes/Migrate.cs

#LineLine coverage
 1using Elsa.Alterations.Core.Abstractions;
 2using JetBrains.Annotations;
 3
 4namespace Elsa.Alterations.AlterationTypes;
 5
 6/// <summary>
 7/// Migrates a workflow instance to a newer version.
 8/// </summary>
 9[UsedImplicitly]
 10public class Migrate : AlterationBase
 11{
 12    /// <summary>
 13    /// The target version to upgrade to.
 14    /// </summary>
 215    public int TargetVersion { get; set; }
 16}

Methods/Properties

get_TargetVersion()