< Summary - Heimdall API

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

File(s)

/home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Command/Output/PseudonymiseAuditActorsCommandOutput.cs

#LineLine coverage
 1using ArturRios.Mediator.Command;
 2
 3namespace ArturRios.Heimdall.Command.Output;
 4
 5/// <summary>
 6///     Result of <see cref="Input.PseudonymiseAuditActorsCommand" />: how many actor attributions and
 7///     how many person targets the run cleared, and how many tombstones it removed. Zero for all three
 8///     is an ordinary successful run.
 9/// </summary>
 10/// <remarks>
 11///     The counts are separate because they are separate changes: one entry may need its actor
 12///     cleared, its target cleared, or both, and an entry needing both is counted once in each. A
 13///     tombstone is not an audit entry at all, so it has a count of its own.
 14/// </remarks>
 15public class PseudonymiseAuditActorsCommandOutput : CommandOutput
 16{
 17    /// <summary>Audit entries whose actor attribution was cleared.</summary>
 7118    public int EntriesPseudonymised { get; set; }
 19
 20    /// <summary>Audit entries whose target, a person or Google User, was cleared.</summary>
 7221    public int TargetsCleared { get; set; }
 22
 23    /// <summary>
 24    ///     Tombstones of hard-deleted persons and Google Users removed because no audit entry names
 25    ///     them any more (see <c>ErasedSubject</c>).
 26    /// </summary>
 6027    public int TombstonesRemoved { get; set; }
 28}