< Summary

Class:DCL.Chat.HUD.PrivateChatEntryModel
Assembly:WorldChatWindowHUD
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/WorldChatWindowHUD/PrivateChatEntryModel.cs
Covered lines:9
Uncovered lines:0
Coverable lines:9
Total lines:29
Line coverage:100% (9 of 9)
Covered branches:0
Total branches:0

Metrics

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

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/WorldChatWindowHUD/PrivateChatEntryModel.cs

#LineLine coverage
 1using System;
 2
 3namespace DCL.Chat.HUD
 4{
 5    [Serializable]
 6    public class PrivateChatEntryModel : BaseComponentModel
 7    {
 8        public string userId;
 9        public string userName;
 10        public string lastMessage;
 11        public ulong lastMessageTimestamp;
 12        public string pictureUrl;
 13        public bool isBlocked;
 14        public bool isOnline;
 15        public bool imageFetchingEnabled;
 16
 4817        public PrivateChatEntryModel(string userId, string userName, string lastMessage, string pictureUrl, bool isBlock
 18            ulong lastMessageTimestamp)
 19        {
 4820            this.userId = userId;
 4821            this.userName = userName;
 4822            this.lastMessage = lastMessage;
 4823            this.pictureUrl = pictureUrl;
 4824            this.isBlocked = isBlocked;
 4825            this.isOnline = isOnline;
 4826            this.lastMessageTimestamp = lastMessageTimestamp;
 4827        }
 28    }
 29}