< Summary - Estud

Information
Class: Estud.Back.Features.Students.GetStudentAgenda.GetStudentAgendaOut
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Students/GetStudentAgenda/GetStudentAgendaOut.cs
Tag: 114_29044117136
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 25
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_Days()100%210%
GetExamples()100%210%

File(s)

/home/runner/work/syki/syki/Back/Features/Students/GetStudentAgenda/GetStudentAgendaOut.cs

#LineLine coverage
 1namespace Estud.Back.Features.Students.GetStudentAgenda;
 2
 3public class GetStudentAgendaOut : IApiDto<GetStudentAgendaOut>
 4{
 05    public List<GetStudentAgendaItemOut> Days { get; set; } = [];
 6
 7    public static IEnumerable<(string Name, GetStudentAgendaOut Value)> GetExamples() =>
 08    [
 09        new() { Name = "Exemplo", Value = new() }
 010    ];
 11}
 12
 13public class GetStudentAgendaItemOut
 14{
 15    public Day Day { get; set; }
 16    public List<GetStudentAgendaItemDisciplineOut> Disciplines { get; set; } = [];
 17}
 18
 19public class GetStudentAgendaItemDisciplineOut
 20{
 21    public int? ClassId { get; set; }
 22    public string Name { get; set; }
 23    public Hour Start { get; set; }
 24    public Hour End { get; set; }
 25}

Methods/Properties

get_Days()
GetExamples()