< Summary - Heimdall API

Information
Class: ArturRios.Heimdall.Command.Services.PasswordRecoveryRequest
Assembly: ArturRios.Heimdall.Command
File(s): /home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Command/Services/IPasswordRecoveryQueue.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 21
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage
100%
Covered methods: 1
Fully covered methods: 1
Total methods: 1
Method coverage: 100%
Full method coverage: 100%

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Email()100%11100%

File(s)

/home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Command/Services/IPasswordRecoveryQueue.cs

#LineLine coverage
 1namespace ArturRios.Heimdall.Command.Services;
 2
 3/// <summary>
 4///     What UC-12 hands to the background: the address and scope a caller asked about, exactly as
 5///     they asked. Nothing about the answer — whether anybody holds the address — is known yet.
 6/// </summary>
 11757public sealed record PasswordRecoveryRequest(string Email, Guid? ScopeId);
 8
 9/// <summary>
 10///     Takes UC-12's work off the request path (AF-12a). <see cref="PasswordRecoveryProcessor" />
 11///     does it later, outside any request, so the response cannot be timed to learn whether the
 12///     address is registered.
 13/// </summary>
 14public interface IPasswordRecoveryQueue
 15{
 16    /// <summary>
 17    ///     Queues the request without waiting. Returns <c>false</c> when the queue is full and the
 18    ///     request was dropped; the caller's answer must not change either way.
 19    /// </summary>
 20    bool TryEnqueue(PasswordRecoveryRequest request);
 21}

Methods/Properties

get_Email()