< Summary - Heimdall API

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

File(s)

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

#LineLine coverage
 1using ArturRios.Mediator.Command;
 2
 3namespace ArturRios.Heimdall.Command.Output;
 4
 5/// <summary>
 6///     Result of <see cref="Input.HardDeletePersonCommand" /> (UC-10). Reports the removed person's
 7///     <c>PublicId</c> and the totals of the applications and tokens removed with them — counted
 8///     regardless of their individual deletion state. Internal Ids never leave the data layer.
 9/// </summary>
 10public class HardDeletePersonCommandOutput : CommandOutput
 11{
 12    /// <summary>Public identifier of the hard-deleted person.</summary>
 2513    public Guid Id { get; set; }
 14
 15    /// <summary>Total number of applications the person owned.</summary>
 2416    public int DeletedApplicationCount { get; set; }
 17
 18    /// <summary>Total number of password reset and email verification tokens issued for the person.</summary>
 2319    public int DeletedTokenCount { get; set; }
 20}