< Summary - Heimdall API

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

Metrics

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

File(s)

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

#LineLine coverage
 1using ArturRios.Mediator.Query;
 2
 3namespace ArturRios.Heimdall.Query.Output;
 4
 5/// <summary>
 6///     UC-54's answer: every credential the application holds, newest first. Not paginated — an
 7///     application holds at most two live credentials, and spent ones are purged after the
 8///     single-use-token grace, so the list stays a handful of rows.
 9/// </summary>
 10public class ApplicationCredentialListOutput : QueryOutput
 11{
 2712    public List<ApplicationCredentialOutput> Credentials { get; set; } = [];
 13}

Methods/Properties

get_Credentials()