< Summary - Heimdall API

Information
Class: ArturRios.Heimdall.Query.Output.ApplicationOutput
Assembly: ArturRios.Heimdall.Query
File(s): /home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Query/Output/ApplicationOutput.cs
Line coverage
100%
Covered lines: 7
Uncovered lines: 0
Coverable lines: 7
Total lines: 32
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage
100%
Covered methods: 7
Fully covered methods: 7
Total methods: 7
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_IsDeleted()100%11100%
get_CreatedAt()100%11100%
get_UpdatedAt()100%11100%

File(s)

/home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Query/Output/ApplicationOutput.cs

#LineLine coverage
 1using ArturRios.Mediator.Query;
 2
 3namespace ArturRios.Heimdall.Query.Output;
 4
 5/// <summary>
 6///     Application data returned by the UC-17 view/list queries. Only externally-facing
 7///     <c>PublicId</c> identifiers are exposed — the internal <c>bigint</c> scope and owner foreign
 8///     keys never leave the data layer (SRD §4.0).
 9/// </summary>
 10public class ApplicationOutput : QueryOutput
 11{
 12    /// <summary>Public identifier of the application.</summary>
 10813    public Guid Id { get; set; }
 14
 15    /// <summary>Application display name.</summary>
 14816    public string Name { get; set; } = string.Empty;
 17
 18    /// <summary>Public identifier of the scope the application belongs to.</summary>
 7619    public Guid ScopeId { get; set; }
 20
 21    /// <summary>Public identifier of the <c>ScopeAdmin</c> who owns the application.</summary>
 8222    public Guid OwnerId { get; set; }
 23
 24    /// <summary>Whether the application is logically deleted.</summary>
 7825    public bool IsDeleted { get; set; }
 26
 27    /// <summary>Creation timestamp.</summary>
 7428    public DateTime CreatedAt { get; set; }
 29
 30    /// <summary>Last update timestamp.</summary>
 7431    public DateTime UpdatedAt { get; set; }
 32}