CleverStack/node-seed

View on GitHub
lib/utils/model/instance/save.js

Summary

Maintainability
A
1 hr
Test Coverage

Function saveModelInstance has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function saveModelInstance(values, queryOptions) {
  var utilName   = this.Class.type.toLowerCase() + 'Utils'
    , helpers    = utils.model.helpers
    , driverUtil = utils[utilName]
    , omitFields;
Severity: Minor
Found in lib/utils/model/instance/save.js - About 1 hr to fix

There are no issues that match your filters.

Category
Status