< Summary

Information
Class: Elsa.ShellFeatures.ElsaFeature
Assembly: Elsa
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa/ShellFeatures/ElsaFeature.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
Total lines: 20
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/ShellFeatures/ElsaFeature.cs

#LineLine coverage
 1using CShells.Features;
 2using Microsoft.Extensions.DependencyInjection;
 3
 4namespace Elsa.ShellFeatures;
 5
 6[ShellFeature(
 7    DisplayName = "Elsa Core",
 8    Description = "Core Elsa workflow system functionality",
 9    DependsOn = [
 10    "WorkflowManagement",
 11    "WorkflowRuntime"
 12])]
 13public class ElsaFeature : IShellFeature
 14{
 15    public void ConfigureServices(IServiceCollection services)
 16    {
 17        // Register the shell-based feature provider to bridge shell features to the Elsa feature API
 018        services.AddSingleton<Features.Contracts.IInstalledFeatureProvider, Features.Services.ShellInstalledFeatureProvi
 019    }
 20}