< 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    {
 71825        InjectableTypes = injectableTypes;
 71826        PluginTypes = pluginTypes;
 71827        Decorators = decorators;
 71828        InaccessibleTypes = inaccessibleTypes;
 71829        MissingTypeRegistryPlugins = missingTypeRegistryPlugins;
 71830        InterceptedServices = interceptedServices;
 71831        Factories = factories;
 71832        Options = options;
 71833        HostedServices = hostedServices;
 71834        Providers = providers;
 71835        HttpClients = httpClients;
 71836        ComposedRegistrations = composedRegistrations;
 71837        ComposedConstraintViolations = composedConstraintViolations;
 71838    }
 39
 410040    public IReadOnlyList<DiscoveredType> InjectableTypes { get; }
 1307841    public IReadOnlyList<DiscoveredPlugin> PluginTypes { get; }
 1367442    public IReadOnlyList<DiscoveredDecorator> Decorators { get; }
 61043    public IReadOnlyList<InaccessibleType> InaccessibleTypes { get; }
 60944    public IReadOnlyList<MissingTypeRegistryPlugin> MissingTypeRegistryPlugins { get; }
 1368945    public IReadOnlyList<DiscoveredInterceptedService> InterceptedServices { get; }
 1308146    public IReadOnlyList<DiscoveredFactory> Factories { get; }
 1607347    public IReadOnlyList<DiscoveredOptions> Options { get; }
 1400348    public IReadOnlyList<DiscoveredHostedService> HostedServices { get; }
 62349    public IReadOnlyList<DiscoveredProvider> Providers { get; }
 115450    public IReadOnlyList<DiscoveredHttpClient> HttpClients { get; }
 127051    public IReadOnlyList<DiscoveredComposedRegistration> ComposedRegistrations { get; }
 59752    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()