< Summary

Class:DCL.Chat.Channels.ChannelException
Assembly:ChatController
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/ChatController/Channels/ChannelException.cs
Covered lines:4
Uncovered lines:2
Coverable lines:6
Total lines:16
Line coverage:66.6% (4 of 6)
Covered branches:0
Total branches:0
Covered methods:1
Total methods:3
Method coverage:33.3% (1 of 3)

Metrics

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

File(s)

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

#LineLine coverage
 1using System;
 2
 3namespace DCL.Chat.Channels
 4{
 5    public class ChannelException : Exception
 6    {
 07        public string ChannelId { get; }
 08        public ChannelErrorCode ErrorCode { get; }
 9
 110        public ChannelException(string channelId, ChannelErrorCode errorCode)
 11        {
 112            ChannelId = channelId;
 113            ErrorCode = errorCode;
 114        }
 15    }
 16}