< Summary

Information
Class: Elsa.Workflows.Models.Journal
Assembly: Elsa.Workflows.Core
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/Models/RunWorkflowResult.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 19
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
get_WorkflowExecutionLogEntries()100%11100%
get_Empty()100%11100%

File(s)

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

#LineLine coverage
 1using Elsa.Workflows.Activities;
 2using Elsa.Workflows.State;
 3
 4namespace Elsa.Workflows.Models;
 5
 6/// <summary>
 7/// Contains information about a workflow run, such as <see cref="WorkflowState"/>.
 8/// </summary>
 9public record RunWorkflowResult(WorkflowExecutionContext WorkflowExecutionContext, WorkflowState WorkflowState, Workflow
 10
 11/// <summary>
 12/// Contains information about a workflow run, such as <see cref="WorkflowState"/>.
 13/// </summary>
 14public record RunWorkflowResult<TResult>(WorkflowExecutionContext WorkflowExecutionContext, WorkflowState WorkflowState,
 15
 46316public record Journal(ICollection<WorkflowExecutionLogEntry> WorkflowExecutionLogEntries, ICollection<ActivityExecutionC
 17{
 1318    public static Journal Empty => new([], []);
 19}