< Summary

Information
Class: Elsa.Workflows.Runtime.Requests.DispatchStimulusRequest
Assembly: Elsa.Workflows.Runtime
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Requests/DispatchStimulusRequest.cs
Line coverage
75%
Covered lines: 3
Uncovered lines: 1
Coverable lines: 4
Total lines: 9
Line coverage: 75%
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_ActivityTypeName()100%11100%
get_Stimulus()100%11100%
get_StimulusHash()100%210%
get_Metadata()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Requests/DispatchStimulusRequest.cs

#LineLine coverage
 1namespace Elsa.Workflows.Runtime.Requests;
 2
 3public class DispatchStimulusRequest
 4{
 95    public string? ActivityTypeName { get; set; }
 66    public object? Stimulus { get; set; }
 07    public string? StimulusHash { get; set; }
 68    public StimulusMetadata? Metadata { get; set; }
 9}