< 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>
 66246public record WorkflowExecutionLogEntry(
 64097    string ActivityInstanceId,
 64098    string? ParentActivityInstanceId,
 64099    string ActivityId,
 640910    string ActivityType,
 640911    int ActivityTypeVersion,
 640912    string? ActivityName,
 640913    string NodeId,
 014    [property: Obsolete("Use ActivityInstanceId instead to locate activity state from ActivityExecutionLog")]IDictionary
 640915    DateTimeOffset Timestamp,
 640916    long Sequence,
 640917    string? EventName,
 640918    string? Message,
 640919    string? Source,
 1303320    object? Payload);