< Summary

Information
Class: Renci.SshNet.Sftp.Responses.SftpExtendedReplyResponse
Assembly: Renci.SshNet
File(s): \home\appveyor\projects\ssh-net\src\Renci.SshNet\Sftp\Responses\SftpExtendedReplyResponse.cs
Line coverage
100%
Covered lines: 9
Uncovered lines: 0
Coverable lines: 9
Total lines: 23
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 Line coverage
get_SftpMessageType()100%1100%
.ctor(...)100%1100%
GetReply()100%1100%

File(s)

\home\appveyor\projects\ssh-net\src\Renci.SshNet\Sftp\Responses\SftpExtendedReplyResponse.cs

#LineLine coverage
 1namespace Renci.SshNet.Sftp.Responses
 2{
 3    internal sealed class SftpExtendedReplyResponse : SftpResponse
 4    {
 5        public override SftpMessageTypes SftpMessageType
 6        {
 187            get { return SftpMessageTypes.ExtendedReply; }
 8        }
 9
 10        public SftpExtendedReplyResponse(uint protocolVersion)
 2411            : base(protocolVersion)
 2412        {
 2413        }
 14
 15        public T GetReply<T>()
 16            where T : ExtendedReplyInfo, new()
 1217        {
 1218            var result = new T();
 1219            result.LoadData(DataStream);
 1220            return result;
 1221        }
 22    }
 23}