< Summary

Information
Class: NexusLabs.Needlr.AgentFramework.Generators.GroupChatEntry
Assembly: NexusLabs.Needlr.AgentFramework.Generators
File(s): /home/runner/work/needlr/needlr/src/NexusLabs.Needlr.AgentFramework.Generators/Models/GroupChatEntry.cs
Line coverage
100%
Covered lines: 7
Uncovered lines: 0
Coverable lines: 7
Total lines: 18
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_AgentTypeName()100%11100%
get_GroupName()100%11100%
get_Order()100%11100%

File(s)

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

#LineLine coverage
 1// Copyright (c) NexusLabs. All rights reserved.
 2// Licensed under the MIT License.
 3
 4namespace NexusLabs.Needlr.AgentFramework.Generators;
 5
 6internal readonly struct GroupChatEntry
 7{
 8    public GroupChatEntry(string agentTypeName, string groupName, int order = 0)
 9    {
 810        AgentTypeName = agentTypeName;
 811        GroupName = groupName;
 812        Order = order;
 813    }
 14
 1615    public string AgentTypeName { get; }
 816    public string GroupName { get; }
 817    public int Order { get; }
 18}