< Summary

Information
Class: Syki.Front.Features.Academic.CreateClass.ScheduleInFillable
Assembly: Front
File(s): /home/runner/work/syki/syki/Front/Features/Academic/CreateClass/ScheduleInFillable.cs
Tag: 22_11348620282
Line coverage
0%
Covered lines: 0
Uncovered lines: 10
Coverable lines: 10
Total lines: 25
Line coverage: 0%
Branch coverage
0%
Covered branches: 0
Total branches: 2
Branch coverage: 0%
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_Day()100%210%
get_Start()100%210%
get_End()100%210%
.ctor()100%210%
Equals(...)0%620%
GetHashCode()100%210%

File(s)

/home/runner/work/syki/syki/Front/Features/Academic/CreateClass/ScheduleInFillable.cs

#LineLine coverage
 1namespace Syki.Front.Features.Academic.CreateClass;
 2
 3public class ScheduleInFillable
 4{
 05    public Guid Id { get; set; }
 06    public Day? Day { get; set; }
 07    public Hour? Start { get; set; }
 08    public Hour? End { get; set; }
 9
 010    public ScheduleInFillable()
 11    {
 012        Id = Guid.NewGuid();
 013    }
 14
 15    public override bool Equals(object? obj)
 16    {
 017        if (obj is null) return false;
 018        return Id == ((ScheduleInFillable)obj).Id;
 19    }
 20
 21    public override int GetHashCode()
 22    {
 023        return Id.ToHashCode();
 24    }
 25}