< Summary

Information
Class: Elsa.Models.LinkedResource
Assembly: Elsa.Api.Common
File(s): /home/runner/work/elsa-core/elsa-core/src/common/Elsa.Api.Common/Models/LinkedResource.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
Total lines: 8
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_Links()100%210%
.ctor()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Api.Common/Models/LinkedResource.cs

#LineLine coverage
 1namespace Elsa.Models;
 2
 03public record LinkedResource(Link[] Links)
 4{
 05    public LinkedResource() : this([]) { }
 6}
 7
 8public record Link(string Href, string Rel, string Method);

Methods/Properties

get_Links()
.ctor()