CleverStack/clever-auth-google

View on GitHub
controllers/GoogleController.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function exports has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function(Controller, AuthController, UserService, Exceptions, injector, config, passport) {
  var GoogleController = Controller.extend({
    route          : '[GET,POST] /auth/google/:action/?',
    restfulRouting : false,

Severity: Minor
Found in controllers/GoogleController.js - About 1 hr to fix

    Function exports has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    module.exports = function(Controller, AuthController, UserService, Exceptions, injector, config, passport) {
    Severity: Major
    Found in controllers/GoogleController.js - About 50 mins to fix

      There are no issues that match your filters.

      Category
      Status