< Summary - Syki

Information
Class: Syki.Shared.LoginMfaOut
Assembly: Shared
File(s): /home/runner/work/syki/syki/Shared/Features/Cross/LoginMfa/LoginMfaOut.cs
Tag: 36_19195353031
Line coverage
41%
Covered lines: 5
Uncovered lines: 7
Coverable lines: 12
Total lines: 19
Line coverage: 41.6%
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_AccessToken()100%11100%
get_Id()100%11100%
get_Name()100%11100%
get_Email()100%11100%
get_Role()100%11100%
GetExamples()100%210%

File(s)

/home/runner/work/syki/syki/Shared/Features/Cross/LoginMfa/LoginMfaOut.cs

#LineLine coverage
 1namespace Syki.Shared;
 2
 3public class LoginMfaOut : IApiDto<LoginMfaOut>
 4{
 125    public string AccessToken { get; set; }
 106    public Guid Id { get; set; }
 107    public string Name { get; set; }
 108    public string Email { get; set; }
 109    public UserRole Role { get; set; }
 10
 11    public static IEnumerable<(string, LoginMfaOut)> GetExamples() =>
 012    [
 013        ("Exemplo",
 014        new LoginMfaOut
 015        {
 016            AccessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJkYzEyZDgzZi0zNzNjLTQzYTItOTdiMC0yMTg3NTFjMThh
 017        })
 018    ];
 19}