< Summary

Information
Class: Syki.Back.Features.Academic.CreateTeacher.SykiTeacher
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Academic/CreateTeacher/SykiTeacher.cs
Tag: 22_11348620282
Line coverage
100%
Covered lines: 17
Uncovered lines: 0
Coverable lines: 17
Total lines: 30
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_InstitutionId()100%11100%
get_Name()100%11100%
.ctor(...)100%11100%
ToOut()100%11100%

File(s)

/home/runner/work/syki/syki/Back/Features/Academic/CreateTeacher/SykiTeacher.cs

#LineLine coverage
 1namespace Syki.Back.Features.Academic.CreateTeacher;
 2
 3/// <summary>
 4/// Representa um Professor.
 5/// </summary>
 6public class SykiTeacher
 7{
 4208    public Guid Id { get; set; }
 3179    public Guid InstitutionId { get; set; }
 63310    public string Name { get; set; }
 11
 31612    public SykiTeacher(
 31613        Guid id,
 31614        Guid institutionId,
 31615        string name
 31616    ) {
 31617        Id = id;
 31618        InstitutionId = institutionId;
 31619        Name = name;
 31620    }
 21
 22    public TeacherOut ToOut()
 23    {
 10124        return new()
 10125        {
 10126            Id = Id,
 10127            Name = Name,
 10128        };
 29    }
 30}