< Summary

Information
Class: Syki.Shared.CourseOfferingOut
Assembly: Shared
File(s): /home/runner/work/syki/syki/Shared/Features/Academic/CreateCourseOffering/CourseOfferingOut.cs
Tag: 22_11348620282
Line coverage
100%
Covered lines: 9
Uncovered lines: 0
Coverable lines: 9
Total lines: 22
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_Campus()100%11100%
get_Course()100%11100%
get_CourseCurriculumId()100%11100%
get_CourseCurriculum()100%11100%
get_Period()100%11100%
get_Shift()100%11100%
ToString()100%11100%
op_Implicit(...)100%11100%

File(s)

/home/runner/work/syki/syki/Shared/Features/Academic/CreateCourseOffering/CourseOfferingOut.cs

#LineLine coverage
 1namespace Syki.Shared;
 2
 3public class CourseOfferingOut
 4{
 7295    public Guid Id { get; set; }
 6346    public string Campus { get; set; }
 6327    public string Course { get; set; }
 6338    public Guid CourseCurriculumId { get; set; }
 6349    public string CourseCurriculum { get; set; }
 63510    public string Period { get; set; }
 63411    public Shift Shift { get; set; }
 12
 13    public override string ToString()
 14    {
 115        return $"{CourseCurriculum} | {Campus} | {Period} | {Shift.GetDescription()}";
 16    }
 17
 18    public static implicit operator CourseOfferingOut(OneOf<CourseOfferingOut, ErrorOut> value)
 19    {
 20820        return value.GetSuccess();
 21    }
 22}