< Summary - Heimdall API

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

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_ScopeId()100%11100%
get_Id()100%11100%

File(s)

/home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Command/Input/HardDeleteApplicationCommand.cs

#LineLine coverage
 1using ArturRios.Mediator.Command;
 2
 3namespace ArturRios.Heimdall.Command.Input;
 4
 5/// <summary>
 6///     Intent to permanently (hard) delete an application (UC-20, FR-AP-08). The application is
 7///     addressed by <see cref="Id" /> within <see cref="ScopeId" />, both bound from the route.
 8///     Removing it cascades to its credentials (UC-53), the only rows with a foreign key to an
 9///     application; the scope and owner it points at are left intact. The command carries no acting
 10///     person: UC-20's
 11///     only actor is the System Admin and the endpoint's role requirement settles that entirely, so
 12///     the handler has no data-dependent rule left to apply.
 13/// </summary>
 14public class HardDeleteApplicationCommand : BaseCommand
 15{
 16    /// <summary>Public identifier of the scope the application belongs to (bound from the route).</summary>
 3017    public Guid ScopeId { get; set; }
 18
 19    /// <summary>Public identifier of the application to hard-delete (bound from the route).</summary>
 3120    public Guid Id { get; set; }
 21}

Methods/Properties

get_ScopeId()
get_Id()