< Summary - Estud

Information
Class: Estud.Back.Domain.Students.StudentClassNote
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Domain/Students/StudentClassNote.cs
Tag: 114_29044117136
Line coverage
0%
Covered lines: 0
Uncovered lines: 17
Coverable lines: 17
Total lines: 27
Line coverage: 0%
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%210%
get_ClassId()100%210%
get_StudentId()100%210%
get_Type()100%210%
get_Note()100%210%
.ctor()100%210%
.ctor(...)100%210%

File(s)

/home/runner/work/syki/syki/Back/Domain/Students/StudentClassNote.cs

#LineLine coverage
 1namespace Estud.Back.Domain.Students;
 2
 3/// <summary>
 4/// Representa uma nota de um aluno em uma turma.
 5/// </summary>
 6public class StudentClassNote
 7{
 08    public int Id { get; set; }
 09    public int ClassId { get; set; }
 010    public int StudentId { get; set; }
 011    public ClassNoteType Type { get; set; }
 012    public decimal Note { get; set; }
 13
 014    private StudentClassNote() {}
 15
 016    public StudentClassNote(
 017        int classId,
 018        int studentId,
 019        ClassNoteType examType,
 020        decimal note
 021    ) {
 022        ClassId = classId;
 023        StudentId = studentId;
 024        Type = examType;
 025        Note = note;
 026    }
 27}