< Summary

Information
Class: Ice.Internal.Time
Assembly: Ice
File(s): /home/runner/work/ice/ice/csharp/src/Ice/Internal/Time.cs
Tag: 71_18251537082
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 14
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage
100%
Covered methods: 2
Total methods: 2
Method coverage: 100%

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.cctor()100%11100%
currentMonotonicTimeMillis()100%11100%

File(s)

/home/runner/work/ice/ice/csharp/src/Ice/Internal/Time.cs

#LineLine coverage
 1// Copyright (c) ZeroC, Inc.
 2
 3using System.Diagnostics;
 4
 5namespace Ice.Internal;
 6
 7public static class Time
 8{
 19    static Time() => _stopwatch.Start();
 10
 111    public static long currentMonotonicTimeMillis() => _stopwatch.ElapsedMilliseconds;
 12
 113    private static readonly Stopwatch _stopwatch = new();
 14}