< Summary

Information
Class: NexusLabs.Needlr.AgentFramework.Langfuse.LangfuseProjectsResponse
Assembly: NexusLabs.Needlr.AgentFramework.Langfuse
File(s): /home/runner/work/needlr/needlr/src/NexusLabs.Needlr.AgentFramework.Langfuse/LangfuseProjectsResponse.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 12
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
get_Data()100%11100%

File(s)

/home/runner/work/needlr/needlr/src/NexusLabs.Needlr.AgentFramework.Langfuse/LangfuseProjectsResponse.cs

#LineLine coverage
 1namespace NexusLabs.Needlr.AgentFramework.Langfuse;
 2
 3/// <summary>
 4/// Response shape for <c>GET /api/public/projects</c>. The Basic-auth API key resolves to a single
 5/// project, which the comment feature needs because <c>POST /api/public/comments</c> requires an
 6/// explicit project id.
 7/// </summary>
 8internal sealed record LangfuseProjectsResponse
 9{
 10    /// <summary>Gets the projects accessible to the authenticated API key.</summary>
 911    public IReadOnlyList<LangfuseProjectRef> Data { get; init; } = [];
 12}

Methods/Properties

get_Data()