fnando/babel-schmooze-sprockets

View on GitHub

Showing 215 of 215 total issues

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

},{"114":114,"34":34,"39":39,"49":49,"67":67}],63:[function(_dereq_,module,exports){
var Map     = _dereq_(150)
  , $export = _dereq_(32)
  , shared  = _dereq_(94)('metadata')
  , store   = shared.store || (shared.store = new (_dereq_(256)));
Severity: Minor
Found in app/assets/javascripts/babel/polyfill.js - About 1 hr to fix

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

    },{"32":32,"90":90}],213:[function(_dereq_,module,exports){
    // 26.1.13 Reflect.set(target, propertyKey, V [, receiver])
    var dP             = _dereq_(67)
      , gOPD           = _dereq_(70)
      , getPrototypeOf = _dereq_(74)
    Severity: Minor
    Found in app/assets/javascripts/babel/polyfill.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 148 has a Cognitive Complexity of 15 (exceeds 5 allowed). Consider refactoring.
    Open

    },{"16":16,"32":32}],148:[function(_dereq_,module,exports){
    'use strict';
    var isObject       = _dereq_(49)
      , getPrototypeOf = _dereq_(74)
      , HAS_INSTANCE   = _dereq_(117)('hasInstance')
    Severity: Minor
    Found in app/assets/javascripts/babel/polyfill.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 207 has a Cognitive Complexity of 15 (exceeds 5 allowed). Consider refactoring.
    Open

    },{"32":32,"7":7,"74":74}],207:[function(_dereq_,module,exports){
    // 26.1.6 Reflect.get(target, propertyKey [, receiver])
    var gOPD           = _dereq_(70)
      , getPrototypeOf = _dereq_(74)
      , has            = _dereq_(39)
    Severity: Minor
    Found in app/assets/javascripts/babel/polyfill.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 256 has 46 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    },{"111":111}],256:[function(_dereq_,module,exports){
    'use strict';
    var each         = _dereq_(12)(0)
      , redefine     = _dereq_(87)
      , meta         = _dereq_(62)
    Severity: Minor
    Found in app/assets/javascripts/babel/polyfill.js - About 1 hr to fix

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

      module.exports = function(){
        var head, last, notify;
      
        var flush = function(){
          var parent, fn;
      Severity: Minor
      Found in app/assets/javascripts/babel/polyfill.js - About 1 hr to fix

        Function toFixed has 46 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

          toFixed: function toFixed(fractionDigits){
            var x = aNumberValue(this, ERROR)
              , f = toInteger(fractionDigits)
              , s = ''
              , m = ZERO
        Severity: Minor
        Found in app/assets/javascripts/babel/polyfill.js - About 1 hr to fix

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

          var packIEEE754 = function(value, mLen, nBytes){
            var buffer = Array(nBytes)
              , eLen   = nBytes * 8 - mLen - 1
              , eMax   = (1 << eLen) - 1
              , eBias  = eMax >> 1
          Severity: Minor
          Found in app/assets/javascripts/babel/polyfill.js - About 1 hr to fix

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

            module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){
              $iterCreate(Constructor, NAME, next);
              var getMethod = function(kind){
                if(!BUGGY && kind in proto)return proto[kind];
                switch(kind){
            Severity: Minor
            Found in app/assets/javascripts/babel/polyfill.js - About 1 hr to fix

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

              },{"29":29,"30":30,"41":41,"68":68,"7":7,"93":93}],67:[function(_dereq_,module,exports){
              var anObject       = _dereq_(7)
                , IE8_DOM_DEFINE = _dereq_(42)
                , toPrimitive    = _dereq_(110)
                , dP             = Object.defineProperty;
              Severity: Minor
              Found in app/assets/javascripts/babel/polyfill.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 62 has 43 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              },{}],62:[function(_dereq_,module,exports){
              var META     = _dereq_(114)('meta')
                , isObject = _dereq_(49)
                , has      = _dereq_(39)
                , setDesc  = _dereq_(67).f
              Severity: Minor
              Found in app/assets/javascripts/babel/polyfill.js - About 1 hr to fix

                Function notify has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                var notify = function(promise, isReject){
                  if(promise._n)return;
                  promise._n = true;
                  var chain = promise._c;
                  microtask(function(){
                Severity: Minor
                Found in app/assets/javascripts/babel/polyfill.js - About 1 hr to fix

                  Function 245 has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  },{"107":107,"110":110,"114":114,"115":115,"116":116,"117":117,"28":28,"31":31,"32":32,"34":34,"38":38,"39":39,"40":40,"47":47,"57":57,"58":58,"62":62,"66":66,"67":67,"7":7,"70":70,"71":71,"72":72,"73":73,"76":76,"77":77,"85":85,"87":87,"92":92,"94":94}],245:[function(_dereq_,module,exports){
                  'use strict';
                  var $export      = _dereq_(32)
                    , $typed       = _dereq_(113)
                    , buffer       = _dereq_(112)
                  Severity: Minor
                  Found in app/assets/javascripts/babel/polyfill.js - About 1 hr to fix

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

                    },{}],104:[function(_dereq_,module,exports){
                    var ctx                = _dereq_(25)
                      , invoke             = _dereq_(44)
                      , html               = _dereq_(41)
                      , cel                = _dereq_(29)
                    Severity: Minor
                    Found in app/assets/javascripts/babel/polyfill.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 8 has a Cognitive Complexity of 13 (exceeds 5 allowed). Consider refactoring.
                    Open

                    },{"49":49}],8:[function(_dereq_,module,exports){
                    // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)
                    'use strict';
                    var toObject = _dereq_(109)
                      , toIndex  = _dereq_(105)
                    Severity: Minor
                    Found in app/assets/javascripts/babel/polyfill.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 143 has a Cognitive Complexity of 13 (exceeds 5 allowed). Consider refactoring.
                    Open

                    },{"32":32}],143:[function(_dereq_,module,exports){
                    'use strict';
                    // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()
                    var $export = _dereq_(32)
                      , fails   = _dereq_(34)
                    Severity: Minor
                    Found in app/assets/javascripts/babel/polyfill.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 256 has a Cognitive Complexity of 13 (exceeds 5 allowed). Consider refactoring.
                    Open

                    },{"111":111}],256:[function(_dereq_,module,exports){
                    'use strict';
                    var each         = _dereq_(12)(0)
                      , redefine     = _dereq_(87)
                      , meta         = _dereq_(62)
                    Severity: Minor
                    Found in app/assets/javascripts/babel/polyfill.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 214 has 39 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    },{"32":32,"39":39,"49":49,"67":67,"7":7,"70":70,"74":74,"85":85}],214:[function(_dereq_,module,exports){
                    var global            = _dereq_(38)
                      , inheritIfRequired = _dereq_(43)
                      , dP                = _dereq_(67).f
                      , gOPN              = _dereq_(72).f
                    Severity: Minor
                    Found in app/assets/javascripts/babel/polyfill.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 app/assets/javascripts/babel/polyfill.js - About 1 hr to fix

                        Function AsyncIterator has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                          function AsyncIterator(generator) {
                            function invoke(method, arg, resolve, reject) {
                              var record = tryCatch(generator[method], generator, arg);
                              if (record.type === "throw") {
                                reject(record.arg);
                        Severity: Minor
                        Found in app/assets/javascripts/babel/polyfill.js - About 1 hr to fix
                          Severity
                          Category
                          Status
                          Source
                          Language