< Summary

Information
Class: Syki.Shared.TeacherOut
Assembly: Shared
File(s): /home/runner/work/syki/syki/Shared/Features/Academic/CreateTeacher/TeacherOut.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_Name()100%11100%
get_Email()100%11100%
op_Implicit(...)100%11100%

File(s)

/home/runner/work/syki/syki/Shared/Features/Academic/CreateTeacher/TeacherOut.cs

#LineLine coverage
 1namespace Syki.Shared;
 2
 3public class TeacherOut
 4{
 5085    public Guid Id { get; set; }
 3076    public string Name { get; set; }
 3487    public string Email { get; set; }
 8
 9    public static implicit operator TeacherOut(OneOf<TeacherOut, ErrorOut> value)
 10    {
 9011        return value.GetSuccess();
 12    }
 13}