< Summary

Information
Class: Renci.SshNet.Security.Org.BouncyCastle.Utilities.Times
Assembly: Renci.SshNet
File(s): \home\appveyor\projects\ssh-net\src\Renci.SshNet\Security\BouncyCastle\util\Times.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 14
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
.cctor()100%1100%
NanoTime()100%1100%

File(s)

\home\appveyor\projects\ssh-net\src\Renci.SshNet\Security\BouncyCastle\util\Times.cs

#LineLine coverage
 1using System;
 2
 3namespace Renci.SshNet.Security.Org.BouncyCastle.Utilities
 4{
 5    internal sealed class Times
 6    {
 17        private static long NanosecondsPerTick = 100L;
 8
 9        public static long NanoTime()
 110        {
 111            return DateTime.UtcNow.Ticks * NanosecondsPerTick;
 112        }
 13    }
 14}

Methods/Properties

.cctor()
NanoTime()