< Summary

Information
Class: Elsa.Workflows.EventGenerator
Assembly: Elsa.Workflows.Core
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/Models/EventGenerator.cs
Line coverage
50%
Covered lines: 2
Uncovered lines: 2
Coverable lines: 4
Total lines: 17
Line coverage: 50%
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%
.ctor(...)100%210%

File(s)

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

#LineLine coverage
 1namespace Elsa.Workflows;
 2
 3/// <summary>
 4/// Generates events on a workflow instance.
 5/// </summary>
 6public abstract class EventGenerator : Trigger, IEventGenerator
 7{
 8    /// <inheritdoc />
 509    protected EventGenerator(string? source = null, int? line = null) : base(source, line)
 10    {
 5011    }
 12
 13    /// <inheritdoc />
 014    protected EventGenerator(string triggerType, int version = 1, string? source = null, int? line = null) : base(trigge
 15    {
 016    }
 17}