strongloop/express

View on GitHub
examples/mvc/lib/boot.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function exports has 57 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function(parent, options){
  var dir = path.join(__dirname, '..', 'controllers');
  var verbose = options.verbose;
  fs.readdirSync(dir).forEach(function(name){
    var file = path.join(dir, name)
Severity: Major
Found in examples/mvc/lib/boot.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status