< Summary

Information
Class: Elsa.Resilience.VoidRetryAttemptReader
Assembly: Elsa.Resilience.Core
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Resilience.Core/Services/VoidRetryAttemptReader.cs
Line coverage
50%
Covered lines: 1
Uncovered lines: 1
Coverable lines: 2
Total lines: 14
Line coverage: 50%
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_Instance()100%11100%
ReadAttemptsAsync(...)100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Resilience.Core/Services/VoidRetryAttemptReader.cs

#LineLine coverage
 1using Elsa.Common.Models;
 2using Elsa.Resilience.Entities;
 3
 4namespace Elsa.Resilience;
 5
 6public class VoidRetryAttemptReader : IRetryAttemptReader
 7{
 28    public static VoidRetryAttemptReader Instance { get; } = new();
 9
 10    public Task<Page<RetryAttemptRecord>> ReadAttemptsAsync(string activityInstanceId, PageArgs? pageArgs = null, Cancel
 11    {
 012        return Task.FromResult(Page.Empty<RetryAttemptRecord>());
 13    }
 14}