< Summary

Information
Line coverage
100%
Covered lines: 7
Uncovered lines: 0
Coverable lines: 7
Total lines: 10
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_Id()100%1100%
get_Token()100%1100%
get_UserId()100%1100%
get_Expires()100%1100%
get_IsRevoked()100%1100%
get_Created()100%1100%
get_CreatedByIp()100%1100%

File(s)

D:\a\smart-meal-planner\smart-meal-planner\backend\Backend\Model\RefreshToken.cs

#LineLine coverage
 1public class RefreshToken
 2{
 23    public int Id { get; set; }               // Primary key
 174    public string? Token { get; set; }         // Random opaque string
 335    public int UserId { get; set; }        // FK to your User table
 236    public DateTime Expires { get; set; }     // Expiration date/time
 277    public bool IsRevoked { get; set; }       // Mark if the token is revoked
 58    public DateTime Created { get; set; }     // Creation timestamp
 49    public string? CreatedByIp { get; set; }  // IP address that created the token
 10}