vampireneo/Book

View on GitHub
main.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function createServer has 121 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var createServer = function(portNo) {
  var app = express();
  app.locals.pretty = true;
  app.set('views', __dirname + '/views');
  app.set('view engine', 'pug');
Severity: Major
Found in main.js - About 4 hrs to fix

    There are no issues that match your filters.

    Category
    Status