< Summary

Information
Class: Elsa.Workflows.Api.Models.ExportedWorkflowState
Assembly: Elsa.Workflows.Api
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Api/Models/ExportedWorkflowState.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 5
Coverable lines: 5
Total lines: 12
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
.ctor(...)100%210%
get_WorkflowState()100%210%
get_Bookmarks()100%210%
get_ActivityExecutionRecords()100%210%
get_WorkflowExecutionLogRecords()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Api/Models/ExportedWorkflowState.cs

#LineLine coverage
 1using System.Text.Json;
 2
 3namespace Elsa.Workflows.Api.Models;
 4
 5/// <summary>
 6/// Represents a workflow state that can be exported and imported.
 7/// </summary>
 08public record ExportedWorkflowState(
 09    JsonElement WorkflowState,
 010    JsonElement? Bookmarks,
 011    JsonElement? ActivityExecutionRecords,
 012    JsonElement? WorkflowExecutionLogRecords);