rangoo94/easen-models

View on GitHub
src/create-model.js

Summary

Maintainability
A
1 hr
Test Coverage

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

function createModel (definition) {
  // Copy object to be sure that nothing will reassign definition meanwhile
  definition = Object.assign({}, definition)

  // Memoize object keys for performance reasons
Severity: Minor
Found in src/create-model.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status