< Summary - Syki

Information
Class: Syki.Shared.LoginOut
Assembly: Shared
File(s): /home/runner/work/syki/syki/Shared/Features/Cross/Login/LoginOut.cs
Tag: 36_19195353031
Line coverage
31%
Covered lines: 5
Uncovered lines: 11
Coverable lines: 16
Total lines: 23
Line coverage: 31.2%
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/Login/LoginOut.cs

#LineLine coverage
 1namespace Syki.Shared;
 2
 3public class LoginOut : IApiDto<LoginOut>
 4{
 56525    public string AccessToken { get; set; }
 37726    public Guid Id { get; set; }
 37727    public string Name { get; set; }
 37728    public string Email { get; set; }
 37729    public UserRole Role { get; set; }
 10
 11    public static IEnumerable<(string, LoginOut)> GetExamples() =>
 012    [
 013        ("Exemplo",
 014        new LoginOut
 015        {
 016            Role = UserRole.Academic,
 017            Id = Guid.CreateVersion7(),
 018            Name = "Josenildo Trembolono",
 019            Email = "josenildo.trembolono@syki.com.br",
 020            AccessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJkYzEyZDgzZi0zNzNjLTQzYTItOTdiMC0yMTg3NTFjMThh
 021        }),
 022    ];
 23}