< Summary

Information
Class: NexusLabs.Needlr.Catalog.DecoratorCatalogEntry
Assembly: NexusLabs.Needlr
File(s): /home/runner/work/needlr/needlr/src/NexusLabs.Needlr/Catalog/DecoratorCatalogEntry.cs
Line coverage
85%
Covered lines: 6
Uncovered lines: 1
Coverable lines: 7
Total lines: 18
Line coverage: 85.7%
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_DecoratorTypeName()100%11100%
get_ShortDecoratorTypeName()100%11100%
get_ServiceTypeName()100%11100%
get_Order()100%11100%
get_AssemblyName()100%210%
get_SourceFilePath()100%11100%

File(s)

/home/runner/work/needlr/needlr/src/NexusLabs.Needlr/Catalog/DecoratorCatalogEntry.cs

#LineLine coverage
 1namespace NexusLabs.Needlr.Catalog;
 2
 3/// <summary>
 4/// Represents a decorator registration discovered at compile time.
 5/// </summary>
 6/// <param name="DecoratorTypeName">The fully qualified name of the decorator type.</param>
 7/// <param name="ShortDecoratorTypeName">The short name of the decorator type (without namespace).</param>
 8/// <param name="ServiceTypeName">The fully qualified name of the service type being decorated.</param>
 9/// <param name="Order">The order in which this decorator is applied (lower = closer to original service).</param>
 10/// <param name="AssemblyName">The assembly name where this decorator is defined.</param>
 11/// <param name="SourceFilePath">Source file path where the decorator is defined, if available.</param>
 21012public sealed record DecoratorCatalogEntry(
 113    string DecoratorTypeName,
 8314    string ShortDecoratorTypeName,
 1615    string ServiceTypeName,
 916    int Order,
 017    string AssemblyName,
 21018    string? SourceFilePath = null);