< Summary - Syki

Information
Class: Syki.Back.Features.Identity.GoogleOneTapLogin.GoogleOneTapLoginMapper
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Identity/GoogleOneTapLogin/GoogleOneTapLoginMapper.cs
Tag: 97_27801654829
Line coverage
0%
Covered lines: 0
Uncovered lines: 6
Coverable lines: 6
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
ToGoogleOneTapLoginOut(...)100%210%

File(s)

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

#LineLine coverage
 1using Syki.Back.Features.Identity.SignIn;
 2
 3namespace Syki.Back.Features.Identity.GoogleOneTapLogin;
 4
 5public static class GoogleOneTapLoginMapper
 6{
 7    extension(SignInOut token)
 8    {
 9        public GoogleOneTapLoginOut ToGoogleOneTapLoginOut()
 10        {
 011            return new()
 012            {
 013                UserId = token.UserId,
 014                InstitutionId = token.InstitutionId,
 015                Permissions = token.Permissions,
 016            };
 17        }
 18    }
 19}