< Summary

Information
Class: Elsa.Workflows.Runtime.Dashboard.Features.WorkflowRuntimeDashboardFeature
Assembly: Elsa.Workflows.Runtime.Dashboard
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime.Dashboard/Features/WorkflowRuntimeDashboardFeature.cs
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 17
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
.ctor(...)100%11100%
Apply()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime.Dashboard/Features/WorkflowRuntimeDashboardFeature.cs

#LineLine coverage
 1using Elsa.Extensions;
 2using Elsa.Features.Abstractions;
 3using Elsa.Features.Attributes;
 4using Elsa.Features.Services;
 5using Elsa.Workflows.Runtime.Dashboard.Extensions;
 6using Elsa.Workflows.Runtime.Features;
 7
 8namespace Elsa.Workflows.Runtime.Dashboard.Features;
 9
 10[DependsOn(typeof(WorkflowRuntimeFeature))]
 311public class WorkflowRuntimeDashboardFeature(IModule module) : FeatureBase(module)
 12{
 13    public override void Apply()
 14    {
 315        Services.AddWorkflowRuntimeDashboard();
 316    }
 17}