Prodigious-Aim-Solutions/Kronicle6

View on GitHub

Showing 121 of 186 total issues

Function 97 has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

},{"./$":34,"./$.def":24,"./$.invoke":29,"./$.partial":37}],97:[function(require,module,exports){
require('./modules/es5');
require('./modules/es6.symbol');
require('./modules/es6.object.assign');
require('./modules/es6.object.is');
Severity: Minor
Found in examples/browser/main.js - About 1 hr to fix

    Function 58 has a Cognitive Complexity of 15 (exceeds 5 allowed). Consider refactoring.
    Open

    },{"./$.species":40}],58:[function(require,module,exports){
    var $             = require('./$')
      , HAS_INSTANCE  = require('./$.wks')('hasInstance')
      , FunctionProto = Function.prototype;
    // 19.2.3.6 Function.prototype[@@hasInstance](V)
    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 ArrayDataSource has a Cognitive Complexity of 15 (exceeds 5 allowed). Consider refactoring.
    Open

    var ArrayDataSource = exports.ArrayDataSource = (function () {
        function ArrayDataSource() {
            _classCallCheck(this, ArrayDataSource);
    
            this.data = [];
    Severity: Minor
    Found in build/lib/ArrayDataSource.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 exports has 47 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    module.exports = function(NAME, methods, common, IS_MAP, IS_WEAK){
      var Base  = $.g[NAME]
        , C     = Base
        , ADDER = IS_MAP ? 'set' : 'add'
        , proto = C && C.prototype
    Severity: Minor
    Found in examples/browser/main.js - About 1 hr to fix

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

      },{"./$.assert":16}],31:[function(require,module,exports){
      var $def            = require('./$.def')
        , $               = require('./$')
        , cof             = require('./$.cof')
        , $iter           = require('./$.iter')
      Severity: Minor
      Found in examples/browser/main.js - About 1 hr to fix

        Function Component has a Cognitive Complexity of 14 (exceeds 5 allowed). Consider refactoring.
        Open

        var Component = exports.Component = (function (Module) {
            function Component() {
                var args = arguments[0] === undefined ? { components: [], template: function () {
                        return "";
                    }, name: "" } : arguments[0];
        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 18 has a Cognitive Complexity of 14 (exceeds 5 allowed). Consider refactoring.
        Open

        },{"./$":34,"./$.enum-keys":26}],18:[function(require,module,exports){
        var $        = require('./$')
          , TAG      = require('./$.wks')('toStringTag')
          , toString = {}.toString;
        function cof(it){
        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 View has 41 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        var View = exports.View = (function (Module) {
            function View(args) {
                _classCallCheck(this, View);
        
                this.template = args.template || function () {
        Severity: Minor
        Found in build/lib/View.js - About 1 hr to fix

          Function 62 has 41 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

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

            Function View has 41 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            var View = exports.View = (function (Module) {
                function View(args) {
                    _classCallCheck(this, View);
            
                    this.template = args.template || function () {
            Severity: Minor
            Found in examples/browser/main.js - About 1 hr to fix

              Function 42 has a Cognitive Complexity of 13 (exceeds 5 allowed). Consider refactoring.
              Open

              },{"./$":34}],42:[function(require,module,exports){
              // http://wiki.ecmascript.org/doku.php?id=strawman:string_padding
              var $      = require('./$')
                , repeat = require('./$.string-repeat');
              
              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 71 has 39 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              },{"./$":34,"./$.assert":16,"./$.def":24,"./$.iter":33,"./$.own-keys":36,"./$.set-proto":39,"./$.uid":46,"./$.wks":48}],71:[function(require,module,exports){
              var $       = require('./$')
                , cof     = require('./$.cof')
                , $RegExp = $.g.RegExp
                , Base    = $RegExp
              Severity: Minor
              Found in examples/browser/main.js - About 1 hr to fix

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

                },{"./$.def":24,"./$.set-proto":39}],67:[function(require,module,exports){
                var $        = require('./$')
                  , $def     = require('./$.def')
                  , isObject = $.isObject
                  , toObject = $.toObject;
                Severity: Minor
                Found in examples/browser/main.js - About 1 hr to fix

                  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

                            Severity
                            Category
                            Status
                            Source
                            Language