silentrob/superscript

View on GitHub
src/bot/index.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function _reply has 52 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  _reply(messageString, options, callback) {
    const system = {
      // Pass in the topic if it has been set
      topicName: options.topicName || null,
      plugins: this.plugins,
Severity: Major
Found in src/bot/index.js - About 2 hrs to fix

    Avoid too many return statements within this function.
    Open

        return callback(null, bot);
    Severity: Major
    Found in src/bot/index.js - About 30 mins to fix

      There are no issues that match your filters.

      Category
      Status