< Summary

Information
Class: Anichron.Core.TimeOrderedGuidFactory
Assembly: Anichron.Core
File(s): /home/runner/work/anichron/anichron/src/Anichron.Core/GuidFactory.cs
Tag: 228_36821334185
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 11
Line coverage: 0%
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 Crap Score Cyclomatic complexity Line coverage
NewGuid()100%210%

File(s)

/home/runner/work/anichron/anichron/src/Anichron.Core/GuidFactory.cs

#LineLine coverage
 1namespace Anichron.Core;
 2
 3public interface IGuidFactory
 4{
 5    Guid NewGuid();
 6}
 7
 8public sealed class TimeOrderedGuidFactory : IGuidFactory
 9{
 010    public Guid NewGuid() => Guid.CreateVersion7();
 11}

Methods/Properties

NewGuid()