id: 1 unit: function sendForgotPasswordEmail() file: src/controllers/user.ts start line: 359 end line: 380 size: 22 LOC McCabe index: 2 number of parameters: 3 id: 2 unit: function resetPassword() file: src/controllers/user.ts start line: 264 end line: 284 size: 21 LOC McCabe index: 4 number of parameters: 2 id: 3 unit: function sendResetPasswordEmail() file: src/controllers/user.ts start line: 285 end line: 303 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 4 unit: function setRandomToken() file: src/controllers/user.ts start line: 345 end line: 358 size: 14 LOC McCabe index: 3 number of parameters: 4 id: 5 unit: userSchema.methods.gravatar = function() file: src/models/User.ts start line: 83 end line: 89 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 6 unit: function createRandomToken() file: src/controllers/user.ts start line: 339 end line: 344 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 7 unit: const comparePassword: comparePasswordFunction = function() file: src/models/User.ts start line: 72 end line: 76 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 8 unit: $() file: src/public/js/main.ts start line: 1 end line: 4 size: 2 LOC McCabe index: 1 number of parameters: 1