< Summary

Information
Class: NexusLabs.Needlr.Generators.Models.DiscoveredPlugin
Assembly: NexusLabs.Needlr.Generators
File(s): /home/runner/work/needlr/needlr/src/NexusLabs.Needlr.Generators/Models/DiscoveredPlugin.cs
Line coverage
100%
Covered lines: 13
Uncovered lines: 0
Coverable lines: 13
Total lines: 24
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_TypeName()100%11100%
get_InterfaceNames()100%11100%
get_AssemblyName()100%11100%
get_AttributeNames()100%11100%
get_SourceFilePath()100%11100%
get_Order()100%11100%

File(s)

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

#LineLine coverage
 1namespace NexusLabs.Needlr.Generators.Models;
 2
 3/// <summary>
 4/// Information about a discovered plugin type (implements INeedlrPlugin interfaces).
 5/// </summary>
 6internal readonly struct DiscoveredPlugin
 7{
 8    public DiscoveredPlugin(string typeName, string[] interfaceNames, string assemblyName, string[] attributeNames, stri
 9    {
 173310        TypeName = typeName;
 173311        InterfaceNames = interfaceNames;
 173312        AssemblyName = assemblyName;
 173313        AttributeNames = attributeNames;
 173314        SourceFilePath = sourceFilePath;
 173315        Order = order;
 173316    }
 17
 6026018    public string TypeName { get; }
 584319    public string[] InterfaceNames { get; }
 392520    public string AssemblyName { get; }
 179521    public string[] AttributeNames { get; }
 183422    public string? SourceFilePath { get; }
 931023    public int Order { get; }
 24}