< Summary - Syki

Information
Class: Syki.Back.Features.Students.GetStudents.GetStudentsItemOut
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Students/GetStudents/GetStudentsOut.cs
Tag: 56_26538939494
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
Total lines: 22
Line coverage: 100%
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_ActiveEnrollments()100%11100%

File(s)

/home/runner/work/syki/syki/Back/Features/Students/GetStudents/GetStudentsOut.cs

#LineLine coverage
 1namespace Syki.Back.Features.Students.GetStudents;
 2
 3public class GetStudentsOut : IApiDto<GetStudentsOut>
 4{
 5    public int Total { get; set; }
 6    public List<GetStudentsItemOut> Items { get; set; } = [];
 7
 8    public static IEnumerable<(string, GetStudentsOut)> GetExamples() =>
 9    [
 10        ("Exemplo", new() { Total = 1, Items = [new() { Id = 1, Name = "Maria Souza", Email = "maria@ufal.edu.br", Enrol
 11    ];
 12}
 13
 14public class GetStudentsItemOut
 15{
 1216    public int Id { get; set; }
 1617    public string Name { get; set; }
 1218    public string Email { get; set; }
 1219    public string EnrollmentCode { get; set; }
 1220    public StudentStatus Status { get; set; }
 1221    public int ActiveEnrollments { get; set; }
 22}