< Summary

Information
Class: NexusLabs.Needlr.Generators.Models.DiscoveryResult
Assembly: NexusLabs.Needlr.Generators
File(s): /home/runner/work/needlr/needlr/src/NexusLabs.Needlr.Generators/Models/DiscoveryResult.cs
Line coverage
100%
Covered lines: 27
Uncovered lines: 0
Coverable lines: 27
Total lines: 53
Line coverage: 100%
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_InjectableTypes()100%11100%
get_PluginTypes()100%11100%
get_Decorators()100%11100%
get_InaccessibleTypes()100%11100%
get_MissingTypeRegistryPlugins()100%11100%
get_InterceptedServices()100%11100%
get_Factories()100%11100%
get_Options()100%11100%
get_HostedServices()100%11100%
get_Providers()100%11100%
get_HttpClients()100%11100%
get_ComposedRegistrations()100%11100%
get_ComposedConstraintViolations()100%11100%

File(s)

/home/runner/work/needlr/needlr/src/NexusLabs.Needlr.Generators/Models/DiscoveryResult.cs

#LineLine coverage
 1using System.Collections.Generic;
 2
 3namespace NexusLabs.Needlr.Generators.Models;
 4
 5/// <summary>
 6/// Aggregated result of type discovery for an assembly.
 7/// </summary>
 8internal readonly struct DiscoveryResult
 9{
 10    public DiscoveryResult(
 11        IReadOnlyList<DiscoveredType> injectableTypes,
 12        IReadOnlyList<DiscoveredPlugin> pluginTypes,
 13        IReadOnlyList<DiscoveredDecorator> decorators,
 14        IReadOnlyList<InaccessibleType> inaccessibleTypes,
 15        IReadOnlyList<MissingTypeRegistryPlugin> missingTypeRegistryPlugins,
 16        IReadOnlyList<DiscoveredInterceptedService> interceptedServices,
 17        IReadOnlyList<DiscoveredFactory> factories,
 18        IReadOnlyList<DiscoveredOptions> options,
 19        IReadOnlyList<DiscoveredHostedService> hostedServices,
 20        IReadOnlyList<DiscoveredProvider> providers,
 21        IReadOnlyList<DiscoveredHttpClient> httpClients,
 22        IReadOnlyList<DiscoveredComposedRegistration> composedRegistrations,
 23        IReadOnlyList<ComposedConstraintViolation> composedConstraintViolations)
 24    {
 63325        InjectableTypes = injectableTypes;
 63326        PluginTypes = pluginTypes;
 63327        Decorators = decorators;
 63328        InaccessibleTypes = inaccessibleTypes;
 63329        MissingTypeRegistryPlugins = missingTypeRegistryPlugins;
 63330        InterceptedServices = interceptedServices;
 63331        Factories = factories;
 63332        Options = options;
 63333        HostedServices = hostedServices;
 63334        Providers = providers;
 63335        HttpClients = httpClients;
 63336        ComposedRegistrations = composedRegistrations;
 63337        ComposedConstraintViolations = composedConstraintViolations;
 63338    }
 39
 376640    public IReadOnlyList<DiscoveredType> InjectableTypes { get; }
 444441    public IReadOnlyList<DiscoveredPlugin> PluginTypes { get; }
 500342    public IReadOnlyList<DiscoveredDecorator> Decorators { get; }
 57043    public IReadOnlyList<InaccessibleType> InaccessibleTypes { get; }
 56944    public IReadOnlyList<MissingTypeRegistryPlugin> MissingTypeRegistryPlugins { get; }
 501745    public IReadOnlyList<DiscoveredInterceptedService> InterceptedServices { get; }
 448246    public IReadOnlyList<DiscoveredFactory> Factories { get; }
 726547    public IReadOnlyList<DiscoveredOptions> Options { get; }
 532448    public IReadOnlyList<DiscoveredHostedService> HostedServices { get; }
 173949    public IReadOnlyList<DiscoveredProvider> Providers { get; }
 113450    public IReadOnlyList<DiscoveredHttpClient> HttpClients { get; }
 117151    public IReadOnlyList<DiscoveredComposedRegistration> ComposedRegistrations { get; }
 55952    public IReadOnlyList<ComposedConstraintViolation> ComposedConstraintViolations { get; }
 53}

Methods/Properties

.ctor(System.Collections.Generic.IReadOnlyList`1<NexusLabs.Needlr.Generators.Models.DiscoveredType>,System.Collections.Generic.IReadOnlyList`1<NexusLabs.Needlr.Generators.Models.DiscoveredPlugin>,System.Collections.Generic.IReadOnlyList`1<NexusLabs.Needlr.Generators.Models.DiscoveredDecorator>,System.Collections.Generic.IReadOnlyList`1<NexusLabs.Needlr.Generators.Models.InaccessibleType>,System.Collections.Generic.IReadOnlyList`1<NexusLabs.Needlr.Generators.Models.MissingTypeRegistryPlugin>,System.Collections.Generic.IReadOnlyList`1<NexusLabs.Needlr.Generators.Models.DiscoveredInterceptedService>,System.Collections.Generic.IReadOnlyList`1<NexusLabs.Needlr.Generators.Models.DiscoveredFactory>,System.Collections.Generic.IReadOnlyList`1<NexusLabs.Needlr.Generators.Models.DiscoveredOptions>,System.Collections.Generic.IReadOnlyList`1<NexusLabs.Needlr.Generators.Models.DiscoveredHostedService>,System.Collections.Generic.IReadOnlyList`1<NexusLabs.Needlr.Generators.Models.DiscoveredProvider>,System.Collections.Generic.IReadOnlyList`1<NexusLabs.Needlr.Generators.Models.DiscoveredHttpClient>,System.Collections.Generic.IReadOnlyList`1<NexusLabs.Needlr.Generators.Models.DiscoveredComposedRegistration>,System.Collections.Generic.IReadOnlyList`1<NexusLabs.Needlr.Generators.Models.ComposedConstraintViolation>)
get_InjectableTypes()
get_PluginTypes()
get_Decorators()
get_InaccessibleTypes()
get_MissingTypeRegistryPlugins()
get_InterceptedServices()
get_Factories()
get_Options()
get_HostedServices()
get_Providers()
get_HttpClients()
get_ComposedRegistrations()
get_ComposedConstraintViolations()