< Summary

Information
Class: NexusLabs.Needlr.AgentFramework.Generators.NeedlrAiAgentTypeInfo
Assembly: NexusLabs.Needlr.AgentFramework.Generators
File(s): /home/runner/work/needlr/needlr/src/NexusLabs.Needlr.AgentFramework.Generators/Models/NeedlrAiAgentTypeInfo.cs
Line coverage
100%
Covered lines: 15
Uncovered lines: 0
Coverable lines: 15
Total lines: 35
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_ClassName()100%11100%
get_NamespaceName()100%11100%
get_IsPartial()100%11100%
get_FunctionGroupNames()100%11100%
get_ExplicitFunctionTypeFQNs()100%11100%
get_HasExplicitFunctionTypes()100%11100%

File(s)

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

#LineLine coverage
 1// Copyright (c) NexusLabs. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using System.Collections.Immutable;
 5
 6namespace NexusLabs.Needlr.AgentFramework.Generators;
 7
 8internal readonly struct NeedlrAiAgentTypeInfo
 9{
 10    public NeedlrAiAgentTypeInfo(
 11        string typeName,
 12        string className,
 13        string? namespaceName,
 14        bool isPartial,
 15        ImmutableArray<string> functionGroupNames,
 16        ImmutableArray<string> explicitFunctionTypeFQNs,
 17        bool hasExplicitFunctionTypes)
 18    {
 10719        TypeName = typeName;
 10720        ClassName = className;
 10721        NamespaceName = namespaceName;
 10722        IsPartial = isPartial;
 10723        FunctionGroupNames = functionGroupNames;
 10724        ExplicitFunctionTypeFQNs = explicitFunctionTypeFQNs;
 10725        HasExplicitFunctionTypes = hasExplicitFunctionTypes;
 10726    }
 27
 44728    public string TypeName { get; }
 67629    public string ClassName { get; }
 23630    public string? NamespaceName { get; }
 10731    public bool IsPartial { get; }
 1332    public ImmutableArray<string> FunctionGroupNames { get; }
 533    public ImmutableArray<string> ExplicitFunctionTypeFQNs { get; }
 2134    public bool HasExplicitFunctionTypes { get; }
 35}