< Summary

Information
Class: NexusLabs.Needlr.Generators.Models.AttributeInfo
Assembly: NexusLabs.Needlr.Generators
File(s): /home/runner/work/needlr/needlr/src/NexusLabs.Needlr.Generators/Models/AttributeInfo.cs
Line coverage
100%
Covered lines: 7
Uncovered lines: 0
Coverable lines: 7
Total lines: 18
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_NamespacePrefixes()100%11100%
get_ExcludeNamespacePrefixes()100%11100%
get_IncludeSelf()100%11100%

File(s)

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

#LineLine coverage
 1namespace NexusLabs.Needlr.Generators.Models;
 2
 3/// <summary>
 4/// Information parsed from [GenerateTypeRegistry] attribute.
 5/// </summary>
 6internal readonly struct AttributeInfo
 7{
 8    public AttributeInfo(string[]? namespacePrefixes, string[]? excludeNamespacePrefixes, bool includeSelf)
 9    {
 45810        NamespacePrefixes = namespacePrefixes;
 45811        ExcludeNamespacePrefixes = excludeNamespacePrefixes;
 45812        IncludeSelf = includeSelf;
 45813    }
 14
 45815    public string[]? NamespacePrefixes { get; }
 45816    public string[]? ExcludeNamespacePrefixes { get; }
 45817    public bool IncludeSelf { get; }
 18}