< Summary

Information
Class: Syki.Shared.CreateTeacherIn
Assembly: Shared
File(s): /home/runner/work/syki/syki/Shared/Features/Academic/CreateTeacher/CreateTeacherIn.cs
Tag: 22_11348620282
Line coverage
66%
Covered lines: 2
Uncovered lines: 1
Coverable lines: 3
Total lines: 12
Line coverage: 66.6%
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_Name()100%11100%
get_Email()100%11100%
Seed(...)100%210%

File(s)

/home/runner/work/syki/syki/Shared/Features/Academic/CreateTeacher/CreateTeacherIn.cs

#LineLine coverage
 1namespace Syki.Shared;
 2
 3public class CreateTeacherIn
 4{
 6905    public string Name { get; set; }
 5906    public string Email { get; set; }
 7
 8    public static CreateTeacherIn Seed(string name)
 9    {
 010        return new CreateTeacherIn { Name = name, Email = $"professor.{Guid.NewGuid().ToString().OnlyNumbers()[..8]}@syk
 11    }
 12}