< Summary

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

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Api/Models/LinkedWorkflowDefinitionModel.cs

#LineLine coverage
 1using Elsa.Models;
 2using Elsa.Workflows.Management.Models;
 3
 4namespace Elsa.Workflows.Api.Models;
 5
 16public class LinkedWorkflowDefinitionModel(Link[]? links) : WorkflowDefinitionModel
 7{
 28    public Link[]? Links { get; init; } = links;
 9}