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 | utils.GetSecretKey | 0 | 2 | 1 |
A | json.*GoJson.Unmarshal | 0 | 2 | 1 |
A | jwt.GenerateToken | 0 | 8 | 2 |
A | user.UseCase.GetName | 0 | 3 | 1 |
A | internal.GetServiceContainer | 0 | 4 | 2 |
A | domain.*User.Validate | 0 | 3 | 1 |
A | jwt.VerifyToken | 0 | 6 | 2 |
A | controllers.NewAuthController | 0 | 2 | 1 |