< Summary

Information
Class: MRA.Infrastructure.Enums.DefaultEnumValueAttribute
Assembly: MRA.Infrastructure
File(s): D:\a\MiguelRomerART\MiguelRomerART\MRA.Infrastructure\Enums\DefaultEnumValueAttribute.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 12
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_DefaultValue()100%11100%
.ctor(...)100%11100%

File(s)

D:\a\MiguelRomerART\MiguelRomerART\MRA.Infrastructure\Enums\DefaultEnumValueAttribute.cs

#LineLine coverage
 1namespace MRA.Infrastructure.Enums;
 2
 3[AttributeUsage(AttributeTargets.Enum)]
 4public class DefaultEnumValueAttribute : Attribute
 5{
 4386    public object DefaultValue { get; }
 7
 4388    public DefaultEnumValueAttribute(object defaultValue)
 9    {
 43810        DefaultValue = defaultValue;
 43811    }
 12}