< Summary - Syki

Information
Class: Syki.Back.Features.Identity.GoogleOneTapLogin.GoogleOneTapLoginOut
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Identity/GoogleOneTapLogin/GoogleOneTapLoginOut.cs
Tag: 97_27801654829
Line coverage
0%
Covered lines: 0
Uncovered lines: 12
Coverable lines: 12
Total lines: 19
Line coverage: 0%
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_UserId()100%210%
get_InstitutionId()100%210%
get_Permissions()100%210%
GetExamples()100%210%

File(s)

/home/runner/work/syki/syki/Back/Features/Identity/GoogleOneTapLogin/GoogleOneTapLoginOut.cs

#LineLine coverage
 1namespace Syki.Back.Features.Identity.GoogleOneTapLogin;
 2
 3public class GoogleOneTapLoginOut : IApiDto<GoogleOneTapLoginOut>
 4{
 05    public int UserId { get; set; }
 06    public int InstitutionId { get; set; }
 07    public List<int> Permissions { get; set; } = [];
 8
 9    public static IEnumerable<(string Name, GoogleOneTapLoginOut Value)> GetExamples() =>
 010    [
 011        ("Exemplo",
 012        new GoogleOneTapLoginOut
 013        {
 014            UserId = 1,
 015            InstitutionId = 1,
 016            Permissions = [1, 2, 3],
 017        }),
 018    ];
 19}