< Summary

Information
Class: Elsa.Workflows.Management.Options.WorkflowReferenceGraphOptions
Assembly: Elsa.Workflows.Management
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Management/Options/WorkflowReferenceGraphOptions.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 22
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_MaxDepth()100%11100%
get_MaxDefinitions()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Management/Options/WorkflowReferenceGraphOptions.cs

#LineLine coverage
 1namespace Elsa.Workflows.Management.Options;
 2
 3/// <summary>
 4/// Options for configuring the workflow reference graph builder behavior.
 5/// </summary>
 6public class WorkflowReferenceGraphOptions
 7{
 8    /// <summary>
 9    /// The maximum depth to traverse when building the reference graph.
 10    /// A value of 0 means no limit.
 11    /// Default is 100.
 12    /// </summary>
 11813    public int MaxDepth { get; set; } = 100;
 14
 15    /// <summary>
 16    /// The maximum number of workflow definitions to include in the graph.
 17    /// A value of 0 means no limit.
 18    /// Default is 1000.
 19    /// </summary>
 11720    public int MaxDefinitions { get; set; } = 1000;
 21}
 22