etnbrd/flx-compiler

View on GitHub
test-set/express-endpoint-master/lib/middleware/params.js

Summary

Maintainability
B
4 hrs
Test Coverage

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

exports = module.exports = function(options) {
  var config = merge({
    rules: {},
    parameters: []
  }, options)
Severity: Major
Found in test-set/express-endpoint-master/lib/middleware/params.js - About 3 hrs to fix

    Function parseParams has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      function parseParams(req, parseCb) {
        var rule
          , ruleFn
          , normalParam;
    
    
    Severity: Minor
    Found in test-set/express-endpoint-master/lib/middleware/params.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status