simon-johansson/kommunkoder

View on GitHub

Showing 33 of 33 total issues

Function equalArrays has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function equalArrays(array, other, equalFunc, customizer, isWhere, stackA, stackB) {
  var index = -1,
      arrLength = array.length,
      othLength = other.length,
      result = true;
Severity: Minor
Found in kommunkoder.js - About 1 hr to fix

    Function baseIsMatch has 32 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function baseIsMatch(object, props, values, strictCompareFlags, customizer) {
      var length = props.length;
      if (object == null) {
        return !length;
      }
    Severity: Minor
    Found in kommunkoder.js - About 1 hr to fix

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

      },{"./baseIsEqual":11}],14:[function(require,module,exports){
      var baseIsMatch = require('./baseIsMatch'),
          isStrictComparable = require('./isStrictComparable'),
          keys = require('../object/keys');
      
      
      Severity: Minor
      Found in kommunkoder.js - About 1 hr to fix

        Function 19 has 27 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        },{}],19:[function(require,module,exports){
        var identity = require('../utility/identity');
        
        /**
         * A specialized version of `baseCallback` which only supports `this` binding
        Severity: Minor
        Found in kommunkoder.js - About 1 hr to fix

          Consider simplifying this complex logical expression.
          Open

              if (objCtor != othCtor && ('constructor' in object && 'constructor' in other) &&
                  !(typeof objCtor == 'function' && objCtor instanceof objCtor && typeof othCtor == 'function' && othCtor instanceof othCtor)) {
                return false;
              }
          Severity: Major
          Found in kommunkoder.js - About 1 hr to fix

            Consider simplifying this complex logical expression.
            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;
              }
            Severity: Major
            Found in kommunkoder.js - About 1 hr to fix

              Function baseIsEqualDeep has 7 arguments (exceeds 4 allowed). Consider refactoring.
              Open

              function baseIsEqualDeep(object, other, equalFunc, customizer, isWhere, stackA, stackB) {
              Severity: Major
              Found in kommunkoder.js - About 50 mins to fix

                Function equalArrays has 7 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                function equalArrays(array, other, equalFunc, customizer, isWhere, stackA, stackB) {
                Severity: Major
                Found in kommunkoder.js - About 50 mins to fix

                  Function equalObjects has 7 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                  function equalObjects(object, other, equalFunc, customizer, isWhere, stackA, stackB) {
                  Severity: Major
                  Found in kommunkoder.js - About 50 mins to fix

                    Avoid deeply nested control flow statements.
                    Open

                              if (result) {
                                break;
                              }
                    Severity: Major
                    Found in kommunkoder.js - About 45 mins to fix

                      Function baseIsEqual has 6 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                      function baseIsEqual(value, other, customizer, isWhere, stackA, stackB) {
                      Severity: Minor
                      Found in kommunkoder.js - About 45 mins to fix

                        Function baseIsMatch has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                        function baseIsMatch(object, props, values, strictCompareFlags, customizer) {
                        Severity: Minor
                        Found in kommunkoder.js - About 35 mins to fix

                          Avoid too many return statements within this function.
                          Open

                            return result;
                          Severity: Major
                          Found in kommunkoder.js - About 30 mins to fix
                            Severity
                            Category
                            Status
                            Source
                            Language