< Summary

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

File(s)

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

#LineLine coverage
 1namespace Renci.SshNet.Sftp.Responses
 2{
 3    internal sealed class SftpAttrsResponse : SftpResponse
 4    {
 5        public override SftpMessageTypes SftpMessageType
 6        {
 187            get { return SftpMessageTypes.Attrs; }
 8        }
 9
 83910        public SftpFileAttributes Attributes { get; private set; }
 11
 12        public SftpAttrsResponse(uint protocolVersion)
 42413            : base(protocolVersion)
 42414        {
 42415        }
 16
 17        protected override void LoadData()
 41218        {
 41219            base.LoadData();
 20
 41221            Attributes = ReadAttributes();
 41222        }
 23    }
 24}