< Summary

Class:DCL.Chat.Notifications.FriendRequestNotificationModel
Assembly:NotificationMessagesHUD
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/NotificationMessagesHUD/FriendRequestNotificationModel.cs
Covered lines:15
Uncovered lines:1
Coverable lines:16
Total lines:26
Line coverage:93.7% (15 of 16)
Covered branches:0
Total branches:0
Covered methods:7
Total methods:8
Method coverage:87.5% (7 of 8)

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
FriendRequestNotificationModel(...)0%110100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/NotificationMessagesHUD/FriendRequestNotificationModel.cs

#LineLine coverage
 1using System;
 2
 3namespace DCL.Chat.Notifications
 4{
 5    public class FriendRequestNotificationModel
 6    {
 27        public string FriendRequestId { get; }
 68        public string UserId { get; }
 69        public string UserName { get; }
 610        public string Header { get; }
 611        public string Message { get; }
 012        public DateTime Timestamp { get; }
 413        public bool IsAccepted { get; }
 14
 315        public FriendRequestNotificationModel(string friendRequestId, string userId, string userName, string header, str
 16        {
 317            FriendRequestId = friendRequestId;
 318            UserId = userId;
 319            UserName = userName;
 320            Header = header;
 321            Message = message;
 322            Timestamp = timestamp;
 323            IsAccepted = isAccepted;
 324        }
 25    }
 26}