< Summary

Information
Class: Elsa.Bpmn.Interchange.Endpoints.Bpmn.Import.Response
Assembly: Elsa.Bpmn.Interchange
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Bpmn.Interchange/Endpoints/Bpmn/Import/Response.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 20
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_Id()100%11100%
get_DefinitionId()100%11100%
get_Version()100%11100%
get_Analysis()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Bpmn.Interchange/Endpoints/Bpmn/Import/Response.cs

#LineLine coverage
 1using JetBrains.Annotations;
 2
 3namespace Elsa.Bpmn.Interchange.Endpoints.Bpmn.Import;
 4
 5/// <summary>The workflow definition a BPMN import produced, plus what the read cost.</summary>
 6[PublicAPI]
 7public sealed class Response
 8{
 9    /// <summary>The persisted version's own id.</summary>
 610    public string Id { get; init; } = string.Empty;
 11
 12    /// <summary>The workflow definition id, stable across versions.</summary>
 613    public string DefinitionId { get; init; } = string.Empty;
 14
 15    /// <summary>The persisted version number.</summary>
 416    public int Version { get; init; }
 17
 18    /// <summary>The same analysis <see cref="Analyze.Analyze"/> would have produced for this document.</summary>
 619    public BpmnImportAnalysisModel Analysis { get; init; } = new();
 20}