< Summary

Information
Class: NexusLabs.Needlr.Catalog.InterceptedServiceCatalogEntry
Assembly: NexusLabs.Needlr
File(s): /home/runner/work/needlr/needlr/src/NexusLabs.Needlr/Catalog/InterceptedServiceCatalogEntry.cs
Line coverage
25%
Covered lines: 2
Uncovered lines: 6
Coverable lines: 8
Total lines: 20
Line coverage: 25%
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%210%
get_ShortTypeName()100%210%
get_AssemblyName()100%210%
get_Lifetime()100%210%
get_Interfaces()100%210%
get_InterceptorTypeNames()100%210%
get_SourceFilePath()100%11100%

File(s)

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

#LineLine coverage
 1namespace NexusLabs.Needlr.Catalog;
 2
 3/// <summary>
 4/// Represents an intercepted service discovered at compile time.
 5/// </summary>
 6/// <param name="TypeName">The fully qualified name of the intercepted service type.</param>
 7/// <param name="ShortTypeName">The short name of the intercepted service type (without namespace).</param>
 8/// <param name="AssemblyName">The assembly name where this type is defined.</param>
 9/// <param name="Lifetime">The service lifetime (Singleton, Scoped, Transient).</param>
 10/// <param name="Interfaces">The interfaces this type is registered as.</param>
 11/// <param name="InterceptorTypeNames">The interceptor type names applied to this service, in order.</param>
 12/// <param name="SourceFilePath">Source file path where the type is defined, if available.</param>
 6313public sealed record InterceptedServiceCatalogEntry(
 014    string TypeName,
 015    string ShortTypeName,
 016    string AssemblyName,
 017    ServiceCatalogLifetime Lifetime,
 018    IReadOnlyList<string> Interfaces,
 019    IReadOnlyList<string> InterceptorTypeNames,
 6320    string? SourceFilePath = null);