< Summary

Information
Class: NexusLabs.Needlr.PostBuildServiceCollectionPluginOptions
Assembly: NexusLabs.Needlr
File(s): /home/runner/work/needlr/needlr/src/NexusLabs.Needlr/PostBuildServiceCollectionPluginOptions.cs
Line coverage
80%
Covered lines: 4
Uncovered lines: 1
Coverable lines: 5
Total lines: 19
Line coverage: 80%
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_Provider()100%11100%
get_Config()100%210%
get_Assemblies()100%11100%
get_PluginFactory()100%11100%

File(s)

/home/runner/work/needlr/needlr/src/NexusLabs.Needlr/PostBuildServiceCollectionPluginOptions.cs

#LineLine coverage
 1using Microsoft.Extensions.Configuration;
 2
 3using System.Reflection;
 4
 5namespace NexusLabs.Needlr;
 6
 7/// <summary>
 8/// Options provided to <see cref="IPostBuildServiceCollectionPlugin"/> implementations during configuration.
 9/// Contains the built service provider, configuration, discovered assemblies, and plugin factory.
 10/// </summary>
 11/// <param name="Provider">The built service provider for resolving dependencies.</param>
 12/// <param name="Config">The application configuration.</param>
 13/// <param name="Assemblies">The list of assemblies discovered by Needlr.</param>
 14/// <param name="PluginFactory">Factory for creating additional plugin instances.</param>
 53515public sealed record PostBuildServiceCollectionPluginOptions(
 216    IServiceProvider Provider,
 017    IConfiguration Config,
 118    IReadOnlyList<Assembly> Assemblies,
 53819    IPluginFactory PluginFactory);