< Summary

Information
Class: ArturRios.Util.WebApi.Security.Records.AuthenticatedUser
Assembly: ArturRios.Util.WebApi
File(s): D:\Repositories\dotnet-webapi-util\src\Security\Records\AuthenticatedUser.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 6
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_Id()100%11100%

File(s)

D:\Repositories\dotnet-webapi-util\src\Security\Records\AuthenticatedUser.cs

#LineLine coverage
 1namespace ArturRios.Util.WebApi.Security.Records;
 2
 3/// <summary>Represents the user identity attached to the current request after successful JWT authentication.</summary>
 4/// <param name="Id">The user's id.</param>
 5/// <param name="Role">The user's role.</param>
 546public record AuthenticatedUser(int Id, int Role);

Methods/Properties

get_Id()