< Summary

Information
Class: Services.TransactionCommentAi.TransactionCommentAiOptions
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/TransactionCommentAi/TransactionCommentAiOptions.cs
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
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
get_Enabled()100%11100%
get_Placeholder()100%11100%
get_MaxCommentLength()100%11100%
get_MaxOrdersInPrompt()100%11100%
get_Model()100%11100%
get_TimeoutSeconds()100%11100%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/TransactionCommentAi/TransactionCommentAiOptions.cs

#LineLine coverage
 1namespace Services.TransactionCommentAi;
 2
 3public sealed class TransactionCommentAiOptions
 4{
 5    public const string SectionName = "TransactionCommentAi";
 6
 367    public bool Enabled { get; set; } = true;
 8
 129    public string Placeholder { get; set; } = TransactionCommentAiConstants.DefaultPlaceholder;
 10
 2511    public int MaxCommentLength { get; set; } = 12000;
 12
 2413    public int MaxOrdersInPrompt { get; set; } = 20;
 14
 415    public string? Model { get; set; }
 16
 2417    public int TimeoutSeconds { get; set; } = 45;
 18}