< Summary - Heimdall API

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

File(s)

/home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Query/Input/GetScopeByIdQuery.cs

#LineLine coverage
 1using ArturRios.Heimdall.Shared.Security;
 2using ArturRios.Mediator.Query;
 3
 4namespace ArturRios.Heimdall.Query.Input;
 5
 6/// <summary>
 7///     Request to retrieve a single scope by its <c>PublicId</c> (UC-02, FR-SC-02). The pagination
 8///     members inherited from <see cref="BaseQuery" /> are unused for a by-id lookup.
 9///     <see cref="ActingPersonId" />/<see cref="ActingRole" /> are set by the controller from the
 10///     authenticated caller and are never taken from the request.
 11/// </summary>
 12public class GetScopeByIdQuery : BaseQuery, IActorScoped
 13{
 14    /// <summary>Public identifier of the scope to retrieve.</summary>
 3415    public Guid Id { get; set; }
 16
 17    /// <summary>When <c>true</c>, a logically deleted scope is still returned (FR-SC-07).</summary>
 2518    public bool IncludeDeleted { get; set; }
 19
 3220    public Guid ActingPersonId { get; set; }
 21
 3222    public int ActingRole { get; set; }
 23}