< Summary - Estud

Information
Class: Estud.Back.Domain.Notifications.UserNotification
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Domain/Notifications/UserNotification.cs
Tag: 114_29044117136
Line coverage
88%
Covered lines: 8
Uncovered lines: 1
Coverable lines: 9
Total lines: 18
Line coverage: 88.8%
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_UserId()100%11100%
get_NotificationId()100%210%
get_ViewedAt()100%11100%
get_Notification()100%11100%
.ctor()100%11100%
.ctor(...)100%11100%

File(s)

/home/runner/work/syki/syki/Back/Domain/Notifications/UserNotification.cs

#LineLine coverage
 1namespace Estud.Back.Domain.Notifications;
 2
 3public class UserNotification
 4{
 205    public int UserId { get; set; }
 06    public int NotificationId { get; set; }
 87    public DateTime? ViewedAt { get; set; }
 8
 209    public Notification? Notification { get; set; }
 10
 1611    public UserNotification() {}
 12
 2013    public UserNotification(int userId, Notification notification)
 14    {
 2015        UserId = userId;
 2016        Notification = notification;
 2017    }
 18}