< Summary - Heimdall API

Information
Class: ArturRios.Heimdall.Command.Input.DeleteApplicationCommand
Assembly: ArturRios.Heimdall.Command
File(s): /home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Command/Input/DeleteApplicationCommand.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 25
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_ScopeId()100%11100%
get_Id()100%11100%
get_ActingPersonId()100%11100%
get_ActingRole()100%11100%

File(s)

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

#LineLine coverage
 1using ArturRios.Heimdall.Shared.Security;
 2using ArturRios.Mediator.Command;
 3
 4namespace ArturRios.Heimdall.Command.Input;
 5
 6/// <summary>
 7///     Intent to logically delete an application (UC-19, FR-AP-07). The application is addressed by
 8///     <see cref="Id" /> within <see cref="ScopeId" />, both bound from the route. The deletion sets
 9///     the application's <c>IsDeleted</c> flag and cascades to nothing: its credentials (UC-53) stay
 10///     as they are, and are inert, because UC-56 and UC-57 refuse a deleted application.
 11///     <see cref="ActingPersonId" />/<see cref="ActingRole" /> are set by the
 12///     controller from the authenticated caller and are never bound from the request.
 13/// </summary>
 14public class DeleteApplicationCommand : BaseCommand, IActorScoped
 15{
 16    /// <summary>Public identifier of the scope the application belongs to (bound from the route).</summary>
 4317    public Guid ScopeId { get; set; }
 18
 19    /// <summary>Public identifier of the application to delete (bound from the route).</summary>
 4420    public Guid Id { get; set; }
 21
 3122    public Guid ActingPersonId { get; set; }
 23
 3924    public int ActingRole { get; set; }
 25}