< Summary

Information
Class: Syki.Shared.EnrollmentPeriodOut
Assembly: Shared
File(s): /home/runner/work/syki/syki/Shared/Features/Academic/CreateEnrollmentPeriod/EnrollmentPeriodOut.cs
Tag: 22_11348620282
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 13
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_StartAt()100%11100%
get_EndAt()100%11100%
op_Implicit(...)100%11100%

File(s)

/home/runner/work/syki/syki/Shared/Features/Academic/CreateEnrollmentPeriod/EnrollmentPeriodOut.cs

#LineLine coverage
 1namespace Syki.Shared;
 2
 3public class EnrollmentPeriodOut
 4{
 3075    public string Id { get; set; }
 3026    public DateOnly StartAt { get; set; }
 3027    public DateOnly EndAt { get; set; }
 8
 9    public static implicit operator EnrollmentPeriodOut(OneOf<EnrollmentPeriodOut, ErrorOut> value)
 10    {
 311        return value.GetSuccess();
 12    }
 13}