< Summary

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

#LineLine coverage
 1using CShells.FastEndpoints.Features;
 2using CShells.Features;
 3using Elsa.ShellFeatures;
 4using JetBrains.Annotations;
 5using Microsoft.Extensions.DependencyInjection;
 6
 7namespace Elsa.Shells.Api.ShellFeatures;
 8
 9/// <summary>
 10/// Adds shells API features with FastEndpoints support.
 11/// </summary>
 12/// <remarks>
 13/// This feature implements <see cref="IFastEndpointsShellFeature"/> to indicate that this assembly
 14/// contains FastEndpoints that should be automatically discovered and registered.
 15/// </remarks>
 16[ShellFeature(
 17    DisplayName = "Shells API",
 18    Description = "Provides REST API endpoints for shell management",
 19    DependsOn = [typeof(ElsaFastEndpointsFeature)])]
 20[UsedImplicitly]
 21public class ShellsApiFeature : IFastEndpointsShellFeature
 22{
 23    public void ConfigureServices(IServiceCollection services)
 24    {
 025    }
 26}