Rating | Name | Duplication | Size | Complexity |
---|---|---|---|---|
B | logger.CreateLogger | 0 | 19 | 8 |
B | auth.*UseCase.Login | 0 | 13 | 6 |
A | auth.*UseCase.Register | 0 | 14 | 5 |
A | infrastructures.ConnectDB | 0 | 22 | 3 |
A | http.New | 0 | 16 | 2 |
A | http.registerRoutes | 0 | 11 | 1 |
A | jwt.GetConnectedUserID | 0 | 9 | 3 |
A | jwt.VerifyToken | 0 | 6 | 2 |
A | controllers.NewAuthController | 0 | 2 | 1 |
A | infrastructures.getDSN | 0 | 7 | 2 |
A | domain.*User.Validate | 0 | 3 | 1 |
A | auth.*UseCase.RefreshToken | 0 | 5 | 2 |
A | kliento.NewRedisRepository | 0 | 2 | 1 |
A | infrastructures.GetRedisClient | 0 | 2 | 1 |
A | env.*OsEnv.GetEnv | 0 | 2 | 1 |