< Summary

Information
Class: NexusLabs.Needlr.AgentFramework.Generators.AgentFunctionTypeInfo
Assembly: NexusLabs.Needlr.AgentFramework.Generators
File(s): /home/runner/work/needlr/needlr/src/NexusLabs.Needlr.AgentFramework.Generators/Models/AgentFunctionTypeInfo.cs
Line coverage
83%
Covered lines: 5
Uncovered lines: 1
Coverable lines: 6
Total lines: 19
Line coverage: 83.3%
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_AssemblyName()100%210%
get_IsStatic()100%11100%
get_Methods()100%11100%

File(s)

/home/runner/work/needlr/needlr/src/NexusLabs.Needlr.AgentFramework.Generators/Models/AgentFunctionTypeInfo.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 AgentFunctionTypeInfo
 9{
 10    public AgentFunctionTypeInfo(string typeName, string assemblyName, bool isStatic, ImmutableArray<AgentFunctionMethod
 11    {
 8012        TypeName = typeName; AssemblyName = assemblyName; IsStatic = isStatic; Methods = methods;
 2013    }
 14
 13615    public string TypeName { get; }
 016    public string AssemblyName { get; }
 10017    public bool IsStatic { get; }
 4018    public ImmutableArray<AgentFunctionMethodInfo> Methods { get; }
 19}