Prodigious-Aim-Solutions/Kronicle6

View on GitHub

Showing 121 of 186 total issues

File main.js has 3562 lines of code (exceeds 250 allowed). Consider refactoring.
Open

(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
"use strict";

var _interopRequire = function (obj) { return obj && obj.__esModule ? obj["default"] : obj; };

Severity: Major
Found in examples/browser/main.js - About 1 wk to fix

    Function 98 has a Cognitive Complexity of 353 (exceeds 5 allowed). Consider refactoring.
    Open

    },{"./modules/$":34,"./modules/es5":49,"./modules/es6.array.copy-within":50,"./modules/es6.array.fill":51,"./modules/es6.array.find":53,"./modules/es6.array.find-index":52,"./modules/es6.array.from":54,"./modules/es6.array.iterator":55,"./modules/es6.array.of":56,"./modules/es6.array.species":57,"./modules/es6.function.has-instance":58,"./modules/es6.function.name":59,"./modules/es6.map":60,"./modules/es6.math":61,"./modules/es6.number.constructor":62,"./modules/es6.number.statics":63,"./modules/es6.object.assign":64,"./modules/es6.object.is":65,"./modules/es6.object.set-prototype-of":66,"./modules/es6.object.statics-accept-primitives":67,"./modules/es6.object.to-string":68,"./modules/es6.promise":69,"./modules/es6.reflect":70,"./modules/es6.regexp":71,"./modules/es6.set":72,"./modules/es6.string.code-point-at":73,"./modules/es6.string.ends-with":74,"./modules/es6.string.from-code-point":75,"./modules/es6.string.includes":76,"./modules/es6.string.iterator":77,"./modules/es6.string.raw":78,"./modules/es6.string.repeat":79,"./modules/es6.string.starts-with":80,"./modules/es6.symbol":81,"./modules/es6.weak-map":82,"./modules/es6.weak-set":83,"./modules/es7.array.includes":84,"./modules/es7.map.to-json":85,"./modules/es7.object.get-own-property-descriptors":86,"./modules/es7.object.to-array":87,"./modules/es7.regexp.escape":88,"./modules/es7.set.to-json":89,"./modules/es7.string.at":90,"./modules/es7.string.lpad":91,"./modules/es7.string.rpad":92,"./modules/js.array.statics":93,"./modules/web.dom.iterable":94,"./modules/web.immediate":95,"./modules/web.timers":96}],98:[function(require,module,exports){
    (function (global){
    /**
     * Copyright (c) 2014, Facebook, Inc.
     * All rights reserved.
    Severity: Minor
    Found in examples/browser/main.js - About 1 wk 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 98 has 400 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    },{"./modules/$":34,"./modules/es5":49,"./modules/es6.array.copy-within":50,"./modules/es6.array.fill":51,"./modules/es6.array.find":53,"./modules/es6.array.find-index":52,"./modules/es6.array.from":54,"./modules/es6.array.iterator":55,"./modules/es6.array.of":56,"./modules/es6.array.species":57,"./modules/es6.function.has-instance":58,"./modules/es6.function.name":59,"./modules/es6.map":60,"./modules/es6.math":61,"./modules/es6.number.constructor":62,"./modules/es6.number.statics":63,"./modules/es6.object.assign":64,"./modules/es6.object.is":65,"./modules/es6.object.set-prototype-of":66,"./modules/es6.object.statics-accept-primitives":67,"./modules/es6.object.to-string":68,"./modules/es6.promise":69,"./modules/es6.reflect":70,"./modules/es6.regexp":71,"./modules/es6.set":72,"./modules/es6.string.code-point-at":73,"./modules/es6.string.ends-with":74,"./modules/es6.string.from-code-point":75,"./modules/es6.string.includes":76,"./modules/es6.string.iterator":77,"./modules/es6.string.raw":78,"./modules/es6.string.repeat":79,"./modules/es6.string.starts-with":80,"./modules/es6.symbol":81,"./modules/es6.weak-map":82,"./modules/es6.weak-set":83,"./modules/es7.array.includes":84,"./modules/es7.map.to-json":85,"./modules/es7.object.get-own-property-descriptors":86,"./modules/es7.object.to-array":87,"./modules/es7.regexp.escape":88,"./modules/es7.set.to-json":89,"./modules/es7.string.at":90,"./modules/es7.string.lpad":91,"./modules/es7.string.rpad":92,"./modules/js.array.statics":93,"./modules/web.dom.iterable":94,"./modules/web.immediate":95,"./modules/web.timers":96}],98:[function(require,module,exports){
    (function (global){
    /**
     * Copyright (c) 2014, Facebook, Inc.
     * All rights reserved.
    Severity: Major
    Found in examples/browser/main.js - About 2 days to fix

      `` has 101 functions (exceeds 20 allowed). Consider refactoring.
      Open

      (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
      "use strict";
      
      var _interopRequire = function (obj) { return obj && obj.__esModule ? obj["default"] : obj; };
      
      
      Severity: Major
      Found in examples/browser/main.js - About 1 day to fix

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

        },{"./$":34,"./$.uid":46}],49:[function(require,module,exports){
        var $                = require('./$')
          , cel              = require('./$.dom-create')
          , cof              = require('./$.cof')
          , $def             = require('./$.def')
        Severity: Minor
        Found in examples/browser/main.js - About 1 day 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 19 has a Cognitive Complexity of 78 (exceeds 5 allowed). Consider refactoring.
        Open

        },{"./$":34,"./$.wks":48}],19:[function(require,module,exports){
        'use strict';
        var $        = require('./$')
          , ctx      = require('./$.ctx')
          , safe     = require('./$.uid').safe
        Severity: Minor
        Found in examples/browser/main.js - About 1 day 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 49 has 221 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        },{"./$":34,"./$.uid":46}],49:[function(require,module,exports){
        var $                = require('./$')
          , cel              = require('./$.dom-create')
          , cof              = require('./$.cof')
          , $def             = require('./$.def')
        Severity: Major
        Found in examples/browser/main.js - About 1 day to fix

          Function 69 has 211 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

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

            Function 61 has a Cognitive Complexity of 53 (exceeds 5 allowed). Consider refactoring.
            Open

            },{"./$.collection":22,"./$.collection-strong":19}],61:[function(require,module,exports){
            var Infinity = 1 / 0
              , $def  = require('./$.def')
              , E     = Math.E
              , pow   = Math.pow
            Severity: Minor
            Found in examples/browser/main.js - About 1 day 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 69 has a Cognitive Complexity of 50 (exceeds 5 allowed). Consider refactoring.
            Open

            },{"./$":34,"./$.cof":18,"./$.wks":48}],69:[function(require,module,exports){
            'use strict';
            var $        = require('./$')
              , ctx      = require('./$.ctx')
              , cof      = require('./$.cof')
            Severity: Minor
            Found in examples/browser/main.js - About 7 hrs 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 70 has a Cognitive Complexity of 46 (exceeds 5 allowed). Consider refactoring.
            Open

            },{"./$":34,"./$.assert":16,"./$.cof":18,"./$.ctx":23,"./$.def":24,"./$.for-of":27,"./$.iter-detect":32,"./$.set-proto":39,"./$.species":40,"./$.task":44,"./$.uid":46,"./$.wks":48}],70:[function(require,module,exports){
            var $         = require('./$')
              , $def      = require('./$.def')
              , setProto  = require('./$.set-proto')
              , $iter     = require('./$.iter')
            Severity: Minor
            Found in examples/browser/main.js - About 7 hrs 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 22 has a Cognitive Complexity of 41 (exceeds 5 allowed). Consider refactoring.
            Open

            },{"./$":34,"./$.array-methods":15,"./$.assert":16,"./$.for-of":27,"./$.uid":46}],22:[function(require,module,exports){
            'use strict';
            var $     = require('./$')
              , $def  = require('./$.def')
              , BUGGY = require('./$.iter').BUGGY
            Severity: Minor
            Found in examples/browser/main.js - About 6 hrs 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 6 has a Cognitive Complexity of 41 (exceeds 5 allowed). Consider refactoring.
            Open

            },{}],6:[function(require,module,exports){
            "use strict";
            
            var _prototypeProperties = function (child, staticProps, instanceProps) { if (staticProps) Object.defineProperties(child, staticProps); if (instanceProps) Object.defineProperties(child.prototype, instanceProps); };
            
            
            Severity: Minor
            Found in examples/browser/main.js - About 6 hrs 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 81 has a Cognitive Complexity of 39 (exceeds 5 allowed). Consider refactoring.
            Open

            },{"./$":34,"./$.cof":18,"./$.def":24,"./$.throws":45}],81:[function(require,module,exports){
            'use strict';
            // ECMAScript 6 symbols shim
            var $        = require('./$')
              , setTag   = require('./$.cof').set
            Severity: Minor
            Found in examples/browser/main.js - About 5 hrs 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 67 has a Cognitive Complexity of 38 (exceeds 5 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 5 hrs 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 8 has 140 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            },{"../Module.js":4}],8:[function(require,module,exports){
            "use strict";
            
            var _interopRequire = function (obj) { return obj && obj.__esModule ? obj["default"] : obj; };
            
            
            Severity: Major
            Found in examples/browser/main.js - About 5 hrs to fix

              Function 31 has a Cognitive Complexity of 37 (exceeds 5 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 5 hrs 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 101 has 136 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              },{"babel-core/polyfill":99}],101:[function(require,module,exports){
              /*
              Copyright (c) 2010,2011,2012,2013,2014 Morgan Roderick http://roderick.dk
              License: MIT - http://mrgnrdrck.mit-license.org
              
              
              Severity: Major
              Found in examples/browser/main.js - About 5 hrs to fix

                Function DataSource has 127 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                var DataSource = exports.DataSource = (function (Module) {
                    function DataSource() {
                        var args = arguments[0] === undefined ? { source: undefined, name: "" } : arguments[0];
                        _classCallCheck(this, DataSource);
                
                
                Severity: Major
                Found in examples/browser/main.js - About 5 hrs to fix

                  Function DataSource has 127 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  var DataSource = exports.DataSource = (function (Module) {
                      function DataSource() {
                          var args = arguments[0] === undefined ? { source: undefined, name: "" } : arguments[0];
                          _classCallCheck(this, DataSource);
                  
                  
                  Severity: Major
                  Found in build/lib/DataSource.js - About 5 hrs to fix
                    Severity
                    Category
                    Status
                    Source
                    Language