< Summary - Syki

Information
Class: Syki.Back.Features.Periods.GetAcademicPeriods.GetAcademicPeriodsItemOut
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Periods/GetAcademicPeriods/GetAcademicPeriodsOut.cs
Tag: 56_26538939494
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 23
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_StartAt()100%11100%
get_EndAt()100%11100%

File(s)

/home/runner/work/syki/syki/Back/Features/Periods/GetAcademicPeriods/GetAcademicPeriodsOut.cs

#LineLine coverage
 1namespace Syki.Back.Features.Periods.GetAcademicPeriods;
 2
 3public class GetAcademicPeriodsOut : IApiDto<GetAcademicPeriodsOut>
 4{
 5    public int Total { get; set; }
 6    public List<GetAcademicPeriodsItemOut> Items { get; set; } = [];
 7
 8    public static IEnumerable<(string, GetAcademicPeriodsOut)> GetExamples() =>
 9    [
 10        ("2024.1", new() { })
 11    ];
 12}
 13
 14public class GetAcademicPeriodsItemOut
 15{
 1216    public int Id { get; set; }
 17
 1618    public string Name { get; set; }
 19
 1220    public DateOnly StartAt { get; set; }
 21
 1222    public DateOnly EndAt { get; set; }
 23}