< Summary

Information
Class: Elsa.Workflows.Models.WorkflowExecutionLogEntry
Assembly: Elsa.Workflows.Core
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/Models/WorkflowExecutionLogEntry.cs
Line coverage
93%
Covered lines: 14
Uncovered lines: 1
Coverable lines: 15
Total lines: 20
Line coverage: 93.3%
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_ActivityInstanceId()100%11100%
get_ParentActivityInstanceId()100%11100%
get_ActivityId()100%11100%
get_ActivityType()100%11100%
get_ActivityTypeVersion()100%11100%
get_ActivityName()100%11100%
get_NodeId()100%11100%
get_ActivityState()100%210%
get_Timestamp()100%11100%
get_Sequence()100%11100%
get_EventName()100%11100%
get_Message()100%11100%
get_Source()100%11100%
get_Payload()100%11100%

File(s)

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

#LineLine coverage
 1namespace Elsa.Workflows.Models;
 2
 3/// <summary>
 4/// Represents a workflow execution log entry.
 5/// </summary>
 62126public record WorkflowExecutionLogEntry(
 59977    string ActivityInstanceId,
 59978    string? ParentActivityInstanceId,
 59979    string ActivityId,
 599710    string ActivityType,
 599711    int ActivityTypeVersion,
 599712    string? ActivityName,
 599713    string NodeId,
 014    [property: Obsolete("Use ActivityInstanceId instead to locate activity state from ActivityExecutionLog")]IDictionary
 599715    DateTimeOffset Timestamp,
 599716    long Sequence,
 599717    string? EventName,
 599718    string? Message,
 599719    string? Source,
 1220920    object? Payload);