< Summary - Estud

Information
Class: Estud.Back.Features.Students.GetStudent.GetStudentOut
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Students/GetStudent/GetStudentOut.cs
Tag: 114_29044117136
Line coverage
66%
Covered lines: 6
Uncovered lines: 3
Coverable lines: 9
Total lines: 16
Line coverage: 66.6%
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%11100%
get_Name()100%11100%
get_Email()100%11100%
get_EnrollmentCode()100%11100%
get_Status()100%11100%
get_CurrentCourseOfferingId()100%11100%
GetExamples()100%210%

File(s)

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

#LineLine coverage
 1namespace Estud.Back.Features.Students.GetStudent;
 2
 3public class GetStudentOut : IApiDto<GetStudentOut>
 4{
 85    public int Id { get; set; }
 86    public string Name { get; set; }
 87    public string Email { get; set; }
 68    public string EnrollmentCode { get; set; }
 69    public StudentStatus Status { get; set; }
 810    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}