< 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    {
 140610        TypeName = typeName;
 140611        InterfaceNames = interfaceNames;
 140612        AssemblyName = assemblyName;
 140613        AttributeNames = attributeNames;
 140614        SourceFilePath = sourceFilePath;
 140615        Order = order;
 140616    }
 17
 2201418    public string TypeName { get; }
 473919    public string[] InterfaceNames { get; }
 322620    public string AssemblyName { get; }
 145321    public string[] AttributeNames { get; }
 151322    public string? SourceFilePath { get; }
 763223    public int Order { get; }
 24}