< Summary

Information
Class: Syki.Back.Features.Cross.CreateUser.SykiRole
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Cross/CreateUser/SykiRole.cs
Tag: 22_11348620282
Line coverage
100%
Covered lines: 7
Uncovered lines: 0
Coverable lines: 7
Total lines: 14
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%
.ctor(...)100%11100%

File(s)

/home/runner/work/syki/syki/Back/Features/Cross/CreateUser/SykiRole.cs

#LineLine coverage
 1namespace Syki.Back.Features.Cross.CreateUser;
 2
 3public class SykiRole : IdentityRole<Guid>
 4{
 16925    private SykiRole() {}
 6
 87    public SykiRole(UserRole role)
 8    {
 89        Id = Guid.NewGuid();
 810        Name = role.ToString();
 811        NormalizedName = role.ToString().ToUpper();
 812        ConcurrencyStamp = Guid.NewGuid().ToString();
 813    }
 14}