server/server.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function createFrontendApp has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function createFrontendApp() {
  const app = new Koa();

  app.on('error', err => {
    if (err.status !== 404 && !error.errno === 'EPIPE') {
Severity: Minor
Found in server/server.js - About 1 hr to fix

    Function createHTTPServers has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function createHTTPServers() {
      let httpServer;
      let httpsServer;
      const httpPort = conf.get('frontend:http_port');
      const httpsPort = conf.get('frontend:https_port');
    Severity: Minor
    Found in server/server.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status