< Summary

Information
Class: Elsa.Workflows.Models.WorkflowIdentity
Assembly: Elsa.Workflows.Core
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/Models/WorkflowIdentity.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 6
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_DefinitionId()100%11100%
get_VersionOne()100%11100%

File(s)

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

#LineLine coverage
 1namespace Elsa.Workflows.Models;
 2
 273243public record WorkflowIdentity(string DefinitionId, int Version, string Id, string? TenantId = null)
 4{
 26405    public static WorkflowIdentity VersionOne => new("1", 1, "1", null);
 6}