< Summary

Information
Class: Syki.Shared.AcademicPeriodOut
Assembly: Shared
File(s): /home/runner/work/syki/syki/Shared/Features/Academic/CreateAcademicPeriod/AcademicPeriodOut.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/CreateAcademicPeriod/AcademicPeriodOut.cs

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