< Summary

Information
Class: Elsa.Resilience.Entities.RetryAttemptRecord
Assembly: Elsa.Resilience.Core
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Resilience.Core/Entities/RetryAttemptRecord.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 6
Coverable lines: 6
Total lines: 13
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_ActivityInstanceId()100%210%
get_ActivityId()100%210%
get_WorkflowInstanceId()100%210%
get_AttemptNumber()100%210%
get_RetryDelay()100%210%
get_Details()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Resilience.Core/Entities/RetryAttemptRecord.cs

#LineLine coverage
 1using Elsa.Common.Entities;
 2
 3namespace Elsa.Resilience.Entities;
 4
 5public class RetryAttemptRecord : Entity
 6{
 07    public string ActivityInstanceId { get; set; } = null!;
 08    public string ActivityId { get; set; } = null!;
 09    public string WorkflowInstanceId { get; set; } = null!;
 010    public int AttemptNumber { get; set; }
 011    public TimeSpan RetryDelay { get; set; }
 012    public IDictionary<string, string> Details { get; set; } = new Dictionary<string, string>();
 13}