< Summary

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

File(s)

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

#LineLine coverage
 1using Renci.SshNet.Common;
 2
 3namespace Renci.SshNet.Sftp.Responses
 4{
 5    internal sealed class StatVfsReplyInfo : ExtendedReplyInfo
 6    {
 307        public SftpFileSytemInformation Information { get; private set; }
 8
 9        public override void LoadData(SshDataStream stream)
 1210        {
 1211            Information = new SftpFileSytemInformation(stream.ReadUInt64(), // FileSystemBlockSize
 1212                                                       stream.ReadUInt64(), // BlockSize
 1213                                                       stream.ReadUInt64(), // TotalBlocks
 1214                                                       stream.ReadUInt64(), // FreeBlocks
 1215                                                       stream.ReadUInt64(), // AvailableBlocks
 1216                                                       stream.ReadUInt64(), // TotalNodes
 1217                                                       stream.ReadUInt64(), // FreeNodes
 1218                                                       stream.ReadUInt64(), // AvailableNodes
 1219                                                       stream.ReadUInt64(), // Sid
 1220                                                       stream.ReadUInt64(), // Flags
 1221                                                       stream.ReadUInt64()); // MaxNameLenght
 1222        }
 23    }
 24}