RHeactorJS/web-app

View on GitHub
js/util/event-source-connection.js

Summary

Maintainability
A
1 hr
Test Coverage

Function connect has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  connect (token) {
    if (this.source) {
      logger.appWarning('EventSourceConnection', 'already connected!')
      return this.source
    }
Severity: Minor
Found in js/util/event-source-connection.js - About 1 hr to fix

    TODO found
    Open

          // TODO: log
    Severity: Minor
    Found in js/util/event-source-connection.js by fixme

    There are no issues that match your filters.

    Category
    Status