< Summary

Information
Class: NexusLabs.Needlr.Hosting.HostPluginOptions
Assembly: NexusLabs.Needlr.Hosting
File(s): /home/runner/work/needlr/needlr/src/NexusLabs.Needlr.Hosting/HostPluginOptions.cs
Line coverage
50%
Covered lines: 2
Uncovered lines: 2
Coverable lines: 4
Total lines: 13
Line coverage: 50%
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%
get_Host()100%210%
get_Assemblies()100%210%
get_PluginFactory()100%11100%

File(s)

/home/runner/work/needlr/needlr/src/NexusLabs.Needlr.Hosting/HostPluginOptions.cs

#LineLine coverage
 1using Microsoft.Extensions.Hosting;
 2
 3using System.Reflection;
 4
 5namespace NexusLabs.Needlr.Hosting;
 6
 7/// <summary>
 8/// Options passed to <see cref="IHostPlugin.Configure"/>.
 9/// </summary>
 1210public sealed record HostPluginOptions(
 011    IHost Host,
 012    IReadOnlyList<Assembly> Assemblies,
 1213    IPluginFactory PluginFactory);