< Summary - Syki

Information
Class: Syki.Back.Features.Students.GetStudents.GetStudentsOut
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Students/GetStudents/GetStudentsOut.cs
Tag: 56_26538939494
Line coverage
40%
Covered lines: 2
Uncovered lines: 3
Coverable lines: 5
Total lines: 22
Line coverage: 40%
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_Total()100%11100%
get_Items()100%11100%
GetExamples()100%210%

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{
 85    public int Total { get; set; }
 146    public List<GetStudentsItemOut> Items { get; set; } = [];
 7
 8    public static IEnumerable<(string, GetStudentsOut)> GetExamples() =>
 09    [
 010        ("Exemplo", new() { Total = 1, Items = [new() { Id = 1, Name = "Maria Souza", Email = "maria@ufal.edu.br", Enrol
 011    ];
 12}
 13
 14public class GetStudentsItemOut
 15{
 16    public int Id { get; set; }
 17    public string Name { get; set; }
 18    public string Email { get; set; }
 19    public string EnrollmentCode { get; set; }
 20    public StudentStatus Status { get; set; }
 21    public int ActiveEnrollments { get; set; }
 22}