matiasmenares/Nissboard

View on GitHub
server/public/jsx-transformer-0.12.2.js

Summary

Maintainability
F
5 mos
Test Coverage

Showing 346 of 346 total issues

File jsx-transformer-0.12.2.js has 10992 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/**
* JSXTransformer v0.12.2
*/
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.JSXTransformer=e()}}(function(){var define,module,exports;return (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){
/**
Severity: Major
Found in server/public/jsx-transformer-0.12.2.js - About 1 mo to fix

    Function 9 has 6131 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    },{}],9:[function(_dereq_,module,exports){
    /*
    Copyright (C) 2013 Ariya Hidayat <ariya.hidayat@gmail.com>
    Copyright (C) 2013 Thaddee Tyl <thaddee.tyl@gmail.com>
    Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>
    Severity: Major
    Found in server/public/jsx-transformer-0.12.2.js - About 1 mo to fix

      Function 2 has 840 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      },{"./fbtransform/visitors":37,"buffer":2,"jstransform":21,"jstransform/visitors/type-syntax":33}],2:[function(_dereq_,module,exports){
      /*!
      * The buffer module from node.js, for the browser.
      *
      * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
      Severity: Major
      Found in server/public/jsx-transformer-0.12.2.js - About 4 days to fix

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

        },{"../src/utils":22,"./es6-destructuring-visitors":25,"./es6-rest-param-visitors":28,"esprima-fb":9}],24:[function(_dereq_,module,exports){
        /**
        * Copyright 2013 Facebook, Inc.
        *
        * Licensed under the Apache License, Version 2.0 (the "License");
        Severity: Major
        Found in server/public/jsx-transformer-0.12.2.js - About 1 day to fix

          Function 22 has 311 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          },{"./utils":22,"esprima-fb":9,"source-map":10}],22:[function(_dereq_,module,exports){
          /**
          * Copyright 2013 Facebook, Inc.
          *
          * Licensed under the Apache License, Version 2.0 (the "License");
          Severity: Major
          Found in server/public/jsx-transformer-0.12.2.js - About 1 day to fix

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

            },{"amdefine":19}],15:[function(_dereq_,module,exports){
            /* -*- Mode: js; js-indent-level: 2; -*- */
            /*
            * Copyright 2011 Mozilla Foundation and contributors
            * Licensed under the New BSD license. See LICENSE or:
            Severity: Major
            Found in server/public/jsx-transformer-0.12.2.js - About 1 day to fix

              Function 16 has 257 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              },{"./array-set":11,"./base64-vlq":12,"./binary-search":14,"./util":18,"amdefine":19}],16:[function(_dereq_,module,exports){
              /* -*- Mode: js; js-indent-level: 2; -*- */
              /*
              * Copyright 2011 Mozilla Foundation and contributors
              * Licensed under the New BSD license. See LICENSE or:
              Severity: Major
              Found in server/public/jsx-transformer-0.12.2.js - About 1 day to fix

                Function 17 has 247 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                },{"./array-set":11,"./base64-vlq":12,"./util":18,"amdefine":19}],17:[function(_dereq_,module,exports){
                /* -*- Mode: js; js-indent-level: 2; -*- */
                /*
                * Copyright 2011 Mozilla Foundation and contributors
                * Licensed under the New BSD license. See LICENSE or:
                Severity: Major
                Found in server/public/jsx-transformer-0.12.2.js - About 1 day to fix

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

                  },{"jstransform":21,"jstransform/src/utils":22}],36:[function(_dereq_,module,exports){
                  /**
                  * Copyright 2013-2014, Facebook, Inc.
                  * All rights reserved.
                  *
                  Severity: Major
                  Found in server/public/jsx-transformer-0.12.2.js - About 1 day to fix

                    Function 1 has 200 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.JSXTransformer=e()}}(function(){var define,module,exports;return (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){
                    /**
                    * Copyright 2013-2014, Facebook, Inc.
                    * All rights reserved.
                    *
                    Severity: Major
                    Found in server/public/jsx-transformer-0.12.2.js - About 1 day to fix

                      Function 19 has 191 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      },{"amdefine":19}],19:[function(_dereq_,module,exports){
                      (function (process,__filename){
                      /** vim: et:ts=4:sw=4:sts=4
                      * @license amdefine 0.1.0 Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
                      * Available via the MIT or new BSD license.
                      Severity: Major
                      Found in server/public/jsx-transformer-0.12.2.js - About 7 hrs to fix

                        Function amdefine has 184 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        function amdefine(module, requireFn) {
                        'use strict';
                        var defineCache = {},
                        loaderCache = {},
                        alreadyCalled = false,
                        Severity: Major
                        Found in server/public/jsx-transformer-0.12.2.js - About 7 hrs to fix

                          Function 21 has 175 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          },{}],21:[function(_dereq_,module,exports){
                          /**
                          * Copyright 2013 Facebook, Inc.
                          *
                          * Licensed under the Apache License, Version 2.0 (the "License");
                          Severity: Major
                          Found in server/public/jsx-transformer-0.12.2.js - About 7 hrs to fix

                            Function scanPunctuator has 171 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            function scanPunctuator() {
                            var start = index,
                            code = source.charCodeAt(index),
                            code2,
                            ch1 = source[index],
                            Severity: Major
                            Found in server/public/jsx-transformer-0.12.2.js - About 6 hrs to fix

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

                              },{"../src/utils":22,"./reserved-words-helper":32,"base62":8,"esprima-fb":9}],25:[function(_dereq_,module,exports){
                              /**
                              * Copyright 2014 Facebook, Inc.
                              *
                              * Licensed under the Apache License, Version 2.0 (the "License");
                              Severity: Major
                              Found in server/public/jsx-transformer-0.12.2.js - About 6 hrs to fix

                                Function 34 has 160 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                },{"../src/utils":22,"esprima-fb":9}],34:[function(_dereq_,module,exports){
                                /**
                                * Copyright 2013-2014, Facebook, Inc.
                                * All rights reserved.
                                *
                                Severity: Major
                                Found in server/public/jsx-transformer-0.12.2.js - About 6 hrs to fix

                                  Function 6 has 143 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  },{}],6:[function(_dereq_,module,exports){
                                  (function (process){
                                  // Copyright Joyent, Inc. and other Node contributors.
                                  //
                                  // Permission is hereby granted, free of charge, to any person obtaining a
                                  Severity: Major
                                  Found in server/public/jsx-transformer-0.12.2.js - About 5 hrs to fix

                                    Function visitReactTag has 136 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    function visitReactTag(traverse, object, path, state) {
                                    var openingElement = object.openingElement;
                                    var nameObject = openingElement.name;
                                    var attributesObject = openingElement.attributes;
                                     
                                     
                                    Severity: Major
                                    Found in server/public/jsx-transformer-0.12.2.js - About 5 hrs to fix

                                      Function parseObjectProperty has 135 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      function parseObjectProperty() {
                                      var token, key, id, value, param, expr, computed,
                                      marker = markerCreate(), returnType;
                                       
                                      token = lookahead;
                                      Severity: Major
                                      Found in server/public/jsx-transformer-0.12.2.js - About 5 hrs to fix

                                        Function 18 has 134 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        },{"./source-map-generator":16,"./util":18,"amdefine":19}],18:[function(_dereq_,module,exports){
                                        /* -*- Mode: js; js-indent-level: 2; -*- */
                                        /*
                                        * Copyright 2011 Mozilla Foundation and contributors
                                        * Licensed under the New BSD license. See LICENSE or:
                                        Severity: Major
                                        Found in server/public/jsx-transformer-0.12.2.js - About 5 hrs to fix

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

                                          },{}],33:[function(_dereq_,module,exports){
                                          var esprima = _dereq_('esprima-fb');
                                          var utils = _dereq_('../src/utils');
                                           
                                          var Syntax = esprima.Syntax;
                                          Severity: Major
                                          Found in server/public/jsx-transformer-0.12.2.js - About 4 hrs to fix

                                            Function scanComment has 117 lines of code (exceeds 25 allowed). Consider refactoring.
                                            Open

                                            function scanComment() {
                                            var comment, ch, loc, start, blockComment, lineComment;
                                             
                                            comment = '';
                                            blockComment = false;
                                            Severity: Major
                                            Found in server/public/jsx-transformer-0.12.2.js - About 4 hrs to fix

                                              Function scanTemplate has 110 lines of code (exceeds 25 allowed). Consider refactoring.
                                              Open

                                              function scanTemplate() {
                                              var cooked = '', ch, start, terminated, tail, restore, unescaped, code, octal;
                                               
                                              terminated = false;
                                              tail = false;
                                              Severity: Major
                                              Found in server/public/jsx-transformer-0.12.2.js - About 4 hrs to fix

                                                Function scanRegExp has 105 lines of code (exceeds 25 allowed). Consider refactoring.
                                                Open

                                                function scanRegExp() {
                                                var str, ch, start, pattern, flags, value, classMarker = false, restore, terminated = false, tmp;
                                                 
                                                lookahead = null;
                                                skipComment();
                                                Severity: Major
                                                Found in server/public/jsx-transformer-0.12.2.js - About 4 hrs to fix

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

                                                  },{"../src/utils":22,"esprima-fb":9}],29:[function(_dereq_,module,exports){
                                                  /**
                                                  * Copyright 2013 Facebook, Inc.
                                                  *
                                                  * Licensed under the Apache License, Version 2.0 (the "License");
                                                  Severity: Major
                                                  Found in server/public/jsx-transformer-0.12.2.js - About 3 hrs to fix

                                                    Function parseMethodDefinition has 95 lines of code (exceeds 25 allowed). Consider refactoring.
                                                    Open

                                                    function parseMethodDefinition(existingPropNames, key, isStatic, generator, computed) {
                                                    var token, param, propType, isValidDuplicateProp = false,
                                                    isAsync, typeParameters, tokenValue, returnType,
                                                    annotationMarker;
                                                     
                                                     
                                                    Severity: Major
                                                    Found in server/public/jsx-transformer-0.12.2.js - About 3 hrs to fix

                                                      Function scanStringLiteral has 94 lines of code (exceeds 25 allowed). Consider refactoring.
                                                      Open

                                                      function scanStringLiteral() {
                                                      var str = '', quote, start, ch, code, unescaped, restore, octal = false;
                                                       
                                                      quote = source[index];
                                                      assert((quote === '\'' || quote === '"'),
                                                      Severity: Major
                                                      Found in server/public/jsx-transformer-0.12.2.js - About 3 hrs to fix

                                                        Function parsePrimaryType has 91 lines of code (exceeds 25 allowed). Consider refactoring.
                                                        Open

                                                        function parsePrimaryType() {
                                                        var typeIdentifier = null, params = null, returnType = null,
                                                        marker = markerCreate(), rest = null, tmp,
                                                        typeParameters, token, type, isGroupedType = false;
                                                         
                                                         
                                                        Severity: Major
                                                        Found in server/public/jsx-transformer-0.12.2.js - About 3 hrs to fix

                                                          Function 3 has 90 lines of code (exceeds 25 allowed). Consider refactoring.
                                                          Open

                                                          },{"base64-js":3,"ieee754":4,"is-array":5}],3:[function(_dereq_,module,exports){
                                                          var lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
                                                           
                                                          ;(function (exports) {
                                                          'use strict';
                                                          Severity: Major
                                                          Found in server/public/jsx-transformer-0.12.2.js - About 3 hrs to fix

                                                            Function parse has 84 lines of code (exceeds 25 allowed). Consider refactoring.
                                                            Open

                                                            function parse(code, options) {
                                                            var program, toString;
                                                             
                                                            toString = String;
                                                            if (typeof code !== 'string' && !(code instanceof String)) {
                                                            Severity: Major
                                                            Found in server/public/jsx-transformer-0.12.2.js - About 3 hrs to fix

                                                              Function scanNumericLiteral has 84 lines of code (exceeds 25 allowed). Consider refactoring.
                                                              Open

                                                              function scanNumericLiteral() {
                                                              var number, start, ch, octal;
                                                               
                                                              ch = source[index];
                                                              assert(isDecimalDigit(ch.charCodeAt(0)) || (ch === '.'),
                                                              Severity: Major
                                                              Found in server/public/jsx-transformer-0.12.2.js - About 3 hrs to fix

                                                                Function 23 has 81 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                Open

                                                                },{"./docblock":20,"esprima-fb":9}],23:[function(_dereq_,module,exports){
                                                                /**
                                                                * Copyright 2013 Facebook, Inc.
                                                                *
                                                                * Licensed under the Apache License, Version 2.0 (the "License");
                                                                Severity: Major
                                                                Found in server/public/jsx-transformer-0.12.2.js - About 3 hrs to fix

                                                                  Function tokenize has 80 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                  Open

                                                                  function tokenize(code, options) {
                                                                  var toString,
                                                                  token,
                                                                  tokens;
                                                                   
                                                                   
                                                                  Severity: Major
                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 3 hrs to fix

                                                                    Function visitClassFunctionExpression has 80 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                    Open

                                                                    function visitClassFunctionExpression(traverse, node, path, state) {
                                                                    var methodNode = path[0];
                                                                    var isGetter = methodNode.kind === 'get';
                                                                    var isSetter = methodNode.kind === 'set';
                                                                     
                                                                     
                                                                    Severity: Major
                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 3 hrs to fix

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

                                                                      },{"jstransform":21,"jstransform/src/utils":22}],37:[function(_dereq_,module,exports){
                                                                      /*global exports:true*/
                                                                      var es6ArrowFunctions = _dereq_('jstransform/visitors/es6-arrow-function-visitors');
                                                                      var es6Classes = _dereq_('jstransform/visitors/es6-class-visitors');
                                                                      var es6Destructuring = _dereq_('jstransform/visitors/es6-destructuring-visitors');
                                                                      Severity: Major
                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 3 hrs to fix

                                                                        Function parseExportDeclaration has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                        Open

                                                                        function parseExportDeclaration() {
                                                                        var backtrackToken, id, previousAllowKeyword, declaration = null,
                                                                        isExportFromIdentifier,
                                                                        src = null, specifiers = [],
                                                                        marker = markerCreate();
                                                                        Severity: Major
                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

                                                                          Function parseStatement has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                          Open

                                                                          function parseStatement() {
                                                                          var type = lookahead.type,
                                                                          marker,
                                                                          expr,
                                                                          labeledBody,
                                                                          Severity: Major
                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

                                                                            Function 4 has 73 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                            Open

                                                                            },{}],4:[function(_dereq_,module,exports){
                                                                            exports.read = function(buffer, offset, isLE, mLen, nBytes) {
                                                                            var e, m,
                                                                            eLen = nBytes * 8 - mLen - 1,
                                                                            eMax = (1 << eLen) - 1,
                                                                            Severity: Major
                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

                                                                              Function parseForStatement has 72 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                              Open

                                                                              function parseForStatement(opts) {
                                                                              var init, test, update, left, right, body, operator, oldInIteration,
                                                                              marker = markerCreate();
                                                                              init = test = update = null;
                                                                              expectKeyword('for');
                                                                              Severity: Major
                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

                                                                                Function parseFunctionExpression has 71 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                Open

                                                                                function parseFunctionExpression() {
                                                                                var token, id = null, firstRestricted, message, tmp, body, generator, isAsync,
                                                                                previousStrict, previousYieldAllowed, previousAwaitAllowed,
                                                                                marker = markerCreate(), typeParameters;
                                                                                 
                                                                                 
                                                                                Severity: Major
                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

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

                                                                                  },{"_process":7}],7:[function(_dereq_,module,exports){
                                                                                  // shim for using process in browser
                                                                                   
                                                                                  var process = module.exports = {};
                                                                                   
                                                                                   
                                                                                  Severity: Major
                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

                                                                                    Function skipComment has 68 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                    Open

                                                                                    function skipComment() {
                                                                                    var ch, blockComment, lineComment;
                                                                                     
                                                                                    blockComment = false;
                                                                                    lineComment = false;
                                                                                    Severity: Major
                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

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

                                                                                      function parseFunctionDeclaration() {
                                                                                      var id, body, token, tmp, firstRestricted, message, generator, isAsync,
                                                                                      previousStrict, previousYieldAllowed, previousAwaitAllowed,
                                                                                      marker = markerCreate(), typeParameters;
                                                                                       
                                                                                       
                                                                                      Severity: Major
                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

                                                                                        Function traverse has 65 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                        Open

                                                                                        function traverse(node, path, state) {
                                                                                        // Create a scope stack entry if this is the first node we've encountered in
                                                                                        // its local scope
                                                                                        var parentNode = path[0];
                                                                                        if (!Array.isArray(node) && state.localScope.parentNode !== parentNode) {
                                                                                        Severity: Major
                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

                                                                                          Function parseAssignmentExpression has 64 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                          Open

                                                                                          function parseAssignmentExpression() {
                                                                                          var marker, expr, token, params, oldParenthesizedCount,
                                                                                          backtrackToken = lookahead, possiblyAsync = false;
                                                                                           
                                                                                          if (matchYield()) {
                                                                                          Severity: Major
                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

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

                                                                                            function _renderClassBody(traverse, node, path, state) {
                                                                                            var className = state.className;
                                                                                            var superClass = state.superClass;
                                                                                             
                                                                                            // Set up prototype of constructor on same line as `extends` for line-number
                                                                                            Severity: Major
                                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

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

                                                                                              function parsePrimaryExpression() {
                                                                                              var marker, type, token, expr;
                                                                                               
                                                                                              type = lookahead.type;
                                                                                               
                                                                                               
                                                                                              Severity: Major
                                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

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

                                                                                                function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer) {
                                                                                                // The SourceNode we want to fill with the generated code
                                                                                                // and the SourceMap
                                                                                                var node = new SourceNode();
                                                                                                 
                                                                                                 
                                                                                                Severity: Major
                                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

                                                                                                  Function SourceNode_toStringWithSourceMap has 61 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                  Open

                                                                                                  SourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) {
                                                                                                  var generated = {
                                                                                                  code: "",
                                                                                                  line: 1,
                                                                                                  column: 0
                                                                                                  Severity: Major
                                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

                                                                                                    Function SourceMapConsumer_parseMappings has 60 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                    Open

                                                                                                    function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {
                                                                                                    var generatedLine = 1;
                                                                                                    var previousGeneratedColumn = 0;
                                                                                                    var previousOriginalLine = 0;
                                                                                                    var previousOriginalColumn = 0;
                                                                                                    Severity: Major
                                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

                                                                                                      Consider simplifying this complex logical expression.
                                                                                                      Open

                                                                                                      else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated
                                                                                                      && aOriginal && 'line' in aOriginal && 'column' in aOriginal
                                                                                                      && aGenerated.line > 0 && aGenerated.column >= 0
                                                                                                      && aOriginal.line > 0 && aOriginal.column >= 0
                                                                                                      && aSource) {
                                                                                                      Severity: Critical
                                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

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

                                                                                                        },{"../src/utils":22,"esprima-fb":9}],31:[function(_dereq_,module,exports){
                                                                                                        /**
                                                                                                        * Copyright 2004-present Facebook. All Rights Reserved.
                                                                                                        */
                                                                                                        /*global exports:true*/
                                                                                                        Severity: Major
                                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

                                                                                                          Function 12 has 57 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                          Open

                                                                                                          },{"./util":18,"amdefine":19}],12:[function(_dereq_,module,exports){
                                                                                                          /* -*- Mode: js; js-indent-level: 2; -*- */
                                                                                                          /*
                                                                                                          * Copyright 2011 Mozilla Foundation and contributors
                                                                                                          * Licensed under the New BSD license. See LICENSE or:
                                                                                                          Severity: Major
                                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

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

                                                                                                            },{"../src/utils":22,"esprima-fb":9}],28:[function(_dereq_,module,exports){
                                                                                                            /**
                                                                                                            * Copyright 2013 Facebook, Inc.
                                                                                                            *
                                                                                                            * Licensed under the Apache License, Version 2.0 (the "License");
                                                                                                            Severity: Major
                                                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

                                                                                                              Function loadScripts has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                              Open

                                                                                                              function loadScripts(scripts) {
                                                                                                              var result = [];
                                                                                                              var count = scripts.length;
                                                                                                               
                                                                                                              function check() {
                                                                                                              Severity: Major
                                                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

                                                                                                                Function parseArrayInitialiser has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                Open

                                                                                                                function parseArrayInitialiser() {
                                                                                                                var elements = [], blocks = [], filter = null, tmp, possiblecomprehension = true, body,
                                                                                                                marker = markerCreate();
                                                                                                                 
                                                                                                                expect('[');
                                                                                                                Severity: Major
                                                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

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

                                                                                                                  function binaryPrecedence(token, allowIn) {
                                                                                                                  var prec = 0;
                                                                                                                   
                                                                                                                  if (token.type !== Token.Punctuator && token.type !== Token.Keyword) {
                                                                                                                  return 0;
                                                                                                                  Severity: Major
                                                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

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

                                                                                                                    },{"./xjs":36,"jstransform":21,"jstransform/src/utils":22}],35:[function(_dereq_,module,exports){
                                                                                                                    /**
                                                                                                                    * Copyright 2013-2014, Facebook, Inc.
                                                                                                                    * All rights reserved.
                                                                                                                    *
                                                                                                                    Severity: Major
                                                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

                                                                                                                      Function parseFunctionSourceElements has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                      Open

                                                                                                                      function parseFunctionSourceElements() {
                                                                                                                      var sourceElement, sourceElements = [], token, directive, firstRestricted,
                                                                                                                      oldLabelSet, oldInIteration, oldInSwitch, oldInFunctionBody, oldParenthesizedCount,
                                                                                                                      marker = markerCreate();
                                                                                                                       
                                                                                                                       
                                                                                                                      Severity: Major
                                                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

                                                                                                                        Function parseParam has 52 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                        Open

                                                                                                                        function parseParam(options) {
                                                                                                                        var marker, token, rest, param, def;
                                                                                                                         
                                                                                                                        token = lookahead;
                                                                                                                        if (token.value === '...') {
                                                                                                                        Severity: Major
                                                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

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

                                                                                                                          Buffer.prototype.write = function (string, offset, length, encoding) {
                                                                                                                          // Support both (string, offset, length, encoding)
                                                                                                                          // and the legacy (string, encoding, offset, length)
                                                                                                                          if (isFinite(offset)) {
                                                                                                                          if (!isFinite(length)) {
                                                                                                                          Severity: Minor
                                                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

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

                                                                                                                            function parseObjectType(allowStatic) {
                                                                                                                            var callProperties = [], indexers = [], marker, optional = false,
                                                                                                                            properties = [], property, propertyKey, propertyTypeAnnotation,
                                                                                                                            token, isStatic;
                                                                                                                             
                                                                                                                             
                                                                                                                            Severity: Minor
                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 2 hrs to fix

                                                                                                                              Function SourceMapGenerator_applySourceMap has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                              Open

                                                                                                                              function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile) {
                                                                                                                              // If aSourceFile is omitted, we will use the file property of the SourceMap
                                                                                                                              if (!aSourceFile) {
                                                                                                                              aSourceFile = aSourceMapConsumer.file;
                                                                                                                              }
                                                                                                                              Severity: Minor
                                                                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                Function reinterpretAsCoverFormalsList has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                Open

                                                                                                                                function reinterpretAsCoverFormalsList(expressions) {
                                                                                                                                var i, len, param, params, defaults, defaultCount, options, rest;
                                                                                                                                 
                                                                                                                                params = [];
                                                                                                                                defaults = [];
                                                                                                                                Severity: Minor
                                                                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                  Function 30 has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                  Open

                                                                                                                                  },{"../src/utils":22,"esprima-fb":9}],30:[function(_dereq_,module,exports){
                                                                                                                                  /**
                                                                                                                                  * Copyright 2013 Facebook, Inc.
                                                                                                                                  *
                                                                                                                                  * Licensed under the Apache License, Version 2.0 (the "License");
                                                                                                                                  Severity: Minor
                                                                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                    Function nextTick has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                    Open

                                                                                                                                    process.nextTick = (function () {
                                                                                                                                    var canSetImmediate = typeof window !== 'undefined'
                                                                                                                                    && window.setImmediate;
                                                                                                                                    var canMutationObserver = typeof window !== 'undefined'
                                                                                                                                    && window.MutationObserver;
                                                                                                                                    Severity: Minor
                                                                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                      Function SourceMapGenerator_serializeMappings has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                      Open

                                                                                                                                      function SourceMapGenerator_serializeMappings() {
                                                                                                                                      var previousGeneratedColumn = 0;
                                                                                                                                      var previousGeneratedLine = 1;
                                                                                                                                      var previousOriginalColumn = 0;
                                                                                                                                      var previousOriginalLine = 0;
                                                                                                                                      Severity: Minor
                                                                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                        Function advance has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                        Open

                                                                                                                                        function advance() {
                                                                                                                                        var ch;
                                                                                                                                         
                                                                                                                                        if (!state.inXJSChild) {
                                                                                                                                        skipComment();
                                                                                                                                        Severity: Minor
                                                                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                          Function 11 has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                          Open

                                                                                                                                          },{"./source-map/source-map-consumer":15,"./source-map/source-map-generator":16,"./source-map/source-node":17}],11:[function(_dereq_,module,exports){
                                                                                                                                          /* -*- Mode: js; js-indent-level: 2; -*- */
                                                                                                                                          /*
                                                                                                                                          * Copyright 2011 Mozilla Foundation and contributors
                                                                                                                                          * Licensed under the New BSD license. See LICENSE or:
                                                                                                                                          Severity: Minor
                                                                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                            Buffer._augment = function (arr) {
                                                                                                                                            arr.constructor = Buffer
                                                                                                                                            arr._isBuffer = true
                                                                                                                                             
                                                                                                                                            // save reference to original Uint8Array get/set methods before overwriting
                                                                                                                                            Severity: Minor
                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                              function advanceSlash() {
                                                                                                                                              var prevToken,
                                                                                                                                              checkToken;
                                                                                                                                              // Using the following algorithm:
                                                                                                                                              // https://github.com/mozilla/sweet.js/wiki/design
                                                                                                                                              Severity: Minor
                                                                                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                function Buffer (subject, encoding, noZero) {
                                                                                                                                                if (!(this instanceof Buffer))
                                                                                                                                                return new Buffer(subject, encoding, noZero)
                                                                                                                                                 
                                                                                                                                                var type = typeof subject
                                                                                                                                                Severity: Minor
                                                                                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                  function parseBinaryExpression() {
                                                                                                                                                  var expr, token, prec, previousAllowIn, stack, right, operator, left, i,
                                                                                                                                                  marker, markers;
                                                                                                                                                   
                                                                                                                                                  previousAllowIn = state.allowIn;
                                                                                                                                                  Severity: Minor
                                                                                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                    Function renderXJSLiteral has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                    Open

                                                                                                                                                    function renderXJSLiteral(object, isLast, state, start, end) {
                                                                                                                                                    var lines = object.value.split(/\r\n|\n|\r/);
                                                                                                                                                     
                                                                                                                                                    if (start) {
                                                                                                                                                    utils.append(start, state);
                                                                                                                                                    Severity: Minor
                                                                                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                      Function 20 has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                      Open

                                                                                                                                                      },{"_process":7,"path":6}],20:[function(_dereq_,module,exports){
                                                                                                                                                      /**
                                                                                                                                                      * Copyright 2013 Facebook, Inc.
                                                                                                                                                      *
                                                                                                                                                      * Licensed under the Apache License, Version 2.0 (the "License");
                                                                                                                                                      Severity: Minor
                                                                                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                        Function write has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                        Open

                                                                                                                                                        exports.write = function(buffer, value, offset, isLE, mLen, nBytes) {
                                                                                                                                                        var e, m, c,
                                                                                                                                                        eLen = nBytes * 8 - mLen - 1,
                                                                                                                                                        eMax = (1 << eLen) - 1,
                                                                                                                                                        eBias = eMax >> 1,
                                                                                                                                                        Severity: Minor
                                                                                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                          Consider simplifying this complex logical expression.
                                                                                                                                                          Open

                                                                                                                                                          if (object &&
                                                                                                                                                          object.type === Syntax.CallExpression &&
                                                                                                                                                          object.callee.type === Syntax.MemberExpression &&
                                                                                                                                                          object.callee.object.type === Syntax.Identifier &&
                                                                                                                                                          object.callee.object.name === 'React' &&
                                                                                                                                                          Severity: Critical
                                                                                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                            function processComment(node) {
                                                                                                                                                            var lastChild,
                                                                                                                                                            trailingComments,
                                                                                                                                                            bottomRight = extra.bottomRightStack,
                                                                                                                                                            last = bottomRight[bottomRight.length - 1];
                                                                                                                                                            Severity: Minor
                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                              function parseObjectInitialiser() {
                                                                                                                                                              var properties = [], property, name, key, kind, map = {}, toString = String,
                                                                                                                                                              marker = markerCreate();
                                                                                                                                                               
                                                                                                                                                              expect('{');
                                                                                                                                                              Severity: Minor
                                                                                                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                Function parseSourceElement has 39 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                                Open

                                                                                                                                                                function parseSourceElement() {
                                                                                                                                                                var token;
                                                                                                                                                                if (lookahead.type === Token.Keyword) {
                                                                                                                                                                switch (lookahead.value) {
                                                                                                                                                                case 'const':
                                                                                                                                                                Severity: Minor
                                                                                                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                  Function reinterpretAsAssignmentBindingPattern has 39 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                                  Open

                                                                                                                                                                  function reinterpretAsAssignmentBindingPattern(expr) {
                                                                                                                                                                  var i, len, property, element;
                                                                                                                                                                   
                                                                                                                                                                  if (expr.type === Syntax.ObjectExpression) {
                                                                                                                                                                  expr.type = Syntax.ObjectPattern;
                                                                                                                                                                  Severity: Minor
                                                                                                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                    function parseExpression() {
                                                                                                                                                                    var marker, expr, expressions, sequence, coverFormalsList, spreadFound, oldParenthesizedCount;
                                                                                                                                                                     
                                                                                                                                                                    oldParenthesizedCount = state.parenthesizedCount;
                                                                                                                                                                     
                                                                                                                                                                     
                                                                                                                                                                    Severity: Minor
                                                                                                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                      function visitTaggedTemplateExpression(traverse, node, path, state) {
                                                                                                                                                                      var template = node.quasi;
                                                                                                                                                                      var numQuasis = template.quasis.length;
                                                                                                                                                                       
                                                                                                                                                                      // print the tag
                                                                                                                                                                      Severity: Minor
                                                                                                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                        function transformCode(code, url, options) {
                                                                                                                                                                        try {
                                                                                                                                                                        var transformed = transformReact(code, options);
                                                                                                                                                                        } catch(e) {
                                                                                                                                                                        e.message += '\n at ';
                                                                                                                                                                        Severity: Minor
                                                                                                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                          function visitTemplateLiteral(traverse, node, path, state) {
                                                                                                                                                                          var templateElements = node.quasis;
                                                                                                                                                                           
                                                                                                                                                                          utils.append('(', state);
                                                                                                                                                                          for (var ii = 0; ii < templateElements.length; ii++) {
                                                                                                                                                                          Severity: Minor
                                                                                                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                            Function getDestructuredComponents has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                                            Open

                                                                                                                                                                            function getDestructuredComponents(node, state) {
                                                                                                                                                                            var tmpIndex = state.localScope.tempVarIndex;
                                                                                                                                                                            var components = [];
                                                                                                                                                                            var patternItems = getPatternItems(node);
                                                                                                                                                                             
                                                                                                                                                                             
                                                                                                                                                                            Severity: Minor
                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                              Function catchup has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                                              Open

                                                                                                                                                                              function catchup(end, state, contentTransformer) {
                                                                                                                                                                              if (end < state.g.position) {
                                                                                                                                                                              // cannot move backwards
                                                                                                                                                                              return;
                                                                                                                                                                              }
                                                                                                                                                                              Severity: Minor
                                                                                                                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                                Function parseDeclareModule has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                                                Open

                                                                                                                                                                                function parseDeclareModule() {
                                                                                                                                                                                var body = [], bodyMarker, id, idMarker, marker = markerCreate(), token;
                                                                                                                                                                                expectContextualKeyword('declare');
                                                                                                                                                                                expectContextualKeyword('module');
                                                                                                                                                                                 
                                                                                                                                                                                 
                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                                  Function getEscapedIdentifier has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                                                  Open

                                                                                                                                                                                  function getEscapedIdentifier() {
                                                                                                                                                                                  var ch, id;
                                                                                                                                                                                   
                                                                                                                                                                                  ch = source.charCodeAt(index++);
                                                                                                                                                                                  id = String.fromCharCode(ch);
                                                                                                                                                                                  Severity: Minor
                                                                                                                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                                    Function parseVariableDeclaration has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                                                    Open

                                                                                                                                                                                    function parseVariableDeclaration(kind) {
                                                                                                                                                                                    var id,
                                                                                                                                                                                    marker = markerCreate(),
                                                                                                                                                                                    init = null,
                                                                                                                                                                                    typeAnnotationMarker = markerCreate();
                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                                      Function visitObjectLiteralSpread has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                                                      Open

                                                                                                                                                                                      function visitObjectLiteralSpread(traverse, node, path, state) {
                                                                                                                                                                                      utils.catchup(node.range[0], state);
                                                                                                                                                                                       
                                                                                                                                                                                      utils.append('Object.assign({', state);
                                                                                                                                                                                       
                                                                                                                                                                                       
                                                                                                                                                                                      Severity: Minor
                                                                                                                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                                        Function runFactory has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                                                        Open

                                                                                                                                                                                        function runFactory(id, deps, factory) {
                                                                                                                                                                                        var r, e, m, result;
                                                                                                                                                                                         
                                                                                                                                                                                        if (id) {
                                                                                                                                                                                        e = loaderCache[id] = {};
                                                                                                                                                                                        Severity: Minor
                                                                                                                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                                          Function SourceMapGenerator_fromSourceMap has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                                                          Open

                                                                                                                                                                                          function SourceMapGenerator_fromSourceMap(aSourceMapConsumer) {
                                                                                                                                                                                          var sourceRoot = aSourceMapConsumer.sourceRoot;
                                                                                                                                                                                          var generator = new SourceMapGenerator({
                                                                                                                                                                                          file: aSourceMapConsumer.file,
                                                                                                                                                                                          sourceRoot: sourceRoot
                                                                                                                                                                                          Severity: Minor
                                                                                                                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                                            },{"../src/utils":22,"./es6-rest-param-visitors":28,"./es7-rest-property-helpers":30,"./reserved-words-helper":32,"esprima-fb":9}],26:[function(_dereq_,module,exports){
                                                                                                                                                                                            /**
                                                                                                                                                                                            * Copyright 2013 Facebook, Inc.
                                                                                                                                                                                            *
                                                                                                                                                                                            * Licensed under the Apache License, Version 2.0 (the "License");
                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                                              Function visitSuperCallExpression has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                                                              Open

                                                                                                                                                                                              function visitSuperCallExpression(traverse, node, path, state) {
                                                                                                                                                                                              var superClassName = state.superClass.name;
                                                                                                                                                                                               
                                                                                                                                                                                              if (node.callee.type === Syntax.Identifier) {
                                                                                                                                                                                              if (_isConstructorMethod(state.methodNode)) {
                                                                                                                                                                                              Severity: Minor
                                                                                                                                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                                                Function collectToken has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                                                                Open

                                                                                                                                                                                                function collectToken() {
                                                                                                                                                                                                var start, loc, token, range, value, entry;
                                                                                                                                                                                                 
                                                                                                                                                                                                if (!state.inXJSChild) {
                                                                                                                                                                                                skipComment();
                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                                                  Consider simplifying this complex logical expression.
                                                                                                                                                                                                  Open

                                                                                                                                                                                                  if (aGenerated && 'line' in aGenerated && 'column' in aGenerated
                                                                                                                                                                                                  && aGenerated.line > 0 && aGenerated.column >= 0
                                                                                                                                                                                                  && !aOriginal && !aSource && !aName) {
                                                                                                                                                                                                  // Case 1.
                                                                                                                                                                                                  return;
                                                                                                                                                                                                  Severity: Critical
                                                                                                                                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                                                    function parseUnaryExpression() {
                                                                                                                                                                                                    var marker, token, expr;
                                                                                                                                                                                                     
                                                                                                                                                                                                    if (lookahead.type !== Token.Punctuator && lookahead.type !== Token.Keyword) {
                                                                                                                                                                                                    return parsePostfixExpression();
                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                                                      Function reinterpretAsDestructuredParameter has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                                                                      Open

                                                                                                                                                                                                      function reinterpretAsDestructuredParameter(options, expr) {
                                                                                                                                                                                                      var i, len, property, element;
                                                                                                                                                                                                       
                                                                                                                                                                                                      if (expr.type === Syntax.ObjectExpression) {
                                                                                                                                                                                                      expr.type = Syntax.ObjectPattern;
                                                                                                                                                                                                      Severity: Minor
                                                                                                                                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                                                        Function toString has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                                                                        Open

                                                                                                                                                                                                        Buffer.prototype.toString = function (encoding, start, end) {
                                                                                                                                                                                                        var loweredCase = false
                                                                                                                                                                                                         
                                                                                                                                                                                                        start = start >>> 0
                                                                                                                                                                                                        end = end === undefined || end === Infinity ? this.length : end >>> 0
                                                                                                                                                                                                        Severity: Minor
                                                                                                                                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                                                          Function createState has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                                                                          Open

                                                                                                                                                                                                          function createState(source, rootNode, transformOptions) {
                                                                                                                                                                                                          return {
                                                                                                                                                                                                          /**
                                                                                                                                                                                                          * A tree representing the current local scope (and its lexical scope chain)
                                                                                                                                                                                                          * Useful for tracking identifiers from parent scopes, etc.
                                                                                                                                                                                                          Severity: Minor
                                                                                                                                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                                                            Function parseDeclareFunction has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                                                                            Open

                                                                                                                                                                                                            function parseDeclareFunction() {
                                                                                                                                                                                                            var id, idMarker,
                                                                                                                                                                                                            marker = markerCreate(), params, returnType, rest, tmp,
                                                                                                                                                                                                            typeParameters = null, value, valueMarker;
                                                                                                                                                                                                             
                                                                                                                                                                                                             
                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                                                              Function collectRegex has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                                                                              Open

                                                                                                                                                                                                              function collectRegex() {
                                                                                                                                                                                                              var pos, loc, regex, token;
                                                                                                                                                                                                               
                                                                                                                                                                                                              skipComment();
                                                                                                                                                                                                               
                                                                                                                                                                                                               
                                                                                                                                                                                                              Severity: Minor
                                                                                                                                                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                                                                Function createFunctionExpression has 10 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                Open

                                                                                                                                                                                                                createFunctionExpression: function (id, params, defaults, body, rest, generator, expression,
                                                                                                                                                                                                                isAsync, returnType, typeParameters) {
                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                                                                  Function createFunctionDeclaration has 10 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                  createFunctionDeclaration: function (id, params, defaults, body, rest, generator, expression,
                                                                                                                                                                                                                  isAsync, returnType, typeParameters) {
                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                                                                    },{"amdefine":19}],14:[function(_dereq_,module,exports){
                                                                                                                                                                                                                    /* -*- Mode: js; js-indent-level: 2; -*- */
                                                                                                                                                                                                                    /*
                                                                                                                                                                                                                    * Copyright 2011 Mozilla Foundation and contributors
                                                                                                                                                                                                                    * Licensed under the New BSD license. See LICENSE or:
                                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                                                                      function parseProgramElements() {
                                                                                                                                                                                                                      var sourceElement, sourceElements = [], token, directive, firstRestricted;
                                                                                                                                                                                                                       
                                                                                                                                                                                                                      while (index < length) {
                                                                                                                                                                                                                      token = lookahead;
                                                                                                                                                                                                                      Severity: Minor
                                                                                                                                                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                                                                        Function parseClassExpression has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                        function parseClassExpression() {
                                                                                                                                                                                                                        var id, implemented, previousYieldAllowed, superClass = null,
                                                                                                                                                                                                                        superTypeParameters, marker = markerCreate(), typeParameters;
                                                                                                                                                                                                                         
                                                                                                                                                                                                                        expectKeyword('class');
                                                                                                                                                                                                                        Severity: Minor
                                                                                                                                                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                                                                          Function uint8ToBase64 has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                          function uint8ToBase64 (uint8) {
                                                                                                                                                                                                                          var i,
                                                                                                                                                                                                                          extraBytes = uint8.length % 3, // if we have 1 byte left, pad 2 bytes
                                                                                                                                                                                                                          output = "",
                                                                                                                                                                                                                          temp, length
                                                                                                                                                                                                                          Severity: Minor
                                                                                                                                                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                                                                            Function relative has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                            exports.relative = function(from, to) {
                                                                                                                                                                                                                            from = exports.resolve(from).substr(1);
                                                                                                                                                                                                                            to = exports.resolve(to).substr(1);
                                                                                                                                                                                                                             
                                                                                                                                                                                                                            function trim(arr) {
                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                                                                              Function scanXJSText has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                              function scanXJSText(stopChars) {
                                                                                                                                                                                                                              var ch, str = '', start;
                                                                                                                                                                                                                              start = index;
                                                                                                                                                                                                                              while (index < length) {
                                                                                                                                                                                                                              ch = source[index];
                                                                                                                                                                                                                              Severity: Minor
                                                                                                                                                                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                                                                                Function parseSwitchStatement has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                function parseSwitchStatement() {
                                                                                                                                                                                                                                var discriminant, cases, clause, oldInSwitch, defaultFound, marker = markerCreate();
                                                                                                                                                                                                                                 
                                                                                                                                                                                                                                expectKeyword('switch');
                                                                                                                                                                                                                                 
                                                                                                                                                                                                                                 
                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                                                                                  Buffer.prototype.slice = function (start, end) {
                                                                                                                                                                                                                                  var len = this.length
                                                                                                                                                                                                                                  start = ~~start
                                                                                                                                                                                                                                  end = end === undefined ? len : ~~end
                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                  Severity: Minor
                                                                                                                                                                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                                                                                    function scanOctalLiteral(prefix, start) {
                                                                                                                                                                                                                                    var number, octal;
                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                    if (isOctalDigit(prefix)) {
                                                                                                                                                                                                                                    octal = true;
                                                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                                                                                      function parsePropertyFunction(options) {
                                                                                                                                                                                                                                      var previousStrict, previousYieldAllowed, previousAwaitAllowed,
                                                                                                                                                                                                                                      params, defaults, body, marker = markerCreate();
                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                      previousStrict = strict;
                                                                                                                                                                                                                                      Severity: Minor
                                                                                                                                                                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                                                                                        function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) {
                                                                                                                                                                                                                                        var context = aContext || null;
                                                                                                                                                                                                                                        var order = aOrder || SourceMapConsumer.GENERATED_ORDER;
                                                                                                                                                                                                                                         
                                                                                                                                                                                                                                        var mappings;
                                                                                                                                                                                                                                        Severity: Minor
                                                                                                                                                                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                                                                                          function isKeyword(id) {
                                                                                                                                                                                                                                          if (strict && isStrictModeReservedWord(id)) {
                                                                                                                                                                                                                                          return true;
                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                          Severity: Minor
                                                                                                                                                                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                                                                                            function parseClassDeclaration() {
                                                                                                                                                                                                                                            var id, implemented, previousYieldAllowed, superClass = null,
                                                                                                                                                                                                                                            superTypeParameters, marker = markerCreate(), typeParameters;
                                                                                                                                                                                                                                             
                                                                                                                                                                                                                                            expectKeyword('class');
                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                                                                                              function transform(visitors, source, options) {
                                                                                                                                                                                                                                              options = options || {};
                                                                                                                                                                                                                                              var ast;
                                                                                                                                                                                                                                              try {
                                                                                                                                                                                                                                              var cachedAst = _astCache[source];
                                                                                                                                                                                                                                              Severity: Minor
                                                                                                                                                                                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                                                                                                Buffer.byteLength = function (str, encoding) {
                                                                                                                                                                                                                                                var ret
                                                                                                                                                                                                                                                str = str + ''
                                                                                                                                                                                                                                                switch (encoding || 'utf8') {
                                                                                                                                                                                                                                                case 'ascii':
                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                                                                                                  function parseImportDeclaration() {
                                                                                                                                                                                                                                                  var specifiers, src, marker = markerCreate();
                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                  expectKeyword('import');
                                                                                                                                                                                                                                                  specifiers = [];
                                                                                                                                                                                                                                                  Severity: Minor
                                                                                                                                                                                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                                                                                                    function parseContinueStatement() {
                                                                                                                                                                                                                                                    var label = null, key, marker = markerCreate();
                                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                                    expectKeyword('continue');
                                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                                                                                                      function scanXJSEntity() {
                                                                                                                                                                                                                                                      var ch, str = '', start = index, count = 0, code;
                                                                                                                                                                                                                                                      ch = source[index];
                                                                                                                                                                                                                                                      assert(ch === '&', 'Entity must start with an ampersand');
                                                                                                                                                                                                                                                      index++;
                                                                                                                                                                                                                                                      Severity: Minor
                                                                                                                                                                                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                                                                                                        function visitArrowFunction(traverse, node, path, state) {
                                                                                                                                                                                                                                                        var notInExpression = (path[0].type === Syntax.ExpressionStatement);
                                                                                                                                                                                                                                                         
                                                                                                                                                                                                                                                        // Wrap a function into a grouping operator, if it's not
                                                                                                                                                                                                                                                        // in the expression position.
                                                                                                                                                                                                                                                        Severity: Minor
                                                                                                                                                                                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                                                                                                          function b64ToByteArray (b64) {
                                                                                                                                                                                                                                                          var i, j, l, tmp, placeHolders, arr
                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                          if (b64.length % 4 > 0) {
                                                                                                                                                                                                                                                          throw new Error('Invalid string. Length must be a multiple of 4')
                                                                                                                                                                                                                                                          Severity: Minor
                                                                                                                                                                                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                                                                                                            },{"../src/utils":22,"esprima-fb":9}],32:[function(_dereq_,module,exports){
                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                            * Copyright 2014 Facebook, Inc.
                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                            * Licensed under the Apache License, Version 2.0 (the "License");
                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                                                                                                              function parseBreakStatement() {
                                                                                                                                                                                                                                                              var label = null, key, marker = markerCreate();
                                                                                                                                                                                                                                                               
                                                                                                                                                                                                                                                              expectKeyword('break');
                                                                                                                                                                                                                                                               
                                                                                                                                                                                                                                                               
                                                                                                                                                                                                                                                              Severity: Minor
                                                                                                                                                                                                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                                                                                                                function SourceMapConsumer_originalPositionFor(aArgs) {
                                                                                                                                                                                                                                                                var needle = {
                                                                                                                                                                                                                                                                generatedLine: util.getArg(aArgs, 'line'),
                                                                                                                                                                                                                                                                generatedColumn: util.getArg(aArgs, 'column')
                                                                                                                                                                                                                                                                };
                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                                                                                                                  exports.read = function(buffer, offset, isLE, mLen, nBytes) {
                                                                                                                                                                                                                                                                  var e, m,
                                                                                                                                                                                                                                                                  eLen = nBytes * 8 - mLen - 1,
                                                                                                                                                                                                                                                                  eMax = (1 << eLen) - 1,
                                                                                                                                                                                                                                                                  eBias = eMax >> 1,
                                                                                                                                                                                                                                                                  Severity: Minor
                                                                                                                                                                                                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                                                                                                                    function parseParams(firstRestricted) {
                                                                                                                                                                                                                                                                    var options, marker = markerCreate();
                                                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                                                    options = {
                                                                                                                                                                                                                                                                    params: [],
                                                                                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

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

                                                                                                                                                                                                                                                                      function parseClassElement(existingProps) {
                                                                                                                                                                                                                                                                      var computed, generator = false, key, marker = markerCreate(),
                                                                                                                                                                                                                                                                      isStatic = false;
                                                                                                                                                                                                                                                                      if (match(';')) {
                                                                                                                                                                                                                                                                      lex();
                                                                                                                                                                                                                                                                      Severity: Minor
                                                                                                                                                                                                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 1 hr to fix

                                                                                                                                                                                                                                                                        Function createClassExpression has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                        createClassExpression: function (id, superClass, body, typeParameters, superTypeParameters, implemented) {
                                                                                                                                                                                                                                                                        Severity: Minor
                                                                                                                                                                                                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                          Function createArrowFunctionExpression has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                          createArrowFunctionExpression: function (params, defaults, body, rest, expression, isAsync) {
                                                                                                                                                                                                                                                                          Severity: Minor
                                                                                                                                                                                                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                            Function createClassDeclaration has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                            createClassDeclaration: function (id, superClass, body, typeParameters, superTypeParameters, implemented) {
                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                              Function checkIEEE754 has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                              function checkIEEE754 (buf, value, offset, ext, max, min) {
                                                                                                                                                                                                                                                                              Severity: Minor
                                                                                                                                                                                                                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                Function createProperty has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                createProperty: function (kind, key, value, method, shorthand, computed) {
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                  Function write has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                  exports.write = function(buffer, value, offset, isLE, mLen, nBytes) {
                                                                                                                                                                                                                                                                                  Severity: Minor
                                                                                                                                                                                                                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                    Function checkInt has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                    function checkInt (buf, value, offset, ext, max, min) {
                                                                                                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                      Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                      switch (ch) {
                                                                                                                                                                                                                                                                                      case 'n':
                                                                                                                                                                                                                                                                                      cooked += '\n';
                                                                                                                                                                                                                                                                                      break;
                                                                                                                                                                                                                                                                                      case 'r':
                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                        Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                        if (index >= length) {
                                                                                                                                                                                                                                                                                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');
                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                          Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                          if (source[index] === '{') {
                                                                                                                                                                                                                                                                                          ++index;
                                                                                                                                                                                                                                                                                          str += scanUnicodeCodePointEscape();
                                                                                                                                                                                                                                                                                          } else {
                                                                                                                                                                                                                                                                                          restore = index;
                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                            Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                            for (str += '\\u'; restore < index; ++restore) {
                                                                                                                                                                                                                                                                                            str += source[restore];
                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                              Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                              if (index >= length) {
                                                                                                                                                                                                                                                                                              throwError({}, Messages.UnexpectedToken, 'ILLEGAL');
                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                if (kind === PropertyKind.Data) {
                                                                                                                                                                                                                                                                                                throwErrorTolerant({}, Messages.AccessorDataProperty);
                                                                                                                                                                                                                                                                                                } else if (map[key] & kind) {
                                                                                                                                                                                                                                                                                                throwErrorTolerant({}, Messages.AccessorGetSet);
                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                  Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                  if (ch !== '\r' || source[index] === '\n') {
                                                                                                                                                                                                                                                                                                  comment += source[index];
                                                                                                                                                                                                                                                                                                  ++lineNumber;
                                                                                                                                                                                                                                                                                                  ++index;
                                                                                                                                                                                                                                                                                                  lineStart = index;
                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                    Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                    if (ch === 47) {
                                                                                                                                                                                                                                                                                                    index += 2;
                                                                                                                                                                                                                                                                                                    lineComment = true;
                                                                                                                                                                                                                                                                                                    } else if (ch === 42) {
                                                                                                                                                                                                                                                                                                    // Block comment starts with '/*' (char #47, char #42).
                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                      Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                      if (ch !== '0' && ch !== '1') {
                                                                                                                                                                                                                                                                                                      break;
                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                        Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                        if (ch === '\r' && source[index] === '\n') {
                                                                                                                                                                                                                                                                                                        ++index;
                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                          Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                          if (!((operator.value === 'in' || init.kind !== 'var') && init.declarations[0].init)) {
                                                                                                                                                                                                                                                                                                          lex();
                                                                                                                                                                                                                                                                                                          left = init;
                                                                                                                                                                                                                                                                                                          right = parseExpression();
                                                                                                                                                                                                                                                                                                          init = null;
                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                            Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                            } else if (isWhiteSpace(ch.charCodeAt(0))) {
                                                                                                                                                                                                                                                                                                            ++index;
                                                                                                                                                                                                                                                                                                            } else if (isLineTerminator(ch.charCodeAt(0))) {
                                                                                                                                                                                                                                                                                                            ++index;
                                                                                                                                                                                                                                                                                                            if (ch === '\r' && source[index] === '\n') {
                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                              Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                              if (ch !== 13 || source.charCodeAt(index) === 10) {
                                                                                                                                                                                                                                                                                                              ++lineNumber;
                                                                                                                                                                                                                                                                                                              ++index;
                                                                                                                                                                                                                                                                                                              lineStart = index;
                                                                                                                                                                                                                                                                                                              if (index >= length) {
                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                                Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                } else if (isWhiteSpace(ch)) {
                                                                                                                                                                                                                                                                                                                ++index;
                                                                                                                                                                                                                                                                                                                } else if (isLineTerminator(ch)) {
                                                                                                                                                                                                                                                                                                                ++index;
                                                                                                                                                                                                                                                                                                                if (ch === 13 && source.charCodeAt(index) === 10) {
                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                                  Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                  if (ch === '\r') {
                                                                                                                                                                                                                                                                                                                  ++index;
                                                                                                                                                                                                                                                                                                                  comment += '\r';
                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                                    Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                    if (isOctalDigit(ch)) {
                                                                                                                                                                                                                                                                                                                    code = '01234567'.indexOf(ch);
                                                                                                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                                                                                                    // \0 is not octal escape sequence
                                                                                                                                                                                                                                                                                                                    if (code !== 0) {
                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                                      Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                      if (expr.argument.type === Syntax.ObjectPattern) {
                                                                                                                                                                                                                                                                                                                      throwError({}, Messages.ObjectPatternAsSpread);
                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                                        Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                        if (ch === 13) {
                                                                                                                                                                                                                                                                                                                        ++index;
                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                                          Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                          if (expr.type !== Syntax.MemberExpression && expr.type !== Syntax.CallExpression && expr.type !== Syntax.NewExpression) {
                                                                                                                                                                                                                                                                                                                          throwError({}, Messages.InvalidLHSInAssignment);
                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                                            Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            if (!checkToken) {
                                                                                                                                                                                                                                                                                                                            return scanRegExp();
                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                                              Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                              if (tmp && tmp.type === Syntax.SpreadElement) {
                                                                                                                                                                                                                                                                                                                              if (!match(']')) {
                                                                                                                                                                                                                                                                                                                              throwError({}, Messages.ElementAfterSpreadElement);
                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                              } else if (!(match(']') || matchKeyword('for') || matchKeyword('if'))) {
                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                                                Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                if (strict && kind === PropertyKind.Data) {
                                                                                                                                                                                                                                                                                                                                throwErrorTolerant({}, Messages.StrictDuplicateProperty);
                                                                                                                                                                                                                                                                                                                                } else if (kind !== PropertyKind.Data) {
                                                                                                                                                                                                                                                                                                                                throwErrorTolerant({}, Messages.AccessorDataProperty);
                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                                                  Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                  if (ch === '\r' && source[index] === '\n') {
                                                                                                                                                                                                                                                                                                                                  ++index;
                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                                                    Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                    for (var i = 0; i < parentNode.params.length; i++) {
                                                                                                                                                                                                                                                                                                                                    param = parentNode.params[i];
                                                                                                                                                                                                                                                                                                                                    if (param.type === Syntax.Identifier) {
                                                                                                                                                                                                                                                                                                                                    declareIdentInScope(
                                                                                                                                                                                                                                                                                                                                    param.name, initScopeMetadata(parentNode), state
                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                                                      Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                      if (ch === '*') {
                                                                                                                                                                                                                                                                                                                                      ch = source[index];
                                                                                                                                                                                                                                                                                                                                      if (ch === '/') {
                                                                                                                                                                                                                                                                                                                                      comment = comment.substr(0, comment.length - 1);
                                                                                                                                                                                                                                                                                                                                      blockComment = false;
                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                                                        Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                        if (ch === '/') {
                                                                                                                                                                                                                                                                                                                                        loc = {
                                                                                                                                                                                                                                                                                                                                        start: {
                                                                                                                                                                                                                                                                                                                                        line: lineNumber,
                                                                                                                                                                                                                                                                                                                                        column: index - lineStart
                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                                                          Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                          if (ch === 42) {
                                                                                                                                                                                                                                                                                                                                          ch = source.charCodeAt(index);
                                                                                                                                                                                                                                                                                                                                          if (ch === 47) {
                                                                                                                                                                                                                                                                                                                                          ++index;
                                                                                                                                                                                                                                                                                                                                          blockComment = false;
                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                                                            Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                            if (isIdentifierStart(ch) || isDecimalDigit(ch)) {
                                                                                                                                                                                                                                                                                                                                            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');
                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                                                              Consider simplifying this complex logical expression.
                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                              if (checkToken &&
                                                                                                                                                                                                                                                                                                                                              checkToken.type === 'Keyword' &&
                                                                                                                                                                                                                                                                                                                                              (checkToken.value === 'if' ||
                                                                                                                                                                                                                                                                                                                                              checkToken.value === 'while' ||
                                                                                                                                                                                                                                                                                                                                              checkToken.value === 'for' ||
                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 40 mins to fix

                                                                                                                                                                                                                                                                                                                                                Function SourceNode has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                function SourceNode(aLine, aColumn, aSource, aChunks, aName) {
                                                                                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 35 mins to fix

                                                                                                                                                                                                                                                                                                                                                  Function addComment has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                  function addComment(type, value, start, end, loc) {
                                                                                                                                                                                                                                                                                                                                                  Severity: Minor
                                                                                                                                                                                                                                                                                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 35 mins to fix

                                                                                                                                                                                                                                                                                                                                                    Function analyzeAndTraverse has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                    function analyzeAndTraverse(analyzer, traverser, node, path, state) {
                                                                                                                                                                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                                                                                                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 35 mins to fix

                                                                                                                                                                                                                                                                                                                                                      Function writeFloat has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                      function writeFloat (buf, value, offset, littleEndian, noAssert) {
                                                                                                                                                                                                                                                                                                                                                      Severity: Minor
                                                                                                                                                                                                                                                                                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 35 mins to fix

                                                                                                                                                                                                                                                                                                                                                        Function recursiveSearch has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                        function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare) {
                                                                                                                                                                                                                                                                                                                                                        Severity: Minor
                                                                                                                                                                                                                                                                                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 35 mins to fix

                                                                                                                                                                                                                                                                                                                                                          Function _findMapping has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                          function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName,
                                                                                                                                                                                                                                                                                                                                                          aColumnName, aComparator) {
                                                                                                                                                                                                                                                                                                                                                          Severity: Minor
                                                                                                                                                                                                                                                                                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 35 mins to fix

                                                                                                                                                                                                                                                                                                                                                            Function renderXJSExpressionContainer has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                            function renderXJSExpressionContainer(traverse, object, isLast, path, state) {
                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 35 mins to fix

                                                                                                                                                                                                                                                                                                                                                              Function renderXJSLiteral has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                              function renderXJSLiteral(object, isLast, state, start, end) {
                                                                                                                                                                                                                                                                                                                                                              Severity: Minor
                                                                                                                                                                                                                                                                                                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 35 mins to fix

                                                                                                                                                                                                                                                                                                                                                                Function writeDouble has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                function writeDouble (buf, value, offset, littleEndian, noAssert) {
                                                                                                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 35 mins to fix

                                                                                                                                                                                                                                                                                                                                                                  Function read has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                  exports.read = function(buffer, offset, isLE, mLen, nBytes) {
                                                                                                                                                                                                                                                                                                                                                                  Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 35 mins to fix

                                                                                                                                                                                                                                                                                                                                                                    Function parseMethodDefinition has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                    function parseMethodDefinition(existingPropNames, key, isStatic, generator, computed) {
                                                                                                                                                                                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 35 mins to fix

                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                      return {
                                                                                                                                                                                                                                                                                                                                                                      type: Token.Punctuator,
                                                                                                                                                                                                                                                                                                                                                                      value: ch1,
                                                                                                                                                                                                                                                                                                                                                                      lineNumber: lineNumber,
                                                                                                                                                                                                                                                                                                                                                                      lineStart: lineStart,
                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                        return parseGroupExpression();
                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                          return type;
                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                            return markerApply(marker, delegate.createFunctionTypeAnnotation(
                                                                                                                                                                                                                                                                                                                                                                            params,
                                                                                                                                                                                                                                                                                                                                                                            returnType,
                                                                                                                                                                                                                                                                                                                                                                            rest,
                                                                                                                                                                                                                                                                                                                                                                            null /* typeParameters */
                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                              return markerApply(marker, delegate.createIdentifier('super'));
                                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                                return parseXJSElement();
                                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                                  return mappingA.generatedColumn - mappingB.generatedColumn;
                                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                                    return scanPunctuator();
                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                                      return markerApply(marker, delegate.createProperty('init', key, parseAssignmentExpression(), false, false, false));
                                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                                        return parseTemplateLiteral();
                                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                                          return scanRegExp();
                                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                            return scanRegExp();
                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                                              return markerApply(marker, delegate.createLiteral(scanRegExp()));
                                                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                                                return markerApply(marker, delegate.createStringLiteralTypeAnnotation(
                                                                                                                                                                                                                                                                                                                                                                                                token
                                                                                                                                                                                                                                                                                                                                                                                                ));
                                                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                                                  return scanRegExp();
                                                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                                                    return scanTemplate();
                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                                                      return scanPunctuator();
                                                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                                                        return aLow < 0
                                                                                                                                                                                                                                                                                                                                                                                                        ? null
                                                                                                                                                                                                                                                                                                                                                                                                        : aHaystack[aLow];
                                                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                                                          return false;
                                                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                            return code - UPPER
                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                                                              return {
                                                                                                                                                                                                                                                                                                                                                                                                              type: Token.Punctuator,
                                                                                                                                                                                                                                                                                                                                                                                                              value: '=>',
                                                                                                                                                                                                                                                                                                                                                                                                              lineNumber: lineNumber,
                                                                                                                                                                                                                                                                                                                                                                                                              lineStart: lineStart,
                                                                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                                                                return parsePostfixExpression();
                                                                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                                                                  return cmp;
                                                                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                                                                    return loaderCache[id];
                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                                                                      return markerApply(marker, delegate.createProperty('init', id, parsePropertyMethodFunction({ generator: true }), true, false, computed));
                                                                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                                                                        return scanPunctuator();
                                                                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                                                                          return scanStringLiteral();
                                                                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                            return scanPunctuator();
                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                                                                              return markerApply(marker, delegate.createLiteral(token));
                                                                                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                                                                                return expr;
                                                                                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                                                                                  return cmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                                                                                    return strcmp(mappingA.name, mappingB.name);
                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                                                                                      return loaderCache[id];
                                                                                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                                                                                        return loaderCache[id];
                                                                                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                                                                                          return scanNumericLiteral();
                                                                                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                            return scanNumericLiteral();
                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                                                                                              return parseArrowFunctionExpression(params, marker);
                                                                                                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                return scanIdentifier();
                                                                                                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                  return advanceSlash();
                                                                                                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                    return parseArrayInitialiser();
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                      return {
                                                                                                                                                                                                                                                                                                                                                                                                                                                      type: Token.Punctuator,
                                                                                                                                                                                                                                                                                                                                                                                                                                                      value: '<<=',
                                                                                                                                                                                                                                                                                                                                                                                                                                                      lineNumber: lineNumber,
                                                                                                                                                                                                                                                                                                                                                                                                                                                      lineStart: lineStart,
                                                                                                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                        return scanRegExp();
                                                                                                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                          return markerApply(
                                                                                                                                                                                                                                                                                                                                                                                                                                                          marker,
                                                                                                                                                                                                                                                                                                                                                                                                                                                          delegate.createProperty(
                                                                                                                                                                                                                                                                                                                                                                                                                                                          'init',
                                                                                                                                                                                                                                                                                                                                                                                                                                                          key,
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                            return markerApply(marker, delegate.createFunctionTypeAnnotation(
                                                                                                                                                                                                                                                                                                                                                                                                                                                            params,
                                                                                                                                                                                                                                                                                                                                                                                                                                                            returnType,
                                                                                                                                                                                                                                                                                                                                                                                                                                                            rest,
                                                                                                                                                                                                                                                                                                                                                                                                                                                            typeParameters
                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                              return {
                                                                                                                                                                                                                                                                                                                                                                                                                                                              type: Token.Punctuator,
                                                                                                                                                                                                                                                                                                                                                                                                                                                              value: '>>>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                              lineNumber: lineNumber,
                                                                                                                                                                                                                                                                                                                                                                                                                                                              lineStart: lineStart,
                                                                                                                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                return scanXJSIdentifier();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  return markerApply(
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  marker,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  delegate.createProperty('init', id, id, false, true, false)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  );
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    return markerApply(marker, delegate.createProperty('init', key, parsePropertyMethodFunction({ generator: false }), true, false, false));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      return markerApply(marker, delegate.createLiteral(token));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        return parseObjectInitialiser();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          return code - LOWER + 26
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: Token.Punctuator,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            value: ch1,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            lineNumber: lineNumber,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            lineStart: lineStart,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              return {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type: Token.Punctuator,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              value: ch1 + ch2,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              lineNumber: lineNumber,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              lineStart: lineStart,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                return scanPunctuator();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  return parseClassExpression();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    return markerApply(marker, parseGenericType());
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      return systemRequire(originalId);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        return {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type: Token.Punctuator,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        value: '>>=',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        lineNumber: lineNumber,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        lineStart: lineStart,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          return {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type: Token.Punctuator,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          value: '...',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          lineNumber: lineNumber,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          lineStart: lineStart,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Found in server/public/jsx-transformer-0.12.2.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (!isLineTerminator(ch.charCodeAt(0))) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            switch (ch) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            case 'n':
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            cooked += '\n';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            break;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 2 days to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 3066..3136

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (!ch || !isLineTerminator(ch.charCodeAt(0))) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            switch (ch) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            case 'n':
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            str += '\n';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            break;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 2 days to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 3182..3252

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (existingPropNames[propType].hasOwnProperty(key.name)) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            isValidDuplicateProp =
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            // There isn't already a setter for this prop
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            existingPropNames[propType][key.name].set === undefined
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            // There isn't already a data prop by this name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 6 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 7842..7855

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (existingPropNames[propType].hasOwnProperty(key.name)) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            isValidDuplicateProp =
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            // There isn't already a getter for this prop
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            existingPropNames[propType][key.name].get === undefined
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            // There isn't already a data prop by this name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 6 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 7875..7888

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Identical blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (strict) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (isRestrictedWord(token.value)) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            throwErrorTolerant(token, Messages.StrictFunctionName);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            } else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 7653..7665

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Identical blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (strict) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (isRestrictedWord(token.value)) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            throwErrorTolerant(token, Messages.StrictFunctionName);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            } else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 7733..7745

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            function parseIntersectionType() {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            var marker = markerCreate(), type, types;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type = parsePrefixType();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            types = [type];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            while (match('&')) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 6455..6468

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            function parseUnionType() {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            var marker = markerCreate(), type, types;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type = parseIntersectionType();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            types = [type];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            while (match('|')) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 6439..6453

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            createFunctionDeclaration: function (id, params, defaults, body, rest, generator, expression,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            isAsync, returnType, typeParameters) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            var funDecl = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: Syntax.FunctionDeclaration,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            id: id,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 3877..3897

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            createFunctionExpression: function (id, params, defaults, body, rest, generator, expression,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            isAsync, returnType, typeParameters) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            var funExpr = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: Syntax.FunctionExpression,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            id: id,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 3855..3875

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Identical blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            } else if (match('[')) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            expr = markerApply(marker, delegate.createMemberExpression('[', expr, parseComputedMember()));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            } else if (match('.')) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            expr = markerApply(marker, delegate.createMemberExpression('.', expr, parseNonComputedMember()));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            } else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 5445..5451

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Identical blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (match('[')) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            expr = markerApply(marker, delegate.createMemberExpression('[', expr, parseComputedMember()));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            } else if (match('.')) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            expr = markerApply(marker, delegate.createMemberExpression('.', expr, parseNonComputedMember()));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            } else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 5427..5433

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Buffer.prototype.readUInt32LE = function (offset, noAssert) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (!noAssert)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            checkOffset(offset, 4, this.length)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return ((this[offset]) |
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 932..940

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Identical blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            state.g.sourceMap.addMapping({
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            generated: { line: state.g.bufferLine, column: state.g.bufferColumn },
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            original: { line: state.g.sourceLine, column: state.g.sourceColumn },
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            source: state.g.sourceMapFilename
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            });
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 12414..12418

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Buffer.prototype.readInt32LE = function (offset, noAssert) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (!noAssert)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            checkOffset(offset, 4, this.length)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return (this[offset]) |
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 890..898

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Identical blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            state.g.sourceMap.addMapping({
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            generated: { line: state.g.bufferLine, column: state.g.bufferColumn },
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            original: { line: state.g.sourceLine, column: state.g.sourceColumn },
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            source: state.g.sourceMapFilename
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            });
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 12283..12287

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Identical blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (lookahead.type === Token.Identifier) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            label = parseVariableIdentifier();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            key = '$' + label.name;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (!Object.prototype.hasOwnProperty.call(state.labelSet, key)) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 7064..7071

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Identical blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (lookahead.type === Token.Identifier) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            label = parseVariableIdentifier();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            key = '$' + label.name;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (!Object.prototype.hasOwnProperty.call(state.labelSet, key)) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 7108..7115

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Object.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            get: function () {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (!this.__generatedMappings) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            this.__generatedMappings = [];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            this.__originalMappings = [];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 10153..10163

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Object.defineProperty(SourceMapConsumer.prototype, '_originalMappings', {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            get: function () {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (!this.__originalMappings) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            this.__generatedMappings = [];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            this.__originalMappings = [];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 10140..10150

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (Buffer.TYPED_ARRAY_SUPPORT) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            this[offset] = (value >>> 24)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            this[offset + 1] = (value >>> 16)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            this[offset + 2] = (value >>> 8)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            this[offset + 3] = value
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 1050..1055

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (Buffer.TYPED_ARRAY_SUPPORT) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            this[offset] = (value >>> 24)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            this[offset + 1] = (value >>> 16)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            this[offset + 2] = (value >>> 8)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            this[offset + 3] = value
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 1114..1119

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Identical blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (matchKeyword('extends')) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            expectKeyword('extends');
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            previousYieldAllowed = state.yieldAllowed;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            state.yieldAllowed = false;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            superClass = parseLeftHandSideExpressionAllowCall();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 8087..8096

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Identical blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (matchKeyword('extends')) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            expectKeyword('extends');
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            previousYieldAllowed = state.yieldAllowed;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            state.yieldAllowed = false;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            superClass = parseLeftHandSideExpressionAllowCall();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 8050..8059

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (ch1 === '<' && ch2 === '<' && ch3 === '=') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            index += 3;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: Token.Punctuator,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            value: '<<=',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 2801..2810

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (ch1 === '>' && ch2 === '>' && ch3 === '=') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            index += 3;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: Token.Punctuator,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            value: '>>=',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 2790..2799

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            function isIdentifierName(token) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return token.type === Token.Identifier ||
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            token.type === Token.Keyword ||
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            token.type === Token.BooleanLiteral ||
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            token.type === Token.NullLiteral;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 13645..13650

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            function isFunctionNode(node) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return (node.type == Syntax.FunctionDeclaration ||
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            node.type == Syntax.FunctionExpression ||
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            node.type == Syntax.MethodDefinition ||
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            node.type == Syntax.ArrowFunctionExpression);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 3432..3437

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Identical blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (directive === 'use strict') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            strict = true;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (firstRestricted) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            throwErrorTolerant(firstRestricted, Messages.StrictOctalLiteral);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 8189..8198

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Identical blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (directive === 'use strict') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            strict = true;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (firstRestricted) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            throwErrorTolerant(firstRestricted, Messages.StrictOctalLiteral);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 7453..7462

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            tmp = (decode(b64.charAt(i)) << 10) | (decode(b64.charAt(i + 1)) << 4) | (decode(b64.charAt(i + 2)) >> 2)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 1458..1458

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            tmp = (decode(b64.charAt(i)) << 18) | (decode(b64.charAt(i + 1)) << 12) | (decode(b64.charAt(i + 2)) << 6) | decode(b64.charAt(i + 3))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 1468..1468

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            function visitTypeAnnotatedObjectOrArrayPattern(traverse, node, path, state) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            utils.catchup(node.typeAnnotation.range[0], state);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            utils.catchupWhiteOut(node.typeAnnotation.range[1], state);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return false;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 14426..14430

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            createModuleSpecifier: function (token) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: Syntax.ModuleSpecifier,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            value: token.value,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            raw: source.slice(token.range[0], token.range[1])
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 4007..4013

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            createStringLiteralTypeAnnotation: function (token) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: Syntax.StringLiteralTypeAnnotation,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            value: token.value,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            raw: source.slice(token.range[0], token.range[1])
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 4510..4516

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            function visitTypeAnnotatedIdentifier(traverse, node, path, state) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            utils.catchup(node.typeAnnotation.range[0], state);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            utils.catchupWhiteOut(node.typeAnnotation.range[1], state);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return false;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 14435..14439

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            createClassExpression: function (id, superClass, body, typeParameters, superTypeParameters, implemented) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: Syntax.ClassExpression,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            id: id,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            superClass: superClass,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 4498..4508

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            createClassDeclaration: function (id, superClass, body, typeParameters, superTypeParameters, implemented) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: Syntax.ClassDeclaration,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            id: id,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            superClass: superClass,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 4486..4496

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            while (index < length) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (match('}')) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            break;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            statement = parseSourceElement();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 7477..7486

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            while (index < length) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (match('}')) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            break;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            sourceElement = parseSourceElement();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 6019..6028

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Identical blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (length > 0) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (typeof source[0] === 'undefined') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            // Try first to convert to a string. This is good as fast path
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            // for old IE which understands string indexing for string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            // literals only and not for string object.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 9538..9547

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Identical blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (length > 0) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (typeof source[0] === 'undefined') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            // Try first to convert to a string. This is good as fast path
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            // for old IE which understands string indexing for string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            // literals only and not for string object.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 9421..9430

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Buffer.prototype.readFloatBE = function (offset, noAssert) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (!noAssert)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            checkOffset(offset, 4, this.length)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return ieee754.read(this, offset, false, 23, 4)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 3 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 952..956
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 964..968
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 970..974

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Buffer.prototype.readFloatLE = function (offset, noAssert) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (!noAssert)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            checkOffset(offset, 4, this.length)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return ieee754.read(this, offset, true, 23, 4)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 3 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 958..962
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 964..968
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 970..974

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Buffer.prototype.readDoubleBE = function (offset, noAssert) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (!noAssert)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            checkOffset(offset, 8, this.length)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return ieee754.read(this, offset, false, 52, 8)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 3 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 952..956
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 958..962
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 964..968

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Buffer.prototype.readDoubleLE = function (offset, noAssert) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (!noAssert)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            checkOffset(offset, 8, this.length)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return ieee754.read(this, offset, true, 52, 8)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 3 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 952..956
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 958..962
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 970..974

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            function writeFloat (buf, value, offset, littleEndian, noAssert) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (!noAssert)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ieee754.write(buf, value, offset, littleEndian, 23, 4)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return offset + 4
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 1143..1148

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            function writeDouble (buf, value, offset, littleEndian, noAssert) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (!noAssert)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ieee754.write(buf, value, offset, littleEndian, 52, 8)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return offset + 8
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 1128..1133

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            for (var ii = 0; ii < numQuasis; ii++) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            utils.append(getCookedValue(template.quasis[ii]), state);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (ii !== numQuasis - 1) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            utils.append(', ', state);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 14044..14049

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            for (ii = 0; ii < numQuasis; ii++) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            utils.append(getRawValue(template.quasis[ii]), state);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (ii !== numQuasis - 1) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            utils.append(', ', state);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 14037..14042

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 3 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            function visitFunctionReturnAnnotation(traverse, node, path, state) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            utils.catchup(node.range[0], state);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            utils.catchupWhiteOut(node.range[1], state);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return false;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 2 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 14354..14358
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 14393..14397

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 3 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            function visitClassProperty(traverse, node, path, state) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            utils.catchup(node.range[0], state);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            utils.catchupWhiteOut(node.range[1], state);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return false;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 2 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 14393..14397
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 14405..14409

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 3 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            function visitFunctionParametricAnnotation(traverse, node, path, state) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            utils.catchup(node.range[0], state);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            utils.catchupWhiteOut(node.range[1], state);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return false;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 2 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 14354..14358
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 14405..14409

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            } else if (Object.prototype.hasOwnProperty.call(options.paramSet, key)) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            options.firstRestricted = param;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            options.message = Messages.StrictParamDupe;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 55 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 7506..7509

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            } else if (match('[')) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            id = parseArrayInitialiser();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            reinterpretAsAssignmentBindingPattern(id);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (match(':')) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            id.typeAnnotation = parseTypeAnnotation();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 55 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 6528..6548

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (Object.prototype.hasOwnProperty.call(options.paramSet, key)) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            options.stricted = param;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            options.message = Messages.StrictParamDupe;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 55 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 7517..7520

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            aSourceMapConsumer.sources.forEach(function (sourceFile) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            var content = aSourceMapConsumer.sourceContentFor(sourceFile);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (content) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            generator.setSourceContent(sourceFile, content);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 55 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 10964..10969

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            aSourceMapConsumer.sources.forEach(function (sourceFile) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            var content = aSourceMapConsumer.sourceContentFor(sourceFile);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (content) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            node.setSourceContent(sourceFile, content);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 55 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 10537..10542

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (match('{')) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            id = parseObjectInitialiser();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            reinterpretAsAssignmentBindingPattern(id);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (match(':')) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            id.typeAnnotation = parseTypeAnnotation();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 55 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 6535..6548

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (sourceLines.length > 1) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            state.g.sourceLine += sourceLines.length - 1;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            state.g.sourceColumn = 0;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 55 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 12420..12423

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (transformedLines.length > 1) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            state.g.bufferLine += transformedLines.length - 1;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            state.g.bufferColumn = 0;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 55 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 12397..12400

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return op === '=' ||
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            op === '*=' ||
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            op === '/=' ||
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            op === '%=' ||
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            op === '+=' ||
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 55 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 2428..2430

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return (id === 'while') || (id === 'break') || (id === 'catch') ||
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            (id === 'throw') || (id === 'const') ||
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            (id === 'class') || (id === 'super');
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 55 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 4750..4756

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (Buffer.TYPED_ARRAY_SUPPORT) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            this[offset] = value
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            this[offset + 1] = (value >>> 8)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            } else objectWriteUInt16(this, value, offset, true)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 50 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 1075..1078

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (Buffer.TYPED_ARRAY_SUPPORT) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            this[offset] = value
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            this[offset + 1] = (value >>> 8)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            } else objectWriteUInt16(this, value, offset, true)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 50 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 1005..1008

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (end < 0) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end += len
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (end < 0)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end = 0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            } else if (end > len) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 50 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 831..837

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (Buffer.TYPED_ARRAY_SUPPORT) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            this[offset] = (value >>> 8)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            this[offset + 1] = value
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            } else objectWriteUInt16(this, value, offset, false)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 50 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 1017..1020

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (start < 0) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            start += len;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (start < 0)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            start = 0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            } else if (start > len) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 50 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 839..845

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (Buffer.TYPED_ARRAY_SUPPORT) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            this[offset] = (value >>> 8)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            this[offset + 1] = value
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            } else objectWriteUInt16(this, value, offset, false)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 50 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 1087..1090

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            case 6:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return (id === 'return') || (id === 'typeof') || (id === 'delete') ||
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            (id === 'switch') || (id === 'export') || (id === 'import');
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 50 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 2424..2426

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            visitReactDisplayName.test = function(object, path, state) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            object.type === Syntax.AssignmentExpression ||
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            object.type === Syntax.Property ||
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            object.type === Syntax.VariableDeclarator
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 50 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 14348..14352

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            case 4:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return (id === 'this') || (id === 'else') || (id === 'case') ||
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            (id === 'void') || (id === 'with') || (id === 'enum');
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 50 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 2431..2433

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            function _isFunctionNode(node) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return node.type === Syntax.FunctionDeclaration
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            || node.type === Syntax.FunctionExpression
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            || node.type === Syntax.ArrowFunctionExpression;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 50 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 14829..14835

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 3 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (strict && expr.type === Syntax.Identifier && isRestrictedWord(expr.name)) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            throwErrorTolerant({}, Messages.StrictLHSPostfix);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 2 other locations - About 45 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 5499..5501
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 7291..7293

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 3 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (strict && expr.type === Syntax.Identifier && isRestrictedWord(expr.name)) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            throwErrorTolerant({}, Messages.StrictLHSPrefix);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 2 other locations - About 45 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 5470..5472
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 7291..7293

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 3 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (strict && param.type === Syntax.Identifier && isRestrictedWord(param.name)) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            throwErrorTolerant({}, Messages.StrictCatchVariable);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 2 other locations - About 45 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 5470..5472
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 5499..5501

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return (ch === 36) || (ch === 95) || // $ (dollar) and _ (underscore)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            (ch >= 65 && ch <= 90) || // A..Z
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            (ch >= 97 && ch <= 122) || // a..z
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            (ch === 92) || // \ (backslash)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 45 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 2361..2364

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            function parseAwaitExpression() {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            var expr, marker = markerCreate();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            expectContextualKeyword('await');
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            expr = parseAssignmentExpression();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return markerApply(marker, delegate.createAwaitExpression(expr));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 45 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 6245..6252

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return (ch === 36) || (ch === 95) || // $ (dollar) and _ (underscore)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            (ch >= 65 && ch <= 90) || // A..Z
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            (ch >= 97 && ch <= 122) || // a..z
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            (ch >= 48 && ch <= 57) || // 0..9
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 45 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 2353..2356

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            function parseTypeofType() {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            var argument, marker = markerCreate();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            expectKeyword('typeof');
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            argument = parsePrimaryType();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return markerApply(marker, delegate.createTypeofTypeAnnotation(
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 45 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 7810..7815

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (!ch || ch === '\\' || !isIdentifierPart(ch.charCodeAt(0))) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 40 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 2584..2586

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (entry.regex) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            token.regex = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pattern: entry.regex.pattern,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            flags: entry.regex.flags
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 40 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 9244..9249

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (!ch || ch === '\\' || !isIdentifierStart(ch.charCodeAt(0))) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 40 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 2606..2608

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (token.regex) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            entry.regex = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            pattern: token.regex.pattern,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            flags: token.regex.flags
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 40 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 9307..9312

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 3 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            createTryStatement: function (block, guardedHandlers, handlers, finalizer) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: Syntax.TryStatement,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            block: block,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            guardedHandlers: guardedHandlers,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 2 other locations - About 35 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 3826..3834
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 3920..3928

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            path = normalizeArray(filter(path.split('/'), function(p) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return !!p;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }), !isAbsolute).join('/');
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 35 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 1726..1728

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            exports.decode = function base64_decode(aChar) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (aChar in charToIntMap) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return charToIntMap[aChar];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            throw new TypeError("Not a valid base 64 digit: " + aChar);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 35 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 9883..9888

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            createClassProperty: function (key, typeAnnotation, computed, isStatic) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: Syntax.ClassProperty,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            key: key,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            typeAnnotation: typeAnnotation,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 3 other locations - About 35 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 4044..4052
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 4062..4070
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 4095..4103

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            createObjectTypeProperty: function (key, value, optional, isStatic) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: Syntax.ObjectTypeProperty,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            key: key,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            value: value,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 3 other locations - About 35 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 4044..4052
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 4095..4103
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 4461..4469

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            while (!match('>')) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            paramTypes.push(parseVariableIdentifier());
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (!match('>')) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            expect(',');
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 35 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 6070..6075

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            while (!match('>')) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            paramTypes.push(parseType());
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (!match('>')) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            expect(',');
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 35 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 6051..6056

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            createObjectTypeIndexer: function (id, key, value, isStatic) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: Syntax.ObjectTypeIndexer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            id: id,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            key: key,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 3 other locations - About 35 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 4062..4070
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 4095..4103
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 4461..4469

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            createInterface: function (id, typeParameters, body, extended) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: Syntax.InterfaceDeclaration,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            id: id,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            typeParameters: typeParameters,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 3 other locations - About 35 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 4044..4052
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 4062..4070
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 4461..4469

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return !!p;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }), !resolvedAbsolute).join('/');
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 35 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 1740..1742

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            exports.encode = function base64_encode(aNumber) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (aNumber in intToCharMap) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return intToCharMap[aNumber];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            throw new TypeError("Must be between 0 and 63: " + aNumber);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 35 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 9893..9898

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 3 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            createForStatement: function (init, test, update, body) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: Syntax.ForStatement,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            init: init,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            test: test,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 2 other locations - About 35 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 3920..3928
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 4335..4343

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 3 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            createFunctionTypeAnnotation: function (params, returnType, rest, typeParameters) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: Syntax.FunctionTypeAnnotation,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            params: params,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            returnType: returnType,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 2 other locations - About 35 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 3826..3834
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 4335..4343

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            visitFunctionBodyWithRestParam.test = function(node, path, state) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return node.type === Syntax.BlockStatement
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            && _nodeIsFunctionWithRestParam(path[0]);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 35 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 13692..13694

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            } else if (extra.tokens[extra.openCurlyToken - 4] &&
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            extra.tokens[extra.openCurlyToken - 4].type === 'Keyword') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            // Named function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            checkToken = extra.tokens[extra.openCurlyToken - 5];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (!checkToken) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 35 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 3465..3481

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (expr.type !== Syntax.MemberExpression && expr.type !== Syntax.CallExpression && expr.type !== Syntax.NewExpression) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            throwError({}, Messages.InvalidLHSInAssignment);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 35 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 13998..14007

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (extra.tokens[extra.openCurlyToken - 3] &&
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            extra.tokens[extra.openCurlyToken - 3].type === 'Keyword') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            // Anonymous function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            checkToken = extra.tokens[extra.openCurlyToken - 4];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (!checkToken) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 35 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 3472..3481

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (substitution.type === Syntax.Identifier ||
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            substitution.type === Syntax.MemberExpression ||
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            substitution.type === Syntax.CallExpression) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            utils.catchup(substitution.range[1], state);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            } else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 35 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 5734..5736

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            visitFunctionBodyForStructuredParameter.test = function(node, path, state) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return node.type === Syntax.BlockStatement && isFunctionNode(path[0]);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 35 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 13929..13932

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Identical blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (node.id) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            metaData = initScopeMetadata(getBoundaryNode(path), path.slice(), node);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            declareIdentInScope(node.id.name, metaData, state);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 30 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 12002..12005

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Identical blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if ('<>=!+-*%&|^/'.indexOf(ch1) >= 0) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ++index;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: Token.Punctuator,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            value: ch1,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 30 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 2860..2869

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Identical blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (!matchContextualKeyword('from')) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            throwError({}, lookahead.value ?
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Messages.UnexpectedToken : Messages.MissingFromClause, lookahead.value);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 30 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 6715..6718

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Identical blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (path[0].kind === 'var') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            metaData = initScopeMetadata(getBoundaryNode(path), path.slice(), node);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            declareIdentInScope(node.id.name, metaData, state);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 30 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 11995..11998

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Identical blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (ch1 === '.') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ++index;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: Token.Punctuator,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            value: ch1,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 30 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 2849..2858

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Identical blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (!matchContextualKeyword('from')) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            throwError({}, lookahead.value ?
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Messages.UnexpectedToken : Messages.MissingFromClause, lookahead.value);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 30 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            server/public/jsx-transformer-0.12.2.js on lines 6836..6839

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            There are no issues that match your filters.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Category
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Status