raveljs/ravel

View on GitHub
lib/core/websocket.js

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Function init has 33 lines of code (exceeds 30 allowed). Consider refactoring.
Open

  init () {
    // set up websocket on server, with session cookie generation
    this.wss = new WebSocket.Server({
      noServer: true,
      maxPayload: this.ravelApp.get('max websocket payload bytes')
Severity: Minor
Found in lib/core/websocket.js - About 1 hr to fix

    TODO found
    Open

          this.redis && this.redis.quit(); // TODO callback?
    Severity: Minor
    Found in lib/core/websocket.js by fixme

    There are no issues that match your filters.

    Category
    Status