< Summary

Information
Class: NexusLabs.Needlr.Hosting.HostApplicationBuilderPluginOptions
Assembly: NexusLabs.Needlr.Hosting
File(s): /home/runner/work/needlr/needlr/src/NexusLabs.Needlr.Hosting/HostApplicationBuilderPluginOptions.cs
Line coverage
40%
Covered lines: 2
Uncovered lines: 3
Coverable lines: 5
Total lines: 15
Line coverage: 40%
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_Builder()100%210%
get_Assemblies()100%210%
get_Logger()100%210%
get_PluginFactory()100%11100%

File(s)

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

#LineLine coverage
 1using Microsoft.Extensions.Hosting;
 2using Microsoft.Extensions.Logging;
 3
 4using System.Reflection;
 5
 6namespace NexusLabs.Needlr.Hosting;
 7
 8/// <summary>
 9/// Options passed to <see cref="IHostApplicationBuilderPlugin.Configure"/>.
 10/// </summary>
 1711public sealed record HostApplicationBuilderPluginOptions(
 012    HostApplicationBuilder Builder,
 013    IReadOnlyList<Assembly> Assemblies,
 014    ILogger Logger,
 1715    IPluginFactory PluginFactory);