< Summary

Class:DCL.Chat.Notifications.PrivateChatMessageNotificationModel
Assembly:NotificationMessagesHUD
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/NotificationMessagesHUD/PrivateChatMessageNotificationModel.cs
Covered lines:20
Uncovered lines:0
Coverable lines:20
Total lines:29
Line coverage:100% (20 of 20)
Covered branches:0
Total branches:0
Covered methods:10
Total methods:10
Method coverage:100% (10 of 10)

Metrics

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

File(s)

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

#LineLine coverage
 1namespace DCL.Chat.Notifications
 2{
 3    public class PrivateChatMessageNotificationModel
 4    {
 45        public string MessageId { get; }
 26        public string TargetId { get; }
 87        public string Body { get; }
 28        public ulong Timestamp { get; }
 59        public string SenderUsername { get; }
 610        public string PeerUsername { get; }
 611        public string ProfilePicture { get; }
 1012        public bool ImTheSender { get; }
 213        public bool IsOwnPlayerMentioned { get; }
 14
 515        public PrivateChatMessageNotificationModel(string messageId, string targetId, string body, ulong timestamp, stri
 16            bool imTheSender, bool isOwnPlayerMentioned, string profilePicture = null)
 17        {
 518            MessageId = messageId;
 519            TargetId = targetId;
 520            Body = body;
 521            Timestamp = timestamp;
 522            SenderUsername = senderUsername;
 523            PeerUsername = peerUsername;
 524            ImTheSender = imTheSender;
 525            IsOwnPlayerMentioned = isOwnPlayerMentioned;
 526            ProfilePicture = profilePicture;
 527        }
 28    }
 29}