wowserhq/wowser

View on GitHub
src/lib/net/socket.js

Summary

Maintainability
A
1 hr
Test Coverage

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

  connect(host, port = NaN) {
    if (!this.connected) {
      this.host = host;
      this.port = port;
      this.uri = 'ws://' + this.host + ':' + this.port;
Severity: Minor
Found in src/lib/net/socket.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status