RHeactorJS/server

View on GitHub
src/api/route/profile.js

Summary

Maintainability
B
5 hrs
Test Coverage

Function default has 119 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function (app, config, emitter, userRepository, tokenAuth, sendHttpProblem) {
  /**
   * A user may request a to use a new email address, by supplying it to this endpoint
   * which will generate a token that is sent to the new address.
   */
Severity: Major
Found in src/api/route/profile.js - About 4 hrs to fix

    Function default has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    export default function (app, config, emitter, userRepository, tokenAuth, sendHttpProblem) {
    Severity: Minor
    Found in src/api/route/profile.js - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status