< Summary - Syki

Information
Class: Syki.Back.Features.Identity.TwoFactorLogin.TwoFactorLoginOut
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Identity/TwoFactorLogin/TwoFactorLoginOut.cs
Tag: 56_26538939494
Line coverage
20%
Covered lines: 2
Uncovered lines: 8
Coverable lines: 10
Total lines: 17
Line coverage: 20%
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_InstitutionId()100%11100%
GetExamples()100%210%

File(s)

/home/runner/work/syki/syki/Back/Features/Identity/TwoFactorLogin/TwoFactorLoginOut.cs

#LineLine coverage
 1namespace Syki.Back.Features.Identity.TwoFactorLogin;
 2
 3public class TwoFactorLoginOut : IApiDto<TwoFactorLoginOut>
 4{
 225    public int Id { get; set; }
 186    public int InstitutionId { get; set; }
 7
 8    public static IEnumerable<(string, TwoFactorLoginOut)> GetExamples() =>
 09    [
 010        ("Exemplo",
 011        new TwoFactorLoginOut
 012        {
 013            Id = 1,
 014            InstitutionId = 2,
 015        }),
 016    ];
 17}