< Summary

Information
Class: Syki.Shared.StudentOut
Assembly: Shared
File(s): /home/runner/work/syki/syki/Shared/Features/Academic/CreateStudent/StudentOut.cs
Tag: 22_11348620282
Line coverage
100%
Covered lines: 8
Uncovered lines: 0
Coverable lines: 8
Total lines: 17
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_CourseOfferingId()100%11100%
get_CourseOffering()100%11100%
get_Name()100%11100%
get_Email()100%11100%
get_PhoneNumber()100%11100%
get_EnrollmentCode()100%11100%
op_Implicit(...)100%11100%

File(s)

/home/runner/work/syki/syki/Shared/Features/Academic/CreateStudent/StudentOut.cs

#LineLine coverage
 1namespace Syki.Shared;
 2
 3public class StudentOut
 4{
 3125    public Guid Id { get; set; }
 2426    public Guid CourseOfferingId { get; set; }
 2417    public string CourseOffering { get; set; }
 2428    public string Name { get; set; }
 3969    public string Email { get; set; }
 23910    public string? PhoneNumber { get; set; }
 24111    public string EnrollmentCode { get; set; }
 12
 13    public static implicit operator StudentOut(OneOf<StudentOut, ErrorOut> value)
 14    {
 6615        return value.GetSuccess();
 16    }
 17}