< Summary - Heimdall API

Information
Class: ArturRios.Heimdall.Command.Output.DeleteScopeCommandOutput
Assembly: ArturRios.Heimdall.Command
File(s): /home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Command/Output/DeleteScopeCommandOutput.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_Id()100%11100%
get_UserCount()100%11100%
get_GoogleUserCount()100%11100%
get_ApplicationCount()100%11100%

File(s)

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

#LineLine coverage
 1using ArturRios.Mediator.Command;
 2
 3namespace ArturRios.Heimdall.Command.Output;
 4
 5/// <summary>
 6///     Result of <see cref="Input.DeleteScopeCommand" /> (UC-04). Reports the deleted scope's
 7///     <c>PublicId</c> and the totals of its Users, Google Users, and applications — counted
 8///     regardless of their individual deletion state. Internal Ids never leave the data layer.
 9/// </summary>
 10public class DeleteScopeCommandOutput : CommandOutput
 11{
 12    /// <summary>Public identifier of the deleted scope.</summary>
 1913    public Guid Id { get; set; }
 14
 15    /// <summary>
 16    ///     Total number of Users (via SCOPE_USER) belonging to the scope. A total, not a count of
 17    ///     what this call deleted: on the AF-04b idempotent path nothing is written and this is
 18    ///     still reported.
 19    /// </summary>
 1720    public int UserCount { get; set; }
 21
 22    /// <summary>Total number of Google Users belonging to the scope.</summary>
 1623    public int GoogleUserCount { get; set; }
 24
 25    /// <summary>Total number of applications belonging to the scope.</summary>
 1826    public int ApplicationCount { get; set; }
 27}