< Summary - Syki

Information
Class: Syki.Shared.StudentCreatedWebhookPayload
Assembly: Shared
File(s): /home/runner/work/syki/syki/Shared/Features/Academic/CreateStudent/StudentCreatedWebhookPayload.cs
Tag: 4_16869239191
Line coverage
0%
Covered lines: 0
Uncovered lines: 12
Coverable lines: 12
Total lines: 22
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_Id()100%210%
get_Name()100%210%
get_Email()100%210%
.ctor()100%210%
.ctor(...)100%210%
GetExamples()100%210%

File(s)

/home/runner/work/syki/syki/Shared/Features/Academic/CreateStudent/StudentCreatedWebhookPayload.cs

#LineLine coverage
 1namespace Syki.Shared;
 2
 3public class StudentCreatedWebhookPayload
 4{
 05    public Guid Id { get; set; }
 06    public string Name { get; set; }
 07    public string Email { get; set; }
 8
 09    public StudentCreatedWebhookPayload() {}
 10
 011    public StudentCreatedWebhookPayload(Guid id, string name, string email)
 12    {
 013        Id = id;
 014        Name = name;
 015        Email = email;
 016    }
 17
 18    public static IEnumerable<(string, StudentCreatedWebhookPayload)> GetExamples() =>
 019    [
 020        ("Exemplo", new(Guid.CreateVersion7(), "Gilberto Gil", "gilberto.gil@gmail.com")),
 021    ];
 22}