< Summary

Information
Class: Elsa.Workflows.Runtime.Dashboard.ShellFeatures.WorkflowRuntimeDashboardFeature
Assembly: Elsa.Workflows.Runtime.Dashboard
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime.Dashboard/ShellFeatures/WorkflowRuntimeDashboardFeature.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
Total lines: 24
Line coverage: 0%
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
ConfigureServices(...)100%210%

File(s)

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

#LineLine coverage
 1using CShells.Features;
 2using Elsa.Dashboard.Api.ShellFeatures;
 3using Elsa.Workflows.Runtime.Dashboard.Extensions;
 4using Elsa.Workflows.Runtime.ShellFeatures;
 5using Elsa.Platform.PackageManifest.Generator.Hints;
 6using JetBrains.Annotations;
 7using Microsoft.Extensions.DependencyInjection;
 8
 9namespace Elsa.Workflows.Runtime.Dashboard.ShellFeatures;
 10
 11[ManifestFeatureCategory("Workflows")]
 12[ManifestFeatureCategory("Dashboard")]
 13[ShellFeature(
 14    DisplayName = "Workflow Runtime Dashboard",
 15    Description = "Provides workflow runtime dashboard contributions",
 16    DependsOn = [typeof(WorkflowRuntimeFeature), typeof(DashboardApiFeature)])]
 17[UsedImplicitly]
 18public class WorkflowRuntimeDashboardFeature : IShellFeature
 19{
 20    public void ConfigureServices(IServiceCollection services)
 21    {
 022        services.AddWorkflowRuntimeDashboard();
 023    }
 24}