< Summary

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

Metrics

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

File(s)

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

#LineLine coverage
 1using System;
 2
 3namespace DCL.Chat.HUD
 4{
 5    [Serializable]
 6    public class PublicChatEntryModel : BaseComponentModel
 7    {
 8        public string channelId;
 9        public string name;
 10        public bool isJoined;
 11        public int memberCount;
 12        public bool showOnlyOnlineMembers;
 13        public bool muted;
 14
 5315        public PublicChatEntryModel(string channelId, string name, bool isJoined, int memberCount, bool showOnlyOnlineMe
 16        {
 5317            this.channelId = channelId;
 5318            this.name = name;
 5319            this.isJoined = isJoined;
 5320            this.memberCount = memberCount;
 5321            this.showOnlyOnlineMembers = showOnlyOnlineMembers;
 5322            this.muted = muted;
 5323        }
 24    }
 25}