< Summary

Information
Class: Syki.Back.Features.Student.CreateStudentEnrollment.ClassStudent
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Student/CreateStudentEnrollment/ClassStudent.cs
Tag: 22_11348620282
Line coverage
100%
Covered lines: 12
Uncovered lines: 0
Coverable lines: 12
Total lines: 20
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_ClassId()100%11100%
get_SykiStudentId()100%11100%
get_StudentDisciplineStatus()100%11100%
.ctor()100%11100%
.ctor(...)100%11100%

File(s)

/home/runner/work/syki/syki/Back/Features/Student/CreateStudentEnrollment/ClassStudent.cs

#LineLine coverage
 1namespace Syki.Back.Features.Student.CreateStudentEnrollment;
 2
 3public class ClassStudent
 4{
 2395    public Guid ClassId { get; set; }
 1626    public Guid SykiStudentId { get; set; }
 1827    public StudentDisciplineStatus StudentDisciplineStatus { get; set; }
 8
 9    // Only for EF
 49210    public ClassStudent() { }
 11
 16012    public ClassStudent(
 16013        Guid classId,
 16014        Guid studentId
 16015    ) {
 16016        ClassId = classId;
 16017        SykiStudentId = studentId;
 16018        StudentDisciplineStatus = StudentDisciplineStatus.Matriculado;
 16019    }
 20}