< Summary

Class:DCL.Chat.Notifications.PublicChannelMessageNotificationModel
Assembly:NotificationMessagesHUD
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/NotificationMessagesHUD/PublicChannelMessageNotificationModel.cs
Covered lines:20
Uncovered lines:0
Coverable lines:20
Total lines:30
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
PublicChannelMessageNotificationModel(...)0%110100%

File(s)

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

#LineLine coverage
 1namespace DCL.Chat.Notifications
 2{
 3    public class PublicChannelMessageNotificationModel
 4    {
 105        public string MessageId { get; }
 136        public string Body { get; }
 107        public string ChannelName { get; }
 98        public string ChannelId { get; }
 39        public ulong Timestamp { get; }
 1210        public string Username { get; }
 1611        public bool ImTheSender { get; }
 612        public bool IsOwnPlayerMentioned { get; }
 613        public bool ShouldPlayMentionSfx { get; }
 14
 1315        public PublicChannelMessageNotificationModel(string messageId, string body, string channelName,
 16            string channelId, ulong timestamp, bool imTheSender, string username, bool isOwnPlayerMentioned,
 17            bool shouldPlayMentionSfx)
 18        {
 1319            MessageId = messageId;
 1320            Body = body;
 1321            ChannelName = channelName;
 1322            ChannelId = channelId;
 1323            Timestamp = timestamp;
 1324            ImTheSender = imTheSender;
 1325            Username = username;
 1326            IsOwnPlayerMentioned = isOwnPlayerMentioned;
 1327            ShouldPlayMentionSfx = shouldPlayMentionSfx;
 1328        }
 29    }
 30}