< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.Channels.TcpConnectionPoolSettings
Assembly: CoreWCF.NetTcp
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.NetTcp/src/CoreWCF/Channels/TcpConnectionPoolSettings.cs
Line coverage
100%
Covered lines: 5
Uncovered lines: 0
Coverable lines: 5
Total lines: 28
Line coverage: 100%
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%
Clone()100%11100%

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.NetTcp/src/CoreWCF/Channels/TcpConnectionPoolSettings.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
 4namespace CoreWCF.Channels
 5{
 6    public sealed class TcpConnectionPoolSettings : ConnectionPoolSettings
 7    {
 8        //string _groupName;
 9        //TimeSpan _leaseTimeout;
 10
 12011        internal TcpConnectionPoolSettings()
 12        {
 13            //_groupName = ConnectionOrientedTransportDefaults.ConnectionPoolGroupName;
 14            //_leaseTimeout = TcpTransportDefaults.ConnectionLeaseTimeout;
 12015        }
 16
 184917        internal TcpConnectionPoolSettings(TcpConnectionPoolSettings tcp) : base(tcp)
 18        {
 19            //_groupName = tcp._groupName;
 20            //_leaseTimeout = tcp._leaseTimeout;
 184921        }
 22
 23        internal TcpConnectionPoolSettings Clone()
 24        {
 184925            return new TcpConnectionPoolSettings(this);
 26        }
 27    }
 28}