< Summary

Information
Class: NexusLabs.Needlr.Catalog.OptionsCatalogEntry
Assembly: NexusLabs.Needlr
File(s): /home/runner/work/needlr/needlr/src/NexusLabs.Needlr/Catalog/OptionsCatalogEntry.cs
Line coverage
20%
Covered lines: 2
Uncovered lines: 8
Coverable lines: 10
Total lines: 24
Line coverage: 20%
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_SectionName()100%210%
get_AssemblyName()100%210%
get_Name()100%210%
get_ValidateOnStart()100%210%
get_HasValidator()100%210%
get_HasDataAnnotations()100%210%
get_SourceFilePath()100%11100%

File(s)

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

#LineLine coverage
 1namespace NexusLabs.Needlr.Catalog;
 2
 3/// <summary>
 4/// Represents an options/configuration binding discovered at compile time.
 5/// </summary>
 6/// <param name="TypeName">The fully qualified name of the options type.</param>
 7/// <param name="ShortTypeName">The short name of the options type (without namespace).</param>
 8/// <param name="SectionName">The configuration section name this options type binds to.</param>
 9/// <param name="AssemblyName">The assembly name where this type is defined.</param>
 10/// <param name="Name">The named options name, or null for default options.</param>
 11/// <param name="ValidateOnStart">True if validation is performed on application start.</param>
 12/// <param name="HasValidator">True if this options type has a validation method.</param>
 13/// <param name="HasDataAnnotations">True if this options type has DataAnnotation validation attributes.</param>
 14/// <param name="SourceFilePath">Source file path where the type is defined, if available.</param>
 27315public sealed record OptionsCatalogEntry(
 016    string TypeName,
 017    string ShortTypeName,
 018    string SectionName,
 019    string AssemblyName,
 020    string? Name = null,
 021    bool ValidateOnStart = false,
 022    bool HasValidator = false,
 023    bool HasDataAnnotations = false,
 27324    string? SourceFilePath = null);