< Summary

Class:DCL.Interface.ChatMessage
Assembly:ChatMessage
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/ChatController/ChatMessage/ChatMessage.cs
Covered lines:6
Uncovered lines:0
Coverable lines:6
Total lines:28
Line coverage:100% (6 of 6)
Covered branches:0
Total branches:0

Metrics

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

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/ChatController/ChatMessage/ChatMessage.cs

#LineLine coverage
 1namespace DCL.Interface
 2{
 3    [System.Serializable]
 4    public class ChatMessage
 5    {
 6        public enum Type
 7        {
 8            NONE,
 9            PUBLIC,
 10            PRIVATE,
 11            SYSTEM
 12        }
 13
 414        public ChatMessage() { }
 615        public ChatMessage(Type messageType, string sender, string body)
 16        {
 617            this.messageType = messageType;
 618            this.sender = sender;
 619            this.body = body;
 620        }
 21
 22        public Type messageType;
 23        public string sender;
 24        public string recipient;
 25        public ulong timestamp;
 26        public string body;
 27    }
 28}