mix/node-rollout

View on GitHub

Showing 1 of 1 total issue

Function get has 58 lines of code (exceeds 25 allowed). Consider refactoring.
Open

Rollout.prototype.get = function (key, id, opt_values, multi) {
  opt_values = opt_values || { id: id }
  opt_values.id = opt_values.id || id
  var modifiers = this._handlers[key]
  var keys = Object.keys(modifiers).map(this.generate_key.bind(this, key))
Severity: Major
Found in index.js - About 2 hrs to fix
    Severity
    Category
    Status
    Source
    Language