< Summary - Heimdall API

Information
Class: ArturRios.Heimdall.Command.Output.CreateApplicationCommandOutput
Assembly: ArturRios.Heimdall.Command
File(s): /home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Command/Output/CreateApplicationCommandOutput.cs
Line coverage
100%
Covered lines: 5
Uncovered lines: 0
Coverable lines: 5
Total lines: 26
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage
100%
Covered methods: 5
Fully covered methods: 5
Total methods: 5
Method coverage: 100%
Full method coverage: 100%

Metrics

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

File(s)

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

#LineLine coverage
 1using ArturRios.Mediator.Command;
 2
 3namespace ArturRios.Heimdall.Command.Output;
 4
 5/// <summary>
 6///     The application created by <see cref="Input.CreateApplicationCommand" /> (UC-16). Only
 7///     externally-facing <c>PublicId</c> identifiers are exposed; the internal Ids that link the row
 8///     to its scope and owner never leave the data layer.
 9/// </summary>
 10public class CreateApplicationCommandOutput : CommandOutput
 11{
 12    /// <summary>Public identifier of the created application.</summary>
 3313    public Guid Id { get; set; }
 14
 15    /// <summary>Application display name.</summary>
 4016    public string Name { get; set; } = string.Empty;
 17
 18    /// <summary>Public identifier of the scope the application belongs to.</summary>
 2419    public Guid ScopeId { get; set; }
 20
 21    /// <summary>Public identifier of the person that owns the application.</summary>
 2622    public Guid OwnerId { get; set; }
 23
 24    /// <summary>Creation timestamp.</summary>
 2225    public DateTime CreatedAt { get; set; }
 26}