< Summary - Heimdall API

Information
Class: ArturRios.Heimdall.Command.Output.ReapplyErasuresCommandOutput
Assembly: ArturRios.Heimdall.Command
File(s): /home/ci/agent/workspace/heimdall-api-docs_main/app/src/Application/ArturRios.Heimdall.Command/Output/ReapplyErasuresCommandOutput.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 27
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage
100%
Covered methods: 4
Fully covered methods: 4
Total methods: 4
Method coverage: 100%
Full method coverage: 100%

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Anonymised()100%11100%
get_AlreadyAnonymised()100%11100%
get_NotFound()100%11100%
get_ScopeOwnerInvitationsVoided()100%11100%

File(s)

/home/ci/agent/workspace/heimdall-api-docs_main/app/src/Application/ArturRios.Heimdall.Command/Output/ReapplyErasuresCommandOutput.cs

#LineLine coverage
 1using ArturRios.Mediator.Command;
 2
 3namespace ArturRios.Heimdall.Command.Output;
 4
 5/// <summary>Result of <see cref="Input.ReapplyErasuresCommand" /> (NFR-25).</summary>
 6public class ReapplyErasuresCommandOutput : CommandOutput
 7{
 8    /// <summary>Identities anonymised by this run.</summary>
 179    public int Anonymised { get; set; }
 10
 11    /// <summary>
 12    ///     Identities that were already anonymised, so the restore did not in fact bring them back.
 13    /// </summary>
 1514    public int AlreadyAnonymised { get; set; }
 15
 16    /// <summary>
 17    ///     Identifiers that matched nothing. Reported rather than treated as an error: a ledger
 18    ///     naming somebody the restore did not reinstate is the expected case, not a mistake.
 19    /// </summary>
 2620    public IEnumerable<Guid> NotFound { get; set; } = [];
 21
 22    /// <summary>
 23    ///     Unended scope owner invitations of the persons this run anonymised again, voided (FR-SC-17).
 24    ///     Each is recorded in the audit trail as <c>ScopeOwnerInvitationVoided</c>, on that invitation.
 25    /// </summary>
 1526    public int ScopeOwnerInvitationsVoided { get; set; }
 27}