< Summary

Information
Class: Elsa.Workflows.Runtime.IngressSourceSnapshot
Assembly: Elsa.Workflows.Runtime
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Models/IngressSourceSnapshot.cs
Line coverage
100%
Covered lines: 5
Uncovered lines: 0
Coverable lines: 5
Total lines: 11
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_Name()100%11100%
get_State()100%11100%
get_LastError()100%11100%
get_LastTransitionAt()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Models/IngressSourceSnapshot.cs

#LineLine coverage
 1namespace Elsa.Workflows.Runtime;
 2
 3/// <summary>
 4/// Point-in-time view of a registered ingress source, surfaced via <c>IIngressSourceRegistry.Snapshot()</c>
 5/// and the admin status endpoint.
 6/// </summary>
 267public sealed record IngressSourceSnapshot(
 248    string Name,
 439    IngressSourceState State,
 2010    Exception? LastError,
 2711    DateTimeOffset? LastTransitionAt);