fnando/babel-schmooze-sprockets

View on GitHub

Showing 159 of 215 total issues

File polyfill.js has 5738 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(_dereq_,module,exports){
(function (global){
"use strict";

_dereq_(296);
Severity: Major
Found in app/assets/javascripts/babel/polyfill.js - About 2 wks to fix

    Function 297 has a Cognitive Complexity of 389 (exceeds 5 allowed). Consider refactoring.
    Open

    },{"121":121,"122":122,"123":123,"124":124,"125":125,"126":126,"127":127,"128":128,"129":129,"130":130,"131":131,"132":132,"133":133,"134":134,"135":135,"136":136,"137":137,"138":138,"139":139,"140":140,"141":141,"142":142,"143":143,"144":144,"145":145,"146":146,"147":147,"148":148,"149":149,"150":150,"151":151,"152":152,"153":153,"154":154,"155":155,"156":156,"157":157,"158":158,"159":159,"160":160,"161":161,"162":162,"163":163,"164":164,"165":165,"166":166,"167":167,"168":168,"169":169,"170":170,"171":171,"172":172,"173":173,"174":174,"175":175,"176":176,"177":177,"178":178,"179":179,"180":180,"181":181,"182":182,"183":183,"184":184,"185":185,"186":186,"187":187,"188":188,"189":189,"190":190,"191":191,"192":192,"193":193,"194":194,"195":195,"196":196,"197":197,"198":198,"199":199,"200":200,"201":201,"202":202,"203":203,"204":204,"205":205,"206":206,"207":207,"208":208,"209":209,"210":210,"211":211,"212":212,"213":213,"214":214,"215":215,"216":216,"217":217,"218":218,"219":219,"220":220,"221":221,"222":222,"223":223,"224":224,"225":225,"226":226,"227":227,"228":228,"229":229,"23":23,"230":230,"231":231,"232":232,"233":233,"234":234,"235":235,"236":236,"237":237,"238":238,"239":239,"240":240,"241":241,"242":242,"243":243,"244":244,"245":245,"246":246,"247":247,"248":248,"249":249,"250":250,"251":251,"252":252,"253":253,"254":254,"255":255,"256":256,"257":257,"258":258,"259":259,"260":260,"261":261,"262":262,"263":263,"264":264,"265":265,"266":266,"267":267,"268":268,"269":269,"270":270,"271":271,"272":272,"273":273,"274":274,"275":275,"276":276,"277":277,"278":278,"279":279,"280":280,"281":281,"282":282,"283":283,"284":284,"285":285,"286":286,"287":287,"288":288,"289":289,"290":290,"291":291,"292":292,"293":293,"294":294,"295":295}],297:[function(_dereq_,module,exports){
    (function (global){
    /**
     * Copyright (c) 2014, Facebook, Inc.
     * All rights reserved.
    Severity: Minor
    Found in app/assets/javascripts/babel/polyfill.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

    `` has 297 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(_dereq_,module,exports){
    (function (global){
    "use strict";
    
    _dereq_(296);
    Severity: Major
    Found in app/assets/javascripts/babel/polyfill.js - About 6 days to fix

      Function 111 has a Cognitive Complexity of 153 (exceeds 5 allowed). Consider refactoring.
      Open

      },{"49":49}],111:[function(_dereq_,module,exports){
      'use strict';
      if(_dereq_(28)){
        var LIBRARY             = _dereq_(58)
          , global              = _dereq_(38)
      Severity: Minor
      Found in app/assets/javascripts/babel/polyfill.js - About 3 days 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 297 has 446 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      },{"121":121,"122":122,"123":123,"124":124,"125":125,"126":126,"127":127,"128":128,"129":129,"130":130,"131":131,"132":132,"133":133,"134":134,"135":135,"136":136,"137":137,"138":138,"139":139,"140":140,"141":141,"142":142,"143":143,"144":144,"145":145,"146":146,"147":147,"148":148,"149":149,"150":150,"151":151,"152":152,"153":153,"154":154,"155":155,"156":156,"157":157,"158":158,"159":159,"160":160,"161":161,"162":162,"163":163,"164":164,"165":165,"166":166,"167":167,"168":168,"169":169,"170":170,"171":171,"172":172,"173":173,"174":174,"175":175,"176":176,"177":177,"178":178,"179":179,"180":180,"181":181,"182":182,"183":183,"184":184,"185":185,"186":186,"187":187,"188":188,"189":189,"190":190,"191":191,"192":192,"193":193,"194":194,"195":195,"196":196,"197":197,"198":198,"199":199,"200":200,"201":201,"202":202,"203":203,"204":204,"205":205,"206":206,"207":207,"208":208,"209":209,"210":210,"211":211,"212":212,"213":213,"214":214,"215":215,"216":216,"217":217,"218":218,"219":219,"220":220,"221":221,"222":222,"223":223,"224":224,"225":225,"226":226,"227":227,"228":228,"229":229,"23":23,"230":230,"231":231,"232":232,"233":233,"234":234,"235":235,"236":236,"237":237,"238":238,"239":239,"240":240,"241":241,"242":242,"243":243,"244":244,"245":245,"246":246,"247":247,"248":248,"249":249,"250":250,"251":251,"252":252,"253":253,"254":254,"255":255,"256":256,"257":257,"258":258,"259":259,"260":260,"261":261,"262":262,"263":263,"264":264,"265":265,"266":266,"267":267,"268":268,"269":269,"270":270,"271":271,"272":272,"273":273,"274":274,"275":275,"276":276,"277":277,"278":278,"279":279,"280":280,"281":281,"282":282,"283":283,"284":284,"285":285,"286":286,"287":287,"288":288,"289":289,"290":290,"291":291,"292":292,"293":293,"294":294,"295":295}],297:[function(_dereq_,module,exports){
      (function (global){
      /**
       * Copyright (c) 2014, Facebook, Inc.
       * All rights reserved.
      Severity: Major
      Found in app/assets/javascripts/babel/polyfill.js - About 2 days to fix

        Function 111 has 418 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        },{"49":49}],111:[function(_dereq_,module,exports){
        'use strict';
        if(_dereq_(28)){
          var LIBRARY             = _dereq_(58)
            , global              = _dereq_(38)
        Severity: Major
        Found in app/assets/javascripts/babel/polyfill.js - About 2 days to fix

          Function 22 has a Cognitive Complexity of 94 (exceeds 5 allowed). Consider refactoring.
          Open

          },{"12":12,"37":37,"39":39,"49":49,"6":6,"62":62,"7":7,"86":86}],22:[function(_dereq_,module,exports){
          'use strict';
          var global            = _dereq_(38)
            , $export           = _dereq_(32)
            , redefine          = _dereq_(87)
          Severity: Minor
          Found in app/assets/javascripts/babel/polyfill.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 112 has a Cognitive Complexity of 92 (exceeds 5 allowed). Consider refactoring.
          Open

          },{"105":105,"106":106,"108":108,"109":109,"11":11,"110":110,"112":112,"113":113,"114":114,"117":117,"118":118,"119":119,"12":12,"131":131,"17":17,"25":25,"28":28,"32":32,"34":34,"38":38,"39":39,"40":40,"46":46,"48":48,"49":49,"54":54,"56":56,"58":58,"6":6,"66":66,"67":67,"70":70,"72":72,"74":74,"8":8,"85":85,"86":86,"89":89,"9":9,"91":91,"95":95}],112:[function(_dereq_,module,exports){
          'use strict';
          var global         = _dereq_(38)
            , DESCRIPTORS    = _dereq_(28)
            , LIBRARY        = _dereq_(58)
          Severity: Minor
          Found in app/assets/javascripts/babel/polyfill.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 244 has a Cognitive Complexity of 85 (exceeds 5 allowed). Consider refactoring.
          Open

          },{"102":102}],244:[function(_dereq_,module,exports){
          'use strict';
          // ECMAScript 6 symbols shim
          var global         = _dereq_(38)
            , has            = _dereq_(39)
          Severity: Minor
          Found in app/assets/javascripts/babel/polyfill.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 199 has a Cognitive Complexity of 74 (exceeds 5 allowed). Consider refactoring.
          Open

          },{"32":32,"82":82}],199:[function(_dereq_,module,exports){
          'use strict';
          var LIBRARY            = _dereq_(58)
            , global             = _dereq_(38)
            , ctx                = _dereq_(25)
          Severity: Minor
          Found in app/assets/javascripts/babel/polyfill.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 199 has 278 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          },{"32":32,"82":82}],199:[function(_dereq_,module,exports){
          'use strict';
          var LIBRARY            = _dereq_(58)
            , global             = _dereq_(38)
            , ctx                = _dereq_(25)
          Severity: Major
          Found in app/assets/javascripts/babel/polyfill.js - About 1 day to fix

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

            },{}],19:[function(_dereq_,module,exports){
            'use strict';
            var dP          = _dereq_(67).f
              , create      = _dereq_(66)
              , hide        = _dereq_(40)
            Severity: Minor
            Found in app/assets/javascripts/babel/polyfill.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 112 has 251 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            },{"105":105,"106":106,"108":108,"109":109,"11":11,"110":110,"112":112,"113":113,"114":114,"117":117,"118":118,"119":119,"12":12,"131":131,"17":17,"25":25,"28":28,"32":32,"34":34,"38":38,"39":39,"40":40,"46":46,"48":48,"49":49,"54":54,"56":56,"58":58,"6":6,"66":66,"67":67,"70":70,"72":72,"74":74,"8":8,"85":85,"86":86,"89":89,"9":9,"91":91,"95":95}],112:[function(_dereq_,module,exports){
            'use strict';
            var global         = _dereq_(38)
              , DESCRIPTORS    = _dereq_(28)
              , LIBRARY        = _dereq_(58)
            Severity: Major
            Found in app/assets/javascripts/babel/polyfill.js - About 1 day to fix

              Function 178 has a Cognitive Complexity of 56 (exceeds 5 allowed). Consider refactoring.
              Open

              },{"32":32,"82":82}],178:[function(_dereq_,module,exports){
              'use strict';
              var $export      = _dereq_(32)
                , anInstance   = _dereq_(6)
                , toInteger    = _dereq_(106)
              Severity: Minor
              Found in app/assets/javascripts/babel/polyfill.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 53 has a Cognitive Complexity of 53 (exceeds 5 allowed). Consider refactoring.
              Open

              },{"117":117,"40":40,"66":66,"85":85,"92":92}],53:[function(_dereq_,module,exports){
              'use strict';
              var LIBRARY        = _dereq_(58)
                , $export        = _dereq_(32)
                , redefine       = _dereq_(87)
              Severity: Minor
              Found in app/assets/javascripts/babel/polyfill.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 244 has 198 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              },{"102":102}],244:[function(_dereq_,module,exports){
              'use strict';
              // ECMAScript 6 symbols shim
              var global         = _dereq_(38)
                , has            = _dereq_(39)
              Severity: Major
              Found in app/assets/javascripts/babel/polyfill.js - About 7 hrs to fix

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

                },{"32":32,"79":79}],273:[function(_dereq_,module,exports){
                'use strict';
                // https://github.com/zenparsing/es-observable
                var $export     = _dereq_(32)
                  , global      = _dereq_(38)
                Severity: Minor
                Found in app/assets/javascripts/babel/polyfill.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 168 has a Cognitive Complexity of 48 (exceeds 5 allowed). Consider refactoring.
                Open

                },{"32":32}],168:[function(_dereq_,module,exports){
                'use strict';
                var global            = _dereq_(38)
                  , has               = _dereq_(39)
                  , cof               = _dereq_(18)
                Severity: Minor
                Found in app/assets/javascripts/babel/polyfill.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 273 has 183 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                },{"32":32,"79":79}],273:[function(_dereq_,module,exports){
                'use strict';
                // https://github.com/zenparsing/es-observable
                var $export     = _dereq_(32)
                  , global      = _dereq_(38)
                Severity: Major
                Found in app/assets/javascripts/babel/polyfill.js - About 7 hrs to fix

                  Function 296 has 176 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  },{"32":32,"38":38,"44":44,"83":83}],296:[function(_dereq_,module,exports){
                  _dereq_(244);
                  _dereq_(181);
                  _dereq_(183);
                  _dereq_(182);
                  Severity: Major
                  Found in app/assets/javascripts/babel/polyfill.js - About 7 hrs to fix
                    Severity
                    Category
                    Status
                    Source
                    Language