< Summary

Information
Class: Elsa.Resilience.ResilienceCategoryAttribute
Assembly: Elsa.Resilience.Core
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Resilience.Core/Attributes/ResilienceCategoryAttribute.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 7
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
.ctor(...)100%11100%
get_Category()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Resilience.Core/Attributes/ResilienceCategoryAttribute.cs

#LineLine coverage
 1namespace Elsa.Resilience;
 2
 3[AttributeUsage(AttributeTargets.Class)]
 44public class ResilienceCategoryAttribute(string category) : Attribute
 5{
 86    public string Category { get; } = category;
 7}