< Summary - Syki

Information
Class: Syki.Back.Domain.Notifications.UserNotification
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Domain/Notifications/UserNotification.cs
Tag: 97_27801654829
Line coverage
0%
Covered lines: 0
Uncovered lines: 9
Coverable lines: 9
Total lines: 18
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_UserId()100%210%
get_NotificationId()100%210%
get_ViewedAt()100%210%
get_Notification()100%210%
.ctor()100%210%
.ctor(...)100%210%

File(s)

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

#LineLine coverage
 1namespace Syki.Back.Domain.Notifications;
 2
 3public class UserNotification
 4{
 05    public int UserId { get; set; }
 06    public int NotificationId { get; set; }
 07    public DateTime? ViewedAt { get; set; }
 8
 09    public Notification? Notification { get; set; }
 10
 011    public UserNotification() {}
 12
 013    public UserNotification(int userId, Notification notification)
 14    {
 015        UserId = userId;
 016        Notification = notification;
 017    }
 18}