< Summary - Heimdall API

Information
Class: ArturRios.Heimdall.Command.Output.ReapplyErasuresCommandOutput
Assembly: ArturRios.Heimdall.Command
File(s): /home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Command/Output/ReapplyErasuresCommandOutput.cs
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
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: 3
Fully covered methods: 3
Total methods: 3
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%

File(s)

/home/runner/work/heimdall-api/heimdall-api/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>
 149    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>
 1214    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>
 2020    public IEnumerable<Guid> NotFound { get; set; } = [];
 21}