Showing 33 of 33 total issues
Function equalArrays
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function equalArrays(array, other, equalFunc, customizer, isWhere, stackA, stackB) {
var index = -1,
arrLength = array.length,
othLength = other.length,
result = true;
Function baseIsMatch
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function baseIsMatch(object, props, values, strictCompareFlags, customizer) {
var length = props.length;
if (object == null) {
return !length;
}
Function 14
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"./baseIsEqual":11}],14:[function(require,module,exports){
var baseIsMatch = require('./baseIsMatch'),
isStrictComparable = require('./isStrictComparable'),
keys = require('../object/keys');
Function 19
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],19:[function(require,module,exports){
var identity = require('../utility/identity');
/**
* A specialized version of `baseCallback` which only supports `this` binding
Consider simplifying this complex logical expression. Open
Open
if (objCtor != othCtor && ('constructor' in object && 'constructor' in other) &&
!(typeof objCtor == 'function' && objCtor instanceof objCtor && typeof othCtor == 'function' && othCtor instanceof othCtor)) {
return false;
}
Consider simplifying this complex logical expression. Open
Open
if ((valType != 'function' && valType != 'object' && othType != 'function' && othType != 'object') ||
value == null || other == null) {
// Return `false` unless both values are `NaN`.
return value !== value && other !== other;
}
Function baseIsEqualDeep
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function baseIsEqualDeep(object, other, equalFunc, customizer, isWhere, stackA, stackB) {
Function equalArrays
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function equalArrays(array, other, equalFunc, customizer, isWhere, stackA, stackB) {
Function equalObjects
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function equalObjects(object, other, equalFunc, customizer, isWhere, stackA, stackB) {
Avoid deeply nested control flow statements. Open
Open
if (result) {
break;
}
Function baseIsEqual
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function baseIsEqual(value, other, customizer, isWhere, stackA, stackB) {
Function baseIsMatch
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function baseIsMatch(object, props, values, strictCompareFlags, customizer) {
Avoid too many return
statements within this function. Open
Open
return result;