< Summary

Information
Class: LOCKnet.Core.Security.UnlockResult
Assembly: LOCKnet.Core
File(s): /home/runner/work/LOCKnet/LOCKnet/src/LOCKnet.Core/Security/UnlockResult.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 15
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 Crap Score Cyclomatic complexity Line coverage
get_VaultKey()100%11100%
get_StorageCompaction()100%11100%

File(s)

/home/runner/work/LOCKnet/LOCKnet/src/LOCKnet.Core/Security/UnlockResult.cs

#LineLine coverage
 1using LOCKnet.Core.DataAbstractions;
 2
 3namespace LOCKnet.Core.Security;
 4
 5/// <summary>
 6/// Ergebnis eines erfolgreichen Unlock-Vorgangs inklusive eventueller Storage-Hygiene-Warnungen.
 7/// </summary>
 8public sealed class UnlockResult
 9{
 10  /// <summary>Der aktive 32-Byte-VaultKey fuer die Session.</summary>
 7811  public required byte[] VaultKey { get; init; }
 12
 13  /// <summary>Status der Storage-Kompaktierung nach dem Unlock.</summary>
 4814  public required StorageCompactionInfo StorageCompaction { get; init; }
 15}