< Summary

Information
Class: NexusLabs.Needlr.AgentFramework.Langfuse.DisabledLangfuseScoreConfigClient
Assembly: NexusLabs.Needlr.AgentFramework.Langfuse
File(s): /home/runner/work/needlr/needlr/src/NexusLabs.Needlr.AgentFramework.Langfuse/DisabledLangfuseScoreConfigClient.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
Total lines: 15
Line coverage: 0%
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_IsEnabled()100%210%
EnsureScoreConfigAsync(...)100%210%

File(s)

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

#LineLine coverage
 1namespace NexusLabs.Needlr.AgentFramework.Langfuse;
 2
 3/// <summary>
 4/// Inert <see cref="ILangfuseScoreConfigClient"/> returned when Langfuse is not configured. All
 5/// members are no-ops so eval setup code runs unchanged without credentials.
 6/// </summary>
 7internal sealed class DisabledLangfuseScoreConfigClient : ILangfuseScoreConfigClient
 8{
 9    /// <inheritdoc />
 010    public bool IsEnabled => false;
 11
 12    /// <inheritdoc />
 13    public Task EnsureScoreConfigAsync(LangfuseScoreConfig config, CancellationToken cancellationToken = default) =>
 014        Task.CompletedTask;
 15}