Prodigious-Aim-Solutions/Kronicle6

View on GitHub

Showing 186 of 186 total issues

Function dispatchException has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    dispatchException: function(exception) {
      if (this.done) {
        throw exception;
      }

Severity: Minor
Found in examples/browser/main.js - About 1 hr to fix

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

    },{"./$.assert":16}],24:[function(require,module,exports){
    var $          = require('./$')
      , global     = $.g
      , core       = $.core
      , isFunction = $.isFunction;
    Severity: Minor
    Found in examples/browser/main.js - About 1 hr to fix

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

      },{"./$.wks":48}],33:[function(require,module,exports){
      'use strict';
      var $                 = require('./$')
        , cof               = require('./$.cof')
        , assertObject      = require('./$.assert').obj
      Severity: Minor
      Found in examples/browser/main.js - About 1 hr to fix

        Function 82 has a Cognitive Complexity of 12 (exceeds 5 allowed). Consider refactoring.
        Open

        },{"./$":34,"./$.assert":16,"./$.cof":18,"./$.def":24,"./$.enum-keys":26,"./$.keyof":35,"./$.uid":46,"./$.wks":48}],82:[function(require,module,exports){
        'use strict';
        var $         = require('./$')
          , weak      = require('./$.collection-weak')
          , leakStore = weak.leakStore
        Severity: Minor
        Found in examples/browser/main.js - About 1 hr to fix

        Cognitive Complexity

        Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

        A method's cognitive complexity is based on a few simple rules:

        • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
        • Code is considered more complex for each "break in the linear flow of the code"
        • Code is considered more complex when "flow breaking structures are nested"

        Further reading

        Function 15 has 33 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        },{"./$":34}],15:[function(require,module,exports){
        // 0 -> Array#forEach
        // 1 -> Array#map
        // 2 -> Array#filter
        // 3 -> Array#some
        Severity: Minor
        Found in examples/browser/main.js - About 1 hr to fix

          Function exports has 33 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE){
            $iter.create(Constructor, NAME, next);
            function createMethod(kind){
              function $$(that){
                return new Constructor(that, kind);
          Severity: Minor
          Found in examples/browser/main.js - About 1 hr to fix

            Function 44 has a Cognitive Complexity of 11 (exceeds 5 allowed). Consider refactoring.
            Open

            },{"./$":34}],44:[function(require,module,exports){
            'use strict';
            var $      = require('./$')
              , ctx    = require('./$.ctx')
              , cof    = require('./$.cof')
            Severity: Minor
            Found in examples/browser/main.js - About 1 hr to fix

            Cognitive Complexity

            Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

            A method's cognitive complexity is based on a few simple rules:

            • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
            • Code is considered more complex for each "break in the linear flow of the code"
            • Code is considered more complex when "flow breaking structures are nested"

            Further reading

            Function 3 has a Cognitive Complexity of 11 (exceeds 5 allowed). Consider refactoring.
            Open

            },{}],3:[function(require,module,exports){
            "use strict";
            
            var _interopRequire = function (obj) { return obj && obj.__esModule ? obj["default"] : obj; };
            
            
            Severity: Minor
            Found in examples/browser/main.js - About 1 hr to fix

            Cognitive Complexity

            Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

            A method's cognitive complexity is based on a few simple rules:

            • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
            • Code is considered more complex for each "break in the linear flow of the code"
            • Code is considered more complex when "flow breaking structures are nested"

            Further reading

            Function 16 has a Cognitive Complexity of 11 (exceeds 5 allowed). Consider refactoring.
            Open

            },{"./$":34,"./$.ctx":23}],16:[function(require,module,exports){
            var $ = require('./$');
            function assert(condition, msg1, msg2){
              if(!condition)throw TypeError(msg2 ? msg1 + msg2 : msg1);
            }
            Severity: Minor
            Found in examples/browser/main.js - About 1 hr to fix

            Cognitive Complexity

            Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

            A method's cognitive complexity is based on a few simple rules:

            • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
            • Code is considered more complex for each "break in the linear flow of the code"
            • Code is considered more complex when "flow breaking structures are nested"

            Further reading

            Function 82 has 31 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            },{"./$":34,"./$.assert":16,"./$.cof":18,"./$.def":24,"./$.enum-keys":26,"./$.keyof":35,"./$.uid":46,"./$.wks":48}],82:[function(require,module,exports){
            'use strict';
            var $         = require('./$')
              , weak      = require('./$.collection-weak')
              , leakStore = weak.leakStore
            Severity: Minor
            Found in examples/browser/main.js - About 1 hr to fix

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

              module.exports = function(TYPE){
                var IS_MAP        = TYPE == 1
                  , IS_FILTER     = TYPE == 2
                  , IS_SOME       = TYPE == 3
                  , IS_EVERY      = TYPE == 4
              Severity: Minor
              Found in examples/browser/main.js - About 1 hr to fix

                Function 54 has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                },{"./$.array-methods":15,"./$.def":24,"./$.unscope":47}],54:[function(require,module,exports){
                var $     = require('./$')
                  , ctx   = require('./$.ctx')
                  , $def  = require('./$.def')
                  , $iter = require('./$.iter')
                Severity: Minor
                Found in examples/browser/main.js - About 1 hr to fix

                  Function get has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring.
                  Open

                  var _get = function get(object, property, receiver) { var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if ("value" in desc && desc.writable) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } };
                  Severity: Minor
                  Found in build/lib/Component.js - About 1 hr to fix

                  Cognitive Complexity

                  Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                  A method's cognitive complexity is based on a few simple rules:

                  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                  • Code is considered more complex for each "break in the linear flow of the code"
                  • Code is considered more complex when "flow breaking structures are nested"

                  Further reading

                  Function get has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring.
                  Open

                  var _get = function get(object, property, receiver) { var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if ("value" in desc && desc.writable) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } };
                  Severity: Minor
                  Found in build/lib/Controller.js - About 1 hr to fix

                  Cognitive Complexity

                  Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                  A method's cognitive complexity is based on a few simple rules:

                  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                  • Code is considered more complex for each "break in the linear flow of the code"
                  • Code is considered more complex when "flow breaking structures are nested"

                  Further reading

                  Function get has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring.
                  Open

                  var _get = function get(object, property, receiver) { var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if ("value" in desc && desc.writable) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } };
                  Severity: Minor
                  Found in build/lib/DataSource.js - About 1 hr to fix

                  Cognitive Complexity

                  Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                  A method's cognitive complexity is based on a few simple rules:

                  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                  • Code is considered more complex for each "break in the linear flow of the code"
                  • Code is considered more complex when "flow breaking structures are nested"

                  Further reading

                  Function get has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring.
                  Open

                  var _get = function get(object, property, receiver) { var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if ("value" in desc && desc.writable) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } };
                  Severity: Minor
                  Found in build/lib/View.js - About 1 hr to fix

                  Cognitive Complexity

                  Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                  A method's cognitive complexity is based on a few simple rules:

                  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                  • Code is considered more complex for each "break in the linear flow of the code"
                  • Code is considered more complex when "flow breaking structures are nested"

                  Further reading

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

                      PubSub.unsubscribe = function(value){
                          var isTopic    = typeof value === 'string' && messages.hasOwnProperty(value),
                              isToken    = !isTopic && typeof value === 'string',
                              isFunction = typeof value === 'function',
                              result = false,
                  Severity: Minor
                  Found in examples/browser/main.js - About 1 hr to fix

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

                    },{"./$":34,"./$.array-includes":14,"./$.array-methods":15,"./$.assert":16,"./$.cof":18,"./$.def":24,"./$.dom-create":25,"./$.invoke":29,"./$.replacer":38,"./$.throws":45,"./$.uid":46}],50:[function(require,module,exports){
                    'use strict';
                    var $       = require('./$')
                      , $def    = require('./$.def')
                      , toIndex = $.toIndex;
                    Severity: Minor
                    Found in examples/browser/main.js - About 1 hr to fix

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

                      },{"./$":34}],63:[function(require,module,exports){
                      var $     = require('./$')
                        , $def  = require('./$.def')
                        , abs   = Math.abs
                        , floor = Math.floor
                      Severity: Minor
                      Found in examples/browser/main.js - About 1 hr to fix

                        Function 50 has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring.
                        Open

                        },{"./$":34,"./$.array-includes":14,"./$.array-methods":15,"./$.assert":16,"./$.cof":18,"./$.def":24,"./$.dom-create":25,"./$.invoke":29,"./$.replacer":38,"./$.throws":45,"./$.uid":46}],50:[function(require,module,exports){
                        'use strict';
                        var $       = require('./$')
                          , $def    = require('./$.def')
                          , toIndex = $.toIndex;
                        Severity: Minor
                        Found in examples/browser/main.js - About 55 mins to fix

                        Cognitive Complexity

                        Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                        A method's cognitive complexity is based on a few simple rules:

                        • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                        • Code is considered more complex for each "break in the linear flow of the code"
                        • Code is considered more complex when "flow breaking structures are nested"

                        Further reading

                        Severity
                        Category
                        Status
                        Source
                        Language