< Summary - Kestrun — Combined Coverage

Information
Class: Kestrun.Callback.CallbackDispatchOptions
Assembly: Kestrun
File(s): /home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun/Callback/CallbackDispatchOptions.cs
Tag: Kestrun/Kestrun@ca54e35c77799b76774b3805b6f075cdbc0c5fbe
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 24
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

Coverage history

Coverage history 0 25 50 75 100 01/02/2026 - 00:16:25 Line coverage: 100% (4/4) Total lines: 24 Tag: Kestrun/Kestrun@8405dc23b786b9d436fba0d65fb80baa4171e1d0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_DefaultTimeout()100%11100%
get_MaxAttempts()100%11100%
get_BaseDelay()100%11100%
get_MaxDelay()100%11100%

File(s)

/home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun/Callback/CallbackDispatchOptions.cs

#LineLine coverage
 1namespace Kestrun.Callback;
 2/// <summary>
 3/// Options for dispatching callback requests.
 4/// </summary>
 5public sealed record CallbackDispatchOptions
 6{
 7    /// <summary>
 8    /// Default timeout for callback requests.
 9    /// </summary>
 2110    public TimeSpan DefaultTimeout { get; set; } = TimeSpan.FromSeconds(30);
 11
 12    /// <summary>
 13    /// Maximum number of retry attempts for failed callback requests.
 14    /// </summary>
 4615    public int MaxAttempts { get; set; } = 3;
 16    /// <summary>
 17    /// Base delay between retry attempts.
 18    /// </summary>
 3219    public TimeSpan BaseDelay { get; set; } = TimeSpan.FromSeconds(2);
 20    /// <summary>
 21    /// Maximum delay between retry attempts.
 22    /// </summary>
 3223    public TimeSpan MaxDelay { get; set; } = TimeSpan.FromSeconds(30);
 24}