< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.CommunicationException
Assembly: CoreWCF.Primitives
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Primitives/src/CoreWCF/CommunicationException.cs
Line coverage
75%
Covered lines: 3
Uncovered lines: 1
Coverable lines: 4
Total lines: 17
Line coverage: 75%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
.ctor()100%11100%
.ctor(...)100%11100%
.ctor(...)100%11100%
.ctor(...)100%110%

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Primitives/src/CoreWCF/CommunicationException.cs

#LineLine coverage
 1// Licensed to the .NET Foundation under one or more agreements.
 2// The .NET Foundation licenses this file to you under the MIT license.
 3
 4using System;
 5using System.Runtime.Serialization;
 6
 7namespace CoreWCF
 8{
 9    [Serializable]
 10    public class CommunicationException : Exception //SystemException
 11    {
 212        public CommunicationException() { }
 22013        public CommunicationException(string message) : base(message) { }
 7214        public CommunicationException(string message, Exception innerException) : base(message, innerException) { }
 015        protected CommunicationException(SerializationInfo info, StreamingContext context) : base(info, context) { }
 16    }
 17}