< Summary - Syki

Information
Class: Syki.Shared.GetMfaKeyOut
Assembly: Shared
File(s): /home/runner/work/syki/syki/Shared/Features/Cross/GetMfaKey/GetMfaKeyOut.cs
Tag: 4_16869239191
Line coverage
22%
Covered lines: 2
Uncovered lines: 7
Coverable lines: 9
Total lines: 23
Line coverage: 22.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_Key()100%11100%
get_QrCodeBase64()100%11100%
GetExamples()100%210%

File(s)

/home/runner/work/syki/syki/Shared/Features/Cross/GetMfaKey/GetMfaKeyOut.cs

#LineLine coverage
 1namespace Syki.Shared;
 2
 3public class GetMfaKeyOut
 4{
 5    /// <summary>
 6    /// Chave MFA do usuário.
 7    /// </summary>
 768    public string Key { get; set; }
 9
 10    /// <summary>
 11    /// QrCode em Base64 contendo a chave MFA do usuário.
 12    /// </summary>
 5613    public string QrCodeBase64 { get; set; }
 14
 15    public static IEnumerable<(string, GetMfaKeyOut)> GetExamples() =>
 016    [
 017        ("Exemplo", new()
 018        {
 019            Key = "COZF2TE2BEWGHEB77A5THFYHPBC2KHPM",
 020            QrCodeBase64 = @"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABHQAAAR0AQAAAAA4d3wbAAAGVklEQVR4nO3bQW7jMAwF0
 021        }),
 022    ];
 23}