< Summary - Syki

Information
Class: Syki.Back.Features.Students.GetStudent.GetStudentOut
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Students/GetStudent/GetStudentOut.cs
Tag: 97_27801654829
Line coverage
0%
Covered lines: 0
Uncovered lines: 9
Coverable lines: 9
Total lines: 16
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%
get_EnrollmentCode()100%210%
get_Status()100%210%
get_CurrentCourseOfferingId()100%210%
GetExamples()100%210%

File(s)

/home/runner/work/syki/syki/Back/Features/Students/GetStudent/GetStudentOut.cs

#LineLine coverage
 1namespace Syki.Back.Features.Students.GetStudent;
 2
 3public class GetStudentOut : IApiDto<GetStudentOut>
 4{
 05    public int Id { get; set; }
 06    public string Name { get; set; }
 07    public string Email { get; set; }
 08    public string EnrollmentCode { get; set; }
 09    public StudentStatus Status { get; set; }
 010    public int? CurrentCourseOfferingId { get; set; }
 11
 12    public static IEnumerable<(string, GetStudentOut)> GetExamples() =>
 013    [
 014        ("Exemplo", new() { Id = 1, Name = "Maria Souza", Email = "maria@ufal.edu.br", EnrollmentCode = "20251A2B3C4D", 
 015    ];
 16}