amreuland/ashe

View on GitHub

Showing 3 of 5 total issues

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

  constructor (options) {
    super()

    if (R.type(options) === 'String') {
      let o = {
Severity: Major
Found in lib/index.js - About 2 hrs to fix

    Function _doRequest has 37 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      _doRequest (url) {
        return new Promise((resolve, reject) => {
          request({ uri: url, gzip: true }, (err, res, body) => {
            if (err) {
              this._stats.requestErrors++
    Severity: Minor
    Found in lib/worker.js - About 1 hr to fix

      Function _makeMultiRequest has 35 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        _makeMultiRequest (params) {
          let data = params.data
          let suffix = params.suffix || ''
          let cacheParams = params.cache
          let results = {}
      Severity: Minor
      Found in lib/index.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language