yify-pop/yify-pop

View on GitHub
app/controllers/users.js

Summary

Maintainability
B
5 hrs
Test Coverage

Function Users has 116 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var Users = function () {
  this.before(requireAuth, {
    except: ['add', 'create', 'activate']
  });

Severity: Major
Found in app/controllers/users.js - About 4 hrs to fix

    Function create has 32 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      this.create = function (req, resp, params) {
        var self = this
          , user = geddy.model.User.create(params)
          , sha;
    
    
    Severity: Minor
    Found in app/controllers/users.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status