< Summary

Information
Class: Renci.SshNet.Messages.Transport.NewKeysMessage
Assembly: Renci.SshNet
File(s): \home\appveyor\projects\ssh-net\src\Renci.SshNet\Messages\Transport\NewKeysMessage.cs
Line coverage
100%
Covered lines: 7
Uncovered lines: 0
Coverable lines: 7
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 Line coverage
LoadData()100%1100%
SaveData()100%1100%
Process(...)100%1100%

File(s)

\home\appveyor\projects\ssh-net\src\Renci.SshNet\Messages\Transport\NewKeysMessage.cs

#LineLine coverage
 1namespace Renci.SshNet.Messages.Transport
 2{
 3    /// <summary>
 4    /// Represents SSH_MSG_NEWKEYS message.
 5    /// </summary>
 6    [Message("SSH_MSG_NEWKEYS", 21)]
 7    public class NewKeysMessage : Message, IKeyExchangedAllowed
 8    {
 9        /// <summary>
 10        /// Called when type specific data need to be loaded.
 11        /// </summary>
 12        protected override void LoadData()
 181313        {
 181314        }
 15
 16        /// <summary>
 17        /// Called when type specific data need to be saved.
 18        /// </summary>
 19        protected override void SaveData()
 181320        {
 181321        }
 22
 23        internal override void Process(Session session)
 181324        {
 181325            session.OnNewKeysReceived(this);
 181326        }
 27    }
 28}