Showing 125 of 296 total issues
Function validateWithError
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
validateWithError: function (test) {
test.expect(6);
var instance = {
attributes: {
Function exports
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
module.exports = function (utils, errors, Model_set, Model_setSync, Model_unset, Model_clear, Model_save, Model_destroy, Model_load) {
Function options
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
options: function (test) {
test.expect(8);
function Model(attrs) {
this.attributes = attrs;
Function raw
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
raw: function (test) {
test.expect(5);
function Model(attrs) {
this.attributes = attrs;
Function normalKeyArray
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
normalKeyArray: function (test) {
test.expect(5);
function Model(attrs) {
this.attributes = attrs;
Function limit
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
limit: function (test) {
test.expect(5);
function Model(attrs) {
this.attributes = attrs;
Function pluck
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
pluck: function (test) {
test.expect(5);
function Model(attrs) {
this.attributes = attrs;
Function orderBy
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
orderBy: function (test) {
test.expect(5);
function Model(attrs) {
this.attributes = attrs;
Function skip
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
skip: function (test) {
test.expect(5);
function Model(attrs) {
this.attributes = attrs;
Function pluckMultiple
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
pluckMultiple: function (test) {
test.expect(5);
function Model(attrs) {
this.attributes = attrs;
Function raw
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
raw: function (test) {
test.expect(5);
function Model(attrs) {
this.attributes = attrs;
Function orderByArray
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
orderByArray: function (test) {
test.expect(5);
function Model(attrs) {
this.attributes = attrs;
Function options
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
options: function (test) {
test.expect(6);
var instance = {
attributes: {
Function options
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
options: function (test) {
test.expect(8);
function Model(attrs) {
this.attributes = attrs;
Function options
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
options: function (test) {
test.expect(6);
var instance = {
attributes: {
Function whereError
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
whereError: function (test) {
test.expect(10);
function Model(attrs) {
this.attributes = attrs;
Function predicate
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
predicate: function (test) {
test.expect(10);
function Model(attrs) {
this.attributes = attrs;
Function skipError
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
skipError: function (test) {
test.expect(8);
function Model(attrs) {
this.attributes = attrs;
Function nestedObject
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
nestedObject: function (test) {
test.expect(3);
var instance = {
attributes: {
Function pluckError
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
pluckError: function (test) {
test.expect(10);
function Model(attrs) {
this.attributes = attrs;