< Summary - Syki

Information
Class: Syki.Shared.UserOut
Assembly: Shared
File(s): /home/runner/work/syki/syki/Shared/Features/Cross/CreateUser/UserOut.cs
Tag: 4_16869239191
Line coverage
40%
Covered lines: 9
Uncovered lines: 13
Coverable lines: 22
Total lines: 29
Line coverage: 40.9%
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_Id()100%11100%
get_Name()100%11100%
get_Email()100%11100%
get_Password()100%11100%
get_InstitutionId()100%11100%
get_Institution()100%11100%
get_Role()100%11100%
get_Online()100%11100%
get_Connections()100%11100%
GetExamples()100%210%

File(s)

/home/runner/work/syki/syki/Shared/Features/Cross/CreateUser/UserOut.cs

#LineLine coverage
 1namespace Syki.Shared;
 2
 3public class UserOut
 4{
 82825    public Guid Id { get; set; }
 59406    public string Name { get; set; }
 78087    public string Email { get; set; }
 52908    public string Password { get; set; }
 59449    public Guid InstitutionId { get; set; }
 493410    public string Institution { get; set; }
 493411    public string Role { get; set; }
 417612    public bool Online { get; set; }
 417613    public int Connections { get; set; }
 14
 15    public static IEnumerable<(string, UserOut)> GetExamples() =>
 016    [
 017        ("Exemplo",
 018        new UserOut
 019        {
 020            Id = Guid.CreateVersion7(),
 021            Name = "Zaqueu Cavalcante",
 022            Email = "zaqueu.cavalcante@gmail.com",
 023            Password = "M1@Str0ngP4ssword#",
 024            InstitutionId = Guid.CreateVersion7(),
 025            Institution = "Universidade Federal Caruaruense",
 026            Role = UserRole.Student.ToString()
 027        }),
 028    ];
 29}