Hirse/brackets-outline-list

View on GitHub
thirdparty/php-parser.js

Summary

Maintainability
F
4 mos
Test Coverage

File php-parser.js has 5652 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/**!
 * php-parser version 2.2.0
 * (browserified with Browserify version 17.0.0)
 *
 * BSD 3-Clause License
Severity: Major
Found in thirdparty/php-parser.js - About 2 wks to fix

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

    },{}],104:[function(require,module,exports){
    /*!
     * Copyright (C) 2017 Glayzzle (BSD3 License)
     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
     * @url http://glayzzle.com
    Severity: Major
    Found in thirdparty/php-parser.js - About 2 days to fix

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

      },{}],100:[function(require,module,exports){
      /*!
       * Copyright (C) 2017 Glayzzle (BSD3 License)
       * @authors https://github.com/glayzzle/php-parser/graphs/contributors
       * @url http://glayzzle.com
      Severity: Major
      Found in thirdparty/php-parser.js - About 1 day to fix

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

        },{"./expression":31}],91:[function(require,module,exports){
        /*!
         * Copyright (C) 2017 Glayzzle (BSD3 License)
         * @authors https://github.com/glayzzle/php-parser/graphs/contributors
         * @url http://glayzzle.com
        Severity: Major
        Found in thirdparty/php-parser.js - About 1 day to fix

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

          },{}],97:[function(require,module,exports){
          /*!
           * Copyright (C) 2017 Glayzzle (BSD3 License)
           * @authors https://github.com/glayzzle/php-parser/graphs/contributors
           * @url http://glayzzle.com
          Severity: Major
          Found in thirdparty/php-parser.js - About 1 day to fix

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

            },{}],102:[function(require,module,exports){
            /*!
             * Copyright (C) 2017 Glayzzle (BSD3 License)
             * @authors https://github.com/glayzzle/php-parser/graphs/contributors
             * @url http://glayzzle.com
            Severity: Major
            Found in thirdparty/php-parser.js - About 1 day to fix

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

                ,read_expr_item: function() {
              
                  if (this.token === '@')
                    return this.node('silent')(this.next().read_expr());
                  if (this.token === '+')
              Severity: Major
              Found in thirdparty/php-parser.js - About 1 day to fix

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

                },{}],111:[function(require,module,exports){
                /*!
                 * Copyright (C) 2017 Glayzzle (BSD3 License)
                 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                 * @url http://glayzzle.com
                Severity: Major
                Found in thirdparty/php-parser.js - About 1 day to fix

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

                  },{}],116:[function(require,module,exports){
                  /*!
                   * Copyright (C) 2017 Glayzzle (BSD3 License)
                   * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                   * @url http://glayzzle.com
                  Severity: Major
                  Found in thirdparty/php-parser.js - About 1 day to fix

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

                    },{}],115:[function(require,module,exports){
                    /*!
                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                     * @url http://glayzzle.com
                    Severity: Major
                    Found in thirdparty/php-parser.js - About 1 day to fix

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

                      },{}],98:[function(require,module,exports){
                      /*!
                       * Copyright (C) 2017 Glayzzle (BSD3 License)
                       * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                       * @url http://glayzzle.com
                      Severity: Major
                      Found in thirdparty/php-parser.js - About 1 day to fix

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

                        },{}],2:[function(require,module,exports){
                        /*!
                         * Copyright (C) 2017 Glayzzle (BSD3 License)
                         * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                         * @url http://gla*yzzle.com
                        Severity: Major
                        Found in thirdparty/php-parser.js - About 1 day to fix

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

                          },{}],105:[function(require,module,exports){
                          /*!
                           * Copyright (C) 2017 Glayzzle (BSD3 License)
                           * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                           * @url http://glayzzle.com
                          Severity: Major
                          Found in thirdparty/php-parser.js - About 7 hrs to fix

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

                            var parser = function(lexer, ast) {
                              this.lexer = lexer;
                              this.ast = ast;
                              this.tok = lexer.tok;
                              this.EOF = lexer.EOF;
                            Severity: Major
                            Found in thirdparty/php-parser.js - About 7 hrs to fix

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

                              },{}],110:[function(require,module,exports){
                              /*!
                               * Copyright (C) 2017 Glayzzle (BSD3 License)
                               * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                               * @url http://glayzzle.com
                              Severity: Major
                              Found in thirdparty/php-parser.js - About 7 hrs to fix

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

                                },{"../../is-buffer/index.js":1,"./ast":2,"./lexer":91,"./parser":100,"./tokens":116}],118:[function(require,module,exports){
                                // shim for using process in browser
                                var process = module.exports = {};
                                
                                // cached from whatever global is present so that test runners that stub it
                                Severity: Major
                                Found in thirdparty/php-parser.js - About 5 hrs to fix

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

                                    ,read_statement: function() {
                                  
                                      switch(this.token) {
                                  
                                        case '{': return this.read_code_block(false);
                                  Severity: Major
                                  Found in thirdparty/php-parser.js - About 5 hrs to fix

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

                                      ,recursive_variable_chain_scan: function(result, read_only, encapsed) {
                                        recursive_scan_loop:
                                        while(this.token != this.EOF) {
                                          switch(this.token) {
                                            case '(':
                                    Severity: Major
                                    Found in thirdparty/php-parser.js - About 4 hrs to fix

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

                                      },{}],94:[function(require,module,exports){
                                      (function (process){(function (){
                                      /*!
                                       * Copyright (C) 2017 Glayzzle (BSD3 License)
                                       * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                      Severity: Major
                                      Found in thirdparty/php-parser.js - About 4 hrs to fix

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

                                        },{}],107:[function(require,module,exports){
                                        /*!
                                         * Copyright (C) 2017 Glayzzle (BSD3 License)
                                         * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                         * @url http://glayzzle.com
                                        Severity: Major
                                        Found in thirdparty/php-parser.js - About 4 hrs to fix

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

                                          },{}],109:[function(require,module,exports){
                                          /*!
                                           * Copyright (C) 2017 Glayzzle (BSD3 License)
                                           * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                           * @url http://glayzzle.com
                                          Severity: Major
                                          Found in thirdparty/php-parser.js - About 4 hrs to fix

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

                                            var lexer = function(engine) {
                                              this.engine = engine;
                                              this.tok = this.engine.tokens.names;
                                              this.EOF = 1;
                                              this.debug = false;
                                            Severity: Major
                                            Found in thirdparty/php-parser.js - About 4 hrs to fix

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

                                              },{}],117:[function(require,module,exports){
                                              (function (Buffer){(function (){
                                              /*!
                                               * Copyright (C) 2017 Glayzzle (BSD3 License)
                                               * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                              Severity: Major
                                              Found in thirdparty/php-parser.js - About 3 hrs to fix

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

                                                },{}],96:[function(require,module,exports){
                                                /*!
                                                 * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                 * @url http://glayzzle.com
                                                Severity: Major
                                                Found in thirdparty/php-parser.js - About 3 hrs to fix

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

                                                    matchST_IN_SCRIPTING: function() {
                                                      var ch = this.input();
                                                      switch(ch) {
                                                        case ' ':
                                                        case '\t':
                                                  Severity: Major
                                                  Found in thirdparty/php-parser.js - About 3 hrs to fix

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

                                                    },{}],106:[function(require,module,exports){
                                                    /*!
                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                     * @url http://glayzzle.com
                                                    Severity: Major
                                                    Found in thirdparty/php-parser.js - About 2 hrs to fix

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

                                                        matchST_BACKQUOTE: function() {
                                                      
                                                          var ch = this.input();
                                                          if (ch === '$') {
                                                            ch = this.input();
                                                      Severity: Major
                                                      Found in thirdparty/php-parser.js - About 2 hrs to fix

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

                                                          matchST_DOUBLE_QUOTES: function() {
                                                        
                                                            var ch = this.input();
                                                            if (ch === '$') {
                                                              ch = this.input();
                                                        Severity: Major
                                                        Found in thirdparty/php-parser.js - About 2 hrs to fix

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

                                                            read_expr: function() {
                                                              var result = this.node();
                                                              var expr = this.read_expr_item();
                                                              // binary operations
                                                              if (this.token === '|')
                                                          Severity: Major
                                                          Found in thirdparty/php-parser.js - About 2 hrs to fix

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

                                                              consume_NUM: function() {
                                                                var ch = this.yytext[0];
                                                                var hasPoint = this.yytext[0] === '.';
                                                                if (ch === '0') {
                                                                  ch = this.input();
                                                            Severity: Major
                                                            Found in thirdparty/php-parser.js - About 2 hrs to fix

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

                                                              },{"_process":118}],95:[function(require,module,exports){
                                                              /*!
                                                               * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                               * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                               * @url http://glayzzle.com
                                                              Severity: Major
                                                              Found in thirdparty/php-parser.js - About 2 hrs to fix

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

                                                                },{}],114:[function(require,module,exports){
                                                                /*!
                                                                 * Defines a list of helper functions for parsing
                                                                 * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                Severity: Major
                                                                Found in thirdparty/php-parser.js - About 2 hrs to fix

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

                                                                    read_scalar: function() {
                                                                      if (this.is('T_MAGIC_CONST')) {
                                                                        return this.get_magic_constant();
                                                                      } else {
                                                                        switch(this.token) {
                                                                  Severity: Major
                                                                  Found in thirdparty/php-parser.js - About 2 hrs to fix

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

                                                                      matchST_HEREDOC: function() {
                                                                        /** edge case : empty here doc **/
                                                                        var ch = this.input();
                                                                        if (this.isDOC_MATCH()) {
                                                                          this.consume(this.heredoc_label.length - 1);
                                                                    Severity: Major
                                                                    Found in thirdparty/php-parser.js - About 2 hrs to fix

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

                                                                      },{}],112:[function(require,module,exports){
                                                                      /*!
                                                                       * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                       * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                       * @url http://glayzzle.com
                                                                      Severity: Major
                                                                      Found in thirdparty/php-parser.js - About 2 hrs to fix

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

                                                                        },{}],99:[function(require,module,exports){
                                                                        /*!
                                                                         * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                         * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                         * @url http://glayzzle.com
                                                                        Severity: Major
                                                                        Found in thirdparty/php-parser.js - About 2 hrs to fix

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

                                                                          AST.prototype.resolvePrecedence = function(result) {
                                                                            var buffer;
                                                                            // handling precendence
                                                                            if (result.kind === 'bin') {
                                                                              if (result.right) {
                                                                          Severity: Major
                                                                          Found in thirdparty/php-parser.js - About 2 hrs to fix

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

                                                                            },{"./parser/array.js":101,"./parser/class.js":102,"./parser/comment.js":103,"./parser/expr.js":104,"./parser/function.js":105,"./parser/if.js":106,"./parser/loops.js":107,"./parser/main.js":108,"./parser/namespace.js":109,"./parser/scalar.js":110,"./parser/statement.js":111,"./parser/switch.js":112,"./parser/try.js":113,"./parser/utils.js":114,"./parser/variable.js":115}],101:[function(require,module,exports){
                                                                            /*!
                                                                             * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                             * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                             * @url http://glayzzle.com
                                                                            Severity: Major
                                                                            Found in thirdparty/php-parser.js - About 2 hrs to fix

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

                                                                                ,read_encapsed_string_item: function() {
                                                                                  var result = this.node();
                                                                              
                                                                                  // plain text
                                                                                  // https://github.com/php/php-src/blob/master/Zend/zend_language_parser.y#L1222
                                                                              Severity: Major
                                                                              Found in thirdparty/php-parser.js - About 2 hrs to fix

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

                                                                                },{}],93:[function(require,module,exports){
                                                                                /*!
                                                                                 * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                 * @url http://glayzzle.com
                                                                                Severity: Major
                                                                                Found in thirdparty/php-parser.js - About 2 hrs to fix

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

                                                                                  lexer.prototype.unput = function(size) {
                                                                                    if (size === 1) {
                                                                                      // 1 char unput (most cases)
                                                                                      this.offset --;
                                                                                      if (this._input[this.offset] === '\n' && this._input[this.offset - 1] === '\r') {
                                                                                  Severity: Minor
                                                                                  Found in thirdparty/php-parser.js - About 2 hrs to fix

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

                                                                                      is_HEREDOC: function() {
                                                                                        var revert = this.offset;
                                                                                        if (
                                                                                          this._input[this.offset - 1] === '<'
                                                                                          && this._input[this.offset] === '<'
                                                                                    Severity: Minor
                                                                                    Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                        ,read_class_body: function() {
                                                                                          var result = [];
                                                                                      
                                                                                          while(this.token !== this.EOF && this.token !== '}') {
                                                                                      
                                                                                      
                                                                                      Severity: Minor
                                                                                      Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                          ,read_function_declaration: function(type, isStatic) {
                                                                                            var nodeName = 'function';
                                                                                            if (type === 1) {
                                                                                              nodeName = 'closure';
                                                                                            } else if (type === 2) {
                                                                                        Severity: Minor
                                                                                        Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                            ,read_trait_use_alias: function() {
                                                                                              var node = this.node();
                                                                                              var trait = null;
                                                                                              var method;
                                                                                          
                                                                                          
                                                                                          Severity: Minor
                                                                                          Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                            lexer.prototype.next = function () {
                                                                                              var token;
                                                                                              if (!this._input) {
                                                                                                this.done = true;
                                                                                              }
                                                                                            Severity: Minor
                                                                                            Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                              },{"./lexer/comments.js":92,"./lexer/initial.js":93,"./lexer/numbers.js":94,"./lexer/property.js":95,"./lexer/scripting.js":96,"./lexer/strings.js":97,"./lexer/tokens.js":98,"./lexer/utils.js":99}],92:[function(require,module,exports){
                                                                                              /*!
                                                                                               * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                               * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                               * @url http://glayzzle.com
                                                                                              Severity: Minor
                                                                                              Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                                  ST_DOUBLE_QUOTES: function() {
                                                                                                    var ch;
                                                                                                    while(this.offset < this.size) {
                                                                                                      ch = this.input();
                                                                                                      if (ch == '\\') {
                                                                                                Severity: Minor
                                                                                                Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                                  AST.prototype.prepare = function(kind, parser) {
                                                                                                    var start = null;
                                                                                                    if (this.withPositions || this.withSource) {
                                                                                                      start = this.position(parser);
                                                                                                    }
                                                                                                  Severity: Minor
                                                                                                  Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                                      ,read_top_statement: function() {
                                                                                                        switch(this.token) {
                                                                                                          case this.tok.T_FUNCTION:
                                                                                                            return this.read_function(false, false);
                                                                                                          // optional flags
                                                                                                    Severity: Minor
                                                                                                    Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                                        matchINITIAL: function() {
                                                                                                          while(this.offset < this.size) {
                                                                                                            var ch = this.input();
                                                                                                            if (ch == '<') {
                                                                                                              ch = this.ahead(1);
                                                                                                      Severity: Minor
                                                                                                      Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                                          ,read_interface_body: function() {
                                                                                                            var result = [];
                                                                                                        
                                                                                                            while(this.token !== this.EOF && this.token !== '}') {
                                                                                                        
                                                                                                        
                                                                                                        Severity: Minor
                                                                                                        Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                                            read_variable: function(read_only, encapsed, byref) {
                                                                                                              var result;
                                                                                                          
                                                                                                              // check the byref flag
                                                                                                              if (!byref && this.token === '&') {
                                                                                                          Severity: Minor
                                                                                                          Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                                              ,read_inner_statement: function() {
                                                                                                                switch(this.token) {
                                                                                                                  case this.tok.T_FUNCTION:
                                                                                                                    return this.read_function(false, false);
                                                                                                                  // optional flags
                                                                                                            Severity: Minor
                                                                                                            Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                                                read_if: function() {
                                                                                                                  var result = this.node('if'),
                                                                                                                    body = null,
                                                                                                                    alternate = null,
                                                                                                                    shortForm = false,
                                                                                                              Severity: Minor
                                                                                                              Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                                                  read_namespace: function() {
                                                                                                                    var result = this.node('namespace');
                                                                                                                    this.expect(this.tok.T_NAMESPACE) && this.next();
                                                                                                                    if (this.token == '{') {
                                                                                                                      this.currentNamespace = [''];
                                                                                                                Severity: Minor
                                                                                                                Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                                                    ,read_new_expr: function() {
                                                                                                                      var result = this.node('new');
                                                                                                                      if (this.token === this.tok.T_CLASS) {
                                                                                                                        var what = this.node('class');
                                                                                                                        // Annonymous class declaration
                                                                                                                  Severity: Minor
                                                                                                                  Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                                                      ,read_member_flags: function(asInterface) {
                                                                                                                        var result = [-1, -1, -1];
                                                                                                                        if (this.is('T_MEMBER_FLAGS')) {
                                                                                                                          var idx = 0, val = 0;
                                                                                                                          do {
                                                                                                                    Severity: Minor
                                                                                                                    Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                                                        ,read_for: function() {
                                                                                                                          var result = this.node('for'),
                                                                                                                            init = [],
                                                                                                                            test = [],
                                                                                                                            increment = [],
                                                                                                                      Severity: Minor
                                                                                                                      Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                                                        },{}],103:[function(require,module,exports){
                                                                                                                        /*!
                                                                                                                         * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                         * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                         * @url http://glayzzle.com
                                                                                                                        Severity: Minor
                                                                                                                        Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                                                            ,read_simple_variable: function(byref) {
                                                                                                                              var result = this.node('variable');
                                                                                                                              if (this.expect([this.tok.T_VARIABLE, '$']) && this.token === this.tok.T_VARIABLE) {
                                                                                                                                // plain variable name
                                                                                                                                var name = this.text().substring(1);
                                                                                                                          Severity: Minor
                                                                                                                          Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                                                            lexer.prototype.lex = function() {
                                                                                                                              this.yylloc.prev_offset = this.offset;
                                                                                                                              this.yylloc.prev_line = this.yylloc.last_line;
                                                                                                                              this.yylloc.prev_column = this.yylloc.last_column;
                                                                                                                              var token = this.next() || this.lex();
                                                                                                                            Severity: Minor
                                                                                                                            Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                                                                ,read_encaps_var_offset: function() {
                                                                                                                                  var offset = this.node();
                                                                                                                                  if (this.token === this.tok.T_STRING) {
                                                                                                                                    var text = this.text();
                                                                                                                                    var isDblQuote = text[0] === '"';
                                                                                                                              Severity: Minor
                                                                                                                              Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                                                                },{}],113:[function(require,module,exports){
                                                                                                                                /*!
                                                                                                                                 * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                 * @url http://glayzzle.com
                                                                                                                                Severity: Minor
                                                                                                                                Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                                                                      '<': function() {
                                                                                                                                        var nchar = this._input[this.offset];
                                                                                                                                        if (nchar === '<') {
                                                                                                                                          nchar = this._input[this.offset + 1];
                                                                                                                                          if (nchar === '=') {
                                                                                                                                  Severity: Minor
                                                                                                                                  Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                                                                      ,read_trait: function(flag) {
                                                                                                                                        var result = this.node('trait'),
                                                                                                                                          propName = null,
                                                                                                                                          propExtends = null,
                                                                                                                                          propImplements = null,
                                                                                                                                    Severity: Minor
                                                                                                                                    Found in thirdparty/php-parser.js - About 1 hr to fix

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

                                                                                                                                      parser.prototype.error = function(expect) {
                                                                                                                                        var msg = 'Parse Error : syntax error';
                                                                                                                                        token = this.getTokenName(this.token);
                                                                                                                                        if (this.token !== this.EOF) {
                                                                                                                                          if (isNumber(this.token)) {
                                                                                                                                      Severity: Minor
                                                                                                                                      Found in thirdparty/php-parser.js - About 1 hr to fix

                                                                                                                                        Function Parameter has 7 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                        Open

                                                                                                                                        var Parameter = Declaration.extends(function Parameter(name, type, value, isRef, isVariadic, nullable, location) {
                                                                                                                                        Severity: Major
                                                                                                                                        Found in thirdparty/php-parser.js - About 50 mins to fix

                                                                                                                                          Function Closure has 7 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                          Open

                                                                                                                                          var Closure = Statement.extends(function Closure(args, byref, uses, type, nullable, isStatic, location) {
                                                                                                                                          Severity: Major
                                                                                                                                          Found in thirdparty/php-parser.js - About 50 mins to fix

                                                                                                                                            Avoid deeply nested control flow statements.
                                                                                                                                            Open

                                                                                                                                                        } else if (lastCh === '\r') {
                                                                                                                                                          // mac style
                                                                                                                                                          value = value.substring(0, value.length - 1);
                                                                                                                                                        }
                                                                                                                                            Severity: Major
                                                                                                                                            Found in thirdparty/php-parser.js - About 45 mins to fix

                                                                                                                                              Avoid deeply nested control flow statements.
                                                                                                                                              Open

                                                                                                                                                        if (this.yytext.length > this.offset - yyoffset + 2) {
                                                                                                                                                          this.appendToken(next, this.offset - yyoffset + 2);
                                                                                                                                                          this.unput(this.offset - yyoffset + 2);
                                                                                                                                                          return this.tok.T_ENCAPSED_AND_WHITESPACE;
                                                                                                                                                        } else {
                                                                                                                                              Severity: Major
                                                                                                                                              Found in thirdparty/php-parser.js - About 45 mins to fix

                                                                                                                                                Avoid deeply nested control flow statements.
                                                                                                                                                Open

                                                                                                                                                          if (this.yytext.length > this.offset - yyoffset + 2) {
                                                                                                                                                            this.appendToken(next, this.offset - yyoffset + 2);
                                                                                                                                                            this.unput(this.offset - yyoffset + 2);
                                                                                                                                                            return this.tok.T_ENCAPSED_AND_WHITESPACE;
                                                                                                                                                          } else {
                                                                                                                                                Severity: Major
                                                                                                                                                Found in thirdparty/php-parser.js - About 45 mins to fix

                                                                                                                                                  Avoid deeply nested control flow statements.
                                                                                                                                                  Open

                                                                                                                                                            } else if (this.is_NUM()) {
                                                                                                                                                              this.consume_LNUM();
                                                                                                                                                              return this.tok.T_DNUMBER;
                                                                                                                                                            } else {
                                                                                                                                                              this.unput(ch ? 2 : 1);
                                                                                                                                                  Severity: Major
                                                                                                                                                  Found in thirdparty/php-parser.js - About 45 mins to fix

                                                                                                                                                    Avoid deeply nested control flow statements.
                                                                                                                                                    Open

                                                                                                                                                                  if (value[value.length-2] === '\r') {
                                                                                                                                                                    // windows style
                                                                                                                                                                    value = value.substring(0, value.length - 2);
                                                                                                                                                                  } else {
                                                                                                                                                                    // linux style
                                                                                                                                                    Severity: Major
                                                                                                                                                    Found in thirdparty/php-parser.js - About 45 mins to fix

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

                                                                                                                                                      var For = Statement.extends(function For(init, test, increment, body, shortForm, location) {
                                                                                                                                                      Severity: Minor
                                                                                                                                                      Found in thirdparty/php-parser.js - About 45 mins to fix

                                                                                                                                                        Avoid deeply nested control flow statements.
                                                                                                                                                        Open

                                                                                                                                                                if (c === '\r') {
                                                                                                                                                                  c = this.yytext[++i];
                                                                                                                                                                  this.yyprevcol = this.yylloc.last_column;
                                                                                                                                                                  this.yylloc.last_line ++;
                                                                                                                                                                  this.yylloc.last_column = 0;
                                                                                                                                                        Severity: Major
                                                                                                                                                        Found in thirdparty/php-parser.js - About 45 mins to fix

                                                                                                                                                          Avoid deeply nested control flow statements.
                                                                                                                                                          Open

                                                                                                                                                                      if (this.is_NUM()) {
                                                                                                                                                                        this.consume_LNUM();
                                                                                                                                                                        return this.tok.T_DNUMBER;
                                                                                                                                                                      } else {
                                                                                                                                                                        this.unput(ch ? 3 : 2);
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in thirdparty/php-parser.js - About 45 mins to fix

                                                                                                                                                            Avoid deeply nested control flow statements.
                                                                                                                                                            Open

                                                                                                                                                                          } else if (this.token === '{') {
                                                                                                                                                                            var expr = this.next().read_expr();
                                                                                                                                                                            this.expect('}') && this.next();
                                                                                                                                                                            what = this.node('encapsed')(
                                                                                                                                                                              [what, expr],
                                                                                                                                                            Severity: Major
                                                                                                                                                            Found in thirdparty/php-parser.js - About 45 mins to fix

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

                                                                                                                                                              var Class = Declaration.extends(function Class(name, ext, impl, body, flags, location) {
                                                                                                                                                              Severity: Minor
                                                                                                                                                              Found in thirdparty/php-parser.js - About 45 mins to fix

                                                                                                                                                                Avoid deeply nested control flow statements.
                                                                                                                                                                Open

                                                                                                                                                                          if (this.tryMatch('%=')) {
                                                                                                                                                                            this.aspTagMode = true;
                                                                                                                                                                            this.unput(1).appendToken(this.tok.T_OPEN_TAG_WITH_ECHO, 3).nextINITIAL();
                                                                                                                                                                            break;
                                                                                                                                                                          } else {
                                                                                                                                                                Severity: Major
                                                                                                                                                                Found in thirdparty/php-parser.js - About 45 mins to fix

                                                                                                                                                                  Avoid deeply nested control flow statements.
                                                                                                                                                                  Open

                                                                                                                                                                          } else if (this.is_LABEL_START()) {
                                                                                                                                                                            // start of $var...
                                                                                                                                                                            var yyoffset = this.offset;
                                                                                                                                                                            var next = this.consume_VARIABLE();
                                                                                                                                                                            if (this.yytext.length > this.offset - yyoffset + 2) {
                                                                                                                                                                  Severity: Major
                                                                                                                                                                  Found in thirdparty/php-parser.js - About 45 mins to fix

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

                                                                                                                                                                    var fn = Declaration.extends(function _Function(name, args, byref, type, nullable, location) {
                                                                                                                                                                    Severity: Minor
                                                                                                                                                                    Found in thirdparty/php-parser.js - About 45 mins to fix

                                                                                                                                                                      Avoid deeply nested control flow statements.
                                                                                                                                                                      Open

                                                                                                                                                                                  if (ch === ' ' || ch === '\t' || ch === '\n' || ch === '\r') {
                                                                                                                                                                                    this.unput(1).appendToken(this.tok.T_OPEN_TAG, 6).nextINITIAL();
                                                                                                                                                                                    break;
                                                                                                                                                                                  }
                                                                                                                                                                      Severity: Major
                                                                                                                                                                      Found in thirdparty/php-parser.js - About 45 mins to fix

                                                                                                                                                                        Avoid deeply nested control flow statements.
                                                                                                                                                                        Open

                                                                                                                                                                                  if (this.yytext.length > 2) {
                                                                                                                                                                                    this.appendToken(this.tok.T_CURLY_OPEN, 1);
                                                                                                                                                                                    this.unput(2);
                                                                                                                                                                                    return this.tok.T_ENCAPSED_AND_WHITESPACE;
                                                                                                                                                                                  } else {
                                                                                                                                                                        Severity: Major
                                                                                                                                                                        Found in thirdparty/php-parser.js - About 45 mins to fix

                                                                                                                                                                          Avoid deeply nested control flow statements.
                                                                                                                                                                          Open

                                                                                                                                                                                    if (this.yytext.length > 2) {
                                                                                                                                                                                      this.appendToken(this.tok.T_CURLY_OPEN, 1);
                                                                                                                                                                                      this.unput(2);
                                                                                                                                                                                      return this.tok.T_ENCAPSED_AND_WHITESPACE;
                                                                                                                                                                                    } else {
                                                                                                                                                                          Severity: Major
                                                                                                                                                                          Found in thirdparty/php-parser.js - About 45 mins to fix

                                                                                                                                                                            Avoid deeply nested control flow statements.
                                                                                                                                                                            Open

                                                                                                                                                                                if (result.right && result.right.kind === 'bin') {
                                                                                                                                                                                  var lLevel = AST.precedence['='];
                                                                                                                                                                                  var rLevel = AST.precedence[result.right.type];
                                                                                                                                                                                  // only shifts with and, xor, or
                                                                                                                                                                                  if (lLevel && rLevel && rLevel < lLevel) {
                                                                                                                                                                            Severity: Major
                                                                                                                                                                            Found in thirdparty/php-parser.js - About 45 mins to fix

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

                                                                                                                                                                              var Foreach = Statement.extends(function Foreach(source, key, value, body, shortForm, location) {
                                                                                                                                                                              Severity: Minor
                                                                                                                                                                              Found in thirdparty/php-parser.js - About 45 mins to fix

                                                                                                                                                                                Avoid deeply nested control flow statements.
                                                                                                                                                                                Open

                                                                                                                                                                                        if (ch) this.unput(1);
                                                                                                                                                                                Severity: Major
                                                                                                                                                                                Found in thirdparty/php-parser.js - About 45 mins to fix

                                                                                                                                                                                  Avoid deeply nested control flow statements.
                                                                                                                                                                                  Open

                                                                                                                                                                                            if (this.yytext.length > 2) {
                                                                                                                                                                                              this.appendToken(this.tok.T_DOLLAR_OPEN_CURLY_BRACES, 2);
                                                                                                                                                                                              this.unput(2);
                                                                                                                                                                                              return this.tok.T_ENCAPSED_AND_WHITESPACE;
                                                                                                                                                                                            }else {
                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                  Found in thirdparty/php-parser.js - About 45 mins to fix

                                                                                                                                                                                    Avoid deeply nested control flow statements.
                                                                                                                                                                                    Open

                                                                                                                                                                                            if (lLevel && rLevel && rLevel <= lLevel) {
                                                                                                                                                                                              buffer = result.right;
                                                                                                                                                                                              result.right = result.right.test;
                                                                                                                                                                                              buffer.test = this.resolvePrecedence(result);
                                                                                                                                                                                              result = buffer;
                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                    Found in thirdparty/php-parser.js - About 45 mins to fix

                                                                                                                                                                                      Avoid deeply nested control flow statements.
                                                                                                                                                                                      Open

                                                                                                                                                                                                  if (tChar === '\'') {
                                                                                                                                                                                                    this.begin('ST_NOWDOC');
                                                                                                                                                                                                  } else {
                                                                                                                                                                                                    this.begin('ST_HEREDOC');
                                                                                                                                                                                                  }
                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                      Found in thirdparty/php-parser.js - About 45 mins to fix

                                                                                                                                                                                        Avoid deeply nested control flow statements.
                                                                                                                                                                                        Open

                                                                                                                                                                                                if (ch === '$') {
                                                                                                                                                                                                  // start of {$...
                                                                                                                                                                                                  this.begin('ST_IN_SCRIPTING');
                                                                                                                                                                                                  if (this.yytext.length > 2) {
                                                                                                                                                                                                    this.appendToken(this.tok.T_CURLY_OPEN, 1);
                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                        Found in thirdparty/php-parser.js - About 45 mins to fix

                                                                                                                                                                                          Avoid deeply nested control flow statements.
                                                                                                                                                                                          Open

                                                                                                                                                                                                          if (what.loc && what.value[0].loc) {
                                                                                                                                                                                                            what.loc.start = what.value[0].loc.start;
                                                                                                                                                                                                          }
                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                          Found in thirdparty/php-parser.js - About 45 mins to fix

                                                                                                                                                                                            Consider simplifying this complex logical expression.
                                                                                                                                                                                            Open

                                                                                                                                                                                              if (!this.all_tokens) {
                                                                                                                                                                                                while(
                                                                                                                                                                                                  token === this.tok.T_WHITESPACE      // ignore white space
                                                                                                                                                                                                  || (
                                                                                                                                                                                                    !this.comment_tokens && (
                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                            Found in thirdparty/php-parser.js - About 40 mins to fix

                                                                                                                                                                                              Consider simplifying this complex logical expression.
                                                                                                                                                                                              Open

                                                                                                                                                                                                  } else if (ch === '[' || ch === '{' || ch === '}' || ch === '"' || ch === '`' || this.is_TOKEN()) {
                                                                                                                                                                                                    return ch;
                                                                                                                                                                                                  } else {
                                                                                                                                                                                                    throw new Error('Unexpected terminal');
                                                                                                                                                                                                  }
                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                              Found in thirdparty/php-parser.js - About 40 mins to fix

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

                                                                                                                                                                                                var Error = Node.extends(function Error(message, token, line, expected, location) {
                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                Found in thirdparty/php-parser.js - About 35 mins to fix

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

                                                                                                                                                                                                  var If = Statement.extends(function If(test, body, alternate, shortForm, location) {
                                                                                                                                                                                                  Severity: Minor
                                                                                                                                                                                                  Found in thirdparty/php-parser.js - About 35 mins to fix

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

                                                                                                                                                                                                    var TraitAlias = Node.extends(function TraitAlias(trait, method, as, flags, location) {
                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                    Found in thirdparty/php-parser.js - About 35 mins to fix

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

                                                                                                                                                                                                      var Trait = Declaration.extends(function Trait(name, ext, impl, body, location) {
                                                                                                                                                                                                      Severity: Minor
                                                                                                                                                                                                      Found in thirdparty/php-parser.js - About 35 mins to fix

                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                        Open

                                                                                                                                                                                                              return this.tok.T_DNUMBER;
                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                        Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                          Open

                                                                                                                                                                                                                return this.tok.T_LNUMBER;
                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                          Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                            Open

                                                                                                                                                                                                                  return result('bin', '/', expr, this.next().read_expr());
                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                            Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                              Open

                                                                                                                                                                                                                    return result('bin', '<<', expr, this.next().read_expr());
                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                              Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                Open

                                                                                                                                                                                                                      return result('bin', '>=', expr, this.next().read_expr());
                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                            return result(assignList);
                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                  Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                        return this.tok.T_ENCAPSED_AND_WHITESPACE;
                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                    Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                  return this.tok.T_ENCAPSED_AND_WHITESPACE;
                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                      Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                  return result('assign', expr, this.next().read_expr(), '-=');
                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                        Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                              return expr;
                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                          Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                      return err;
                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                            Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                      return result(what, body, mode);
                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                              Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                            return cachedSetTimeout.call(this, fun, 0);
                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                            return this.tok.T_CLOSE_TAG;
                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                  Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                              return this.consume_TOKEN();
                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                  return this.tok.T_DOLLAR_OPEN_CURLY_BRACES;
                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                      Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                              return result('bin', '||', expr, this.next().read_expr());
                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                        Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                return result('retif', expr, trueArg, this.read_expr());
                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                          Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                    return this.node('call')(
                                                                                                                                                                                                                                                      expr, this.read_function_argument_list()
                                                                                                                                                                                                                                                    );
                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                            Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                        return result('assign', expr, this.next().read_expr(), '&=');
                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                              Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                          return result('assign',expr, this.next().read_expr(), '>>=');
                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                            return result('post', '+', expr);
                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                  Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                            return result(name, body, false);
                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                return this.tok.T_IS_SMALLER_OR_EQUAL;
                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                      Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                return this.tok.T_IS_NOT_EQUAL;
                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                        Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                  return result(assignList);
                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                          Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                  return this.node('clone')(
                                                                                                                                                                                                                                                                    this.next().read_expr()
                                                                                                                                                                                                                                                                  );
                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                            Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                      return result(value);
                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                              Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                        return this.consume_TOKEN();
                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                              return this.tok.T_DOLLAR_OPEN_CURLY_BRACES;
                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                  Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                return next;
                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                              return result(status);
                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                      Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                  return result('assign', expr, this.next().read_expr(), '/=');
                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                        Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                    return result('assign', expr, this.next().read_expr(), '^=');
                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                          Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                    return result(label);
                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                            Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                    return ch;
                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                              Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                            return next;
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                        return result('bin', '!=', expr, this.next().read_expr());
                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                  Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                            return this.recursive_variable_chain_scan(expr, false);
                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                              return result(expr);
                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                      Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                  return result;
                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                        Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                  return result(expr);
                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                          Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                        return this.tok.T_ENCAPSED_AND_WHITESPACE;
                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                            Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                          return next;
                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                              Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                            return this.tok.T_CURLY_OPEN;
                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                        return result('bin', '+', expr, this.next().read_expr());
                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                  Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                          return result('bin', '<', expr, this.next().read_expr());
                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                          return expr;
                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                      Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                              return this.next().read_encapsed_string('`');
                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                        Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                  return result([arg]);
                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                          Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                    return expr;
                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                            Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                    return this.tok.T_ENCAPSED_AND_WHITESPACE;
                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                              Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                        return this.consume_TOKEN();
                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                        return result('bin', '%', expr, this.next().read_expr());
                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                  Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                          return result('bin', '??', expr, this.next().read_expr());
                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                              return result;
                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                      Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                  return result('assign', expr, this.next().read_expr(), '*=');
                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                        Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                    return result('assign', expr, this.next().read_expr(), '.=');
                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                          Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                  return result('bin', '*', expr, this.next().read_expr());
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                    return result('bin', '**', expr, this.next().read_expr());
                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                              Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                      return result('bin', 'or', expr, this.next().read_expr());
                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                          return expr;
                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                  Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                          return result('bin', 'xor', expr, this.next().read_expr());
                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                            return result('bin', '!==', expr, this.next().read_expr());
                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                      Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                              return result('bin', '==', expr, this.next().read_expr());
                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                        Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                    return result('assign', expr, right, '=');
                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                          Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                      return expr;
                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                            Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                      return result(items);
                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                              Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                        return null;
                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                              return cachedClearTimeout.call(this, marker);
                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                  Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                              return this.tok.T_CLOSE_TAG;
                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                              return '}';
                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                      Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                  return this.consume_NUM();
                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                        Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                      return this.tok.T_ENCAPSED_AND_WHITESPACE;
                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                          Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                  return result('bin', '-', expr, this.next().read_expr());
                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                            Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                    return result('bin', '&&', expr, this.next().read_expr());
                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                              Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                      return result('bin', '>', expr, this.next().read_expr());
                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                          return result(args);
                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                  Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                              return result('assign', expr, this.next().read_expr(), '+=');
                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                              return '{';
                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                      Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                              return '<';
                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                        Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                                    return assign(
                                                                                                                                                                                                                                                                                                                                                                                      result(assignList),
                                                                                                                                                                                                                                                                                                                                                                                      this.next().read_expr(),
                                                                                                                                                                                                                                                                                                                                                                                      '='
                                                                                                                                                                                                                                                                                                                                                                                    );
                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                          Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                    return result(value, key);
                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                            Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                                      return result(expr);
                                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                                              Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                                          return result('assign', expr, this.next().read_expr(), '<<=');
                                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                                              return this.next().read_encapsed_string(
                                                                                                                                                                                                                                                                                                                                                                                                this.tok.T_END_HEREDOC
                                                                                                                                                                                                                                                                                                                                                                                              );
                                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                  Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                                              return node('binary', what);
                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                                              return result(items);
                                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                      Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                                                  return this.consume_LABEL().T_STRING();
                                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                        Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                                              return this.tok.T_ENCAPSED_AND_WHITESPACE;
                                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                          Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                  return result('bin', '>>', expr, this.next().read_expr());
                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                            Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                                                    return result('bin', 'and', expr, this.next().read_expr());
                                                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                              Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                                                      return result('bin', '<=', expr, this.next().read_expr());
                                                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                                                            return result('assign', expr, this.next().read_expr(), '|=');
                                                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                  Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                                                              return result('post', '-', expr);
                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                                                            return this.tok.T_DNUMBER;
                                                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                      Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                                                                    return this.tok.T_ENCAPSED_AND_WHITESPACE;
                                                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                        Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                                                                      return this.tok.T_ENCAPSED_AND_WHITESPACE;
                                                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                          Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                        return this.tok.T_ENCAPSED_AND_WHITESPACE;
                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                            Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                                                                    return result('bin', '<=>', expr, this.next().read_expr());
                                                                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                              Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                                                                          return result('assign', expr, this.next().read_expr(), '%=');
                                                                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                                                                            return this.read_function(true, [0, 1, 0]);
                                                                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                  Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                                                                            return result(args);
                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                                                                              return this.tok.T_LNUMBER;
                                                                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                      Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                                                                                    return this.consume_NUM();
                                                                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                        Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                                                                                      return this.tok.T_ENCAPSED_AND_WHITESPACE;
                                                                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                          Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                        return this.tok.T_CURLY_OPEN;
                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                            Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                                                                                  return this.tok.T_ENCAPSED_AND_WHITESPACE;
                                                                                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                              Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                                                                                      return result('bin', '===', expr, this.next().read_expr());
                                                                                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                                                                                          return result('unary', '-', this.read_expr());
                                                                                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                  Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                                                                                            return this.read_dereferencable(expr);
                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                return result('assign', expr, this.next().read_expr(), '**=');
                                                                                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                      Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                    return this.tok.T_CURLY_OPEN;
                                                                                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                        Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                      return this.tok.T_ENCAPSED_AND_WHITESPACE;
                                                                                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                          Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                  return result('bin', 'instanceof', expr, this.next().read_expr());
                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                      return expr;
                                                                                                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                              Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                          return this.read_function(true, [0, 1, 0]);
                                                                                                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                Found in thirdparty/php-parser.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                            return result(label);
                                                                                                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                  Found in thirdparty/php-parser.js - About 30 mins to fix

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"../../is-buffer/index.js":1,"./ast":2,"./lexer":91,"./parser":100,"./tokens":116}],118:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    // shim for using process in browser
                                                                                                                                                                                                                                                                                                                                                                                                                                                    var process = module.exports = {};
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    // cached from whatever global is present so that test runners that stub it
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 2 other locations - About 1 wk to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/postcss-safe-parser.js on lines 6428..6614
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/promise.js on lines 28..214

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 1234.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.phpParser = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Determine if an object is a Buffer
                                                                                                                                                                                                                                                                                                                                                                                                                                                     *
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @author   Feross Aboukhadijeh <https://feross.org>
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 4 other locations - About 1 day to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/espree.js on lines 31..8041
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/htmlparser2.js on lines 26..4483
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/postcss-safe-parser.js on lines 26..6614
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/promise.js on lines 28..665

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 300.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (ch === '{') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                              this.begin('ST_LOOKING_FOR_VARNAME');
                                                                                                                                                                                                                                                                                                                                                                                                                                                              if (this.yytext.length > 2) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                this.appendToken(this.tok.T_DOLLAR_OPEN_CURLY_BRACES, 2);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                this.unput(2);
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 1 day to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 4095..4115

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 236.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (ch === '{') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                              this.begin('ST_LOOKING_FOR_VARNAME');
                                                                                                                                                                                                                                                                                                                                                                                                                                                              if (this.yytext.length > 2) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                this.appendToken(this.tok.T_DOLLAR_OPEN_CURLY_BRACES, 2);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                this.unput(2);
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 1 day to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 4018..4038

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 236.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                        if (ch === '$') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          ch = this.input();
                                                                                                                                                                                                                                                                                                                                                                                                                                                          if (ch === '{') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                            this.begin('ST_LOOKING_FOR_VARNAME');
                                                                                                                                                                                                                                                                                                                                                                                                                                                            return this.tok.T_DOLLAR_OPEN_CURLY_BRACES;
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 6 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 3988..4005

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 174.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                        if (ch === '$') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          ch = this.input();
                                                                                                                                                                                                                                                                                                                                                                                                                                                          if (ch === '{') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                            this.begin('ST_LOOKING_FOR_VARNAME');
                                                                                                                                                                                                                                                                                                                                                                                                                                                            return this.tok.T_DOLLAR_OPEN_CURLY_BRACES;
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 6 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 4065..4082

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 174.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./statement":70}],33:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 5 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1293..1326

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 149.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./node":53}],32:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 5 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1326..1359

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 149.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                        while(this.token != this.EOF && this.token !== this.tok.T_ENDIF) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          if (this.token === this.tok.T_ELSEIF) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                            alternate = this.next().read_elseif_short();
                                                                                                                                                                                                                                                                                                                                                                                                                                                            break;
                                                                                                                                                                                                                                                                                                                                                                                                                                                          } else if (this.token === this.tok.T_ELSE) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 5 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 6400..6409

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 148.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                          while(this.token !== this.EOF && this.token !== this.tok.T_ENDIF) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (this.token === this.tok.T_ELSEIF) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                              alternate = this.next().read_elseif_short();
                                                                                                                                                                                                                                                                                                                                                                                                                                                              break;
                                                                                                                                                                                                                                                                                                                                                                                                                                                            } else if (this.token === this.tok.T_ELSE) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 5 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 6448..6457

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 148.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./sys":75}],84:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 6 other locations - About 4 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 510..537
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 681..710
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2200..2228
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2364..2392
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2562..2590
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2770..2798

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 125.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./operation":57}],12:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 6 other locations - About 4 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 510..537
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2200..2228
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2364..2392
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2562..2590
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2637..2666
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2770..2798

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 125.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./expression":31}],88:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 6 other locations - About 4 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 510..537
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 681..710
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2200..2228
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2364..2392
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2562..2590
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2637..2666

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 125.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./lookup":48}],67:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 6 other locations - About 4 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 510..537
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 681..710
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2364..2392
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2562..2590
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2637..2666
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2770..2798

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 125.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./node":53}],81:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 6 other locations - About 4 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 510..537
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 681..710
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2200..2228
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2364..2392
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2637..2666
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2770..2798

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 125.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./literal":46}],74:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 6 other locations - About 4 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 510..537
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 681..710
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2200..2228
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2562..2590
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2637..2666
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2770..2798

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 125.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./statement":70}],5:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 6 other locations - About 4 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 681..710
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2200..2228
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2364..2392
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2562..2590
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2637..2666
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2770..2798

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 125.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                      read_top_statements: function() {
                                                                                                                                                                                                                                                                                                                                                                                                                                                        var result = [];
                                                                                                                                                                                                                                                                                                                                                                                                                                                        while(this.token !== this.EOF && this.token !== '}') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          var statement = this.read_top_statement();
                                                                                                                                                                                                                                                                                                                                                                                                                                                          if (statement) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 4 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 7183..7196

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 122.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./statement":70}],40:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 2 other locations - About 4 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 483..510
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2510..2537

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 122.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./node":53}],79:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 2 other locations - About 4 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 483..510
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1549..1576

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 122.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                      ,read_inner_statements: function() {
                                                                                                                                                                                                                                                                                                                                                                                                                                                        var result = [];
                                                                                                                                                                                                                                                                                                                                                                                                                                                        while(this.token != this.EOF && this.token !== '}') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          var statement = this.read_inner_statement();
                                                                                                                                                                                                                                                                                                                                                                                                                                                          if (statement) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 4 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 7113..7126

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 122.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./expression":31}],4:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 2 other locations - About 4 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1549..1576
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2510..2537

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 122.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./node":53}],9:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 8 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 630..655
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 655..681
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1008..1034
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1831..1857
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2056..2082
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2082..2108
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2590..2616
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2798..2825

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 113.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./statement":70}],10:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 8 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 604..630
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 655..681
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1008..1034
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1831..1857
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2056..2082
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2082..2108
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2590..2616
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2798..2825

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 113.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./block":6}],22:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 8 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 604..630
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 630..655
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 655..681
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1831..1857
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2056..2082
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2082..2108
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2590..2616
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2798..2825

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 113.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./block":6,"./identifier":38}],52:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 8 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 604..630
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 630..655
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 655..681
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1008..1034
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2056..2082
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2082..2108
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2590..2616
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2798..2825

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 113.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./node":53}],11:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 8 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 604..630
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 630..655
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1008..1034
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1831..1857
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2056..2082
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2082..2108
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2590..2616
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2798..2825

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 113.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./statement":70}],82:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 8 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 604..630
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 630..655
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 655..681
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1008..1034
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1831..1857
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2056..2082
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2082..2108
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2798..2825

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 113.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./operation":57}],62:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 8 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 604..630
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 630..655
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 655..681
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1008..1034
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1831..1857
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2056..2082
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2590..2616
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2798..2825

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 113.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./statement":70}],89:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 8 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 604..630
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 630..655
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 655..681
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1008..1034
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1831..1857
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2056..2082
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2082..2108
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2590..2616

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 113.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{}],61:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 8 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 604..630
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 630..655
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 655..681
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1008..1034
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1831..1857
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2082..2108
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2590..2616
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2798..2825

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 113.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./block":6}],65:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 743..768

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 112.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./declaration":20}],14:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2152..2179

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 112.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (ch === '$') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                              // start of {$...
                                                                                                                                                                                                                                                                                                                                                                                                                                                              this.begin('ST_IN_SCRIPTING');
                                                                                                                                                                                                                                                                                                                                                                                                                                                              if (this.yytext.length > 2) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                this.appendToken(this.tok.T_CURLY_OPEN, 1);
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 4042..4053

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 111.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (ch === '$') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                              // start of {$...
                                                                                                                                                                                                                                                                                                                                                                                                                                                              this.begin('ST_IN_SCRIPTING');
                                                                                                                                                                                                                                                                                                                                                                                                                                                              if (this.yytext.length > 2) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                this.appendToken(this.tok.T_CURLY_OPEN, 1);
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 3940..3951

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 111.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./statement":70}],23:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 3 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 436..483
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1170..1195
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2537..2562

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 110.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./literal":46}],27:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 3 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 436..483
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1034..1059
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2537..2562

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 110.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./node":53}],80:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 3 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 436..483
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1034..1059
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1170..1195

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 110.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./ast/array":3,"./ast/assign":4,"./ast/bin":5,"./ast/block":6,"./ast/boolean":7,"./ast/break":8,"./ast/call":9,"./ast/case":10,"./ast/cast":11,"./ast/catch":12,"./ast/class":13,"./ast/classconstant":14,"./ast/clone":15,"./ast/closure":16,"./ast/constant":17,"./ast/constref":18,"./ast/continue":19,"./ast/declaration":20,"./ast/declare":21,"./ast/do":22,"./ast/doc":23,"./ast/echo":24,"./ast/empty":25,"./ast/encapsed":26,"./ast/entry":27,"./ast/error":28,"./ast/eval":29,"./ast/exit":30,"./ast/expression":31,"./ast/for":32,"./ast/foreach":33,"./ast/function":34,"./ast/global":35,"./ast/goto":36,"./ast/halt":37,"./ast/identifier":38,"./ast/if":39,"./ast/include":40,"./ast/inline":41,"./ast/interface":42,"./ast/isset":43,"./ast/label":44,"./ast/list":45,"./ast/literal":46,"./ast/location":47,"./ast/lookup":48,"./ast/magic":49,"./ast/method":50,"./ast/namespace":51,"./ast/new":52,"./ast/node":53,"./ast/nowdoc":54,"./ast/number":55,"./ast/offsetlookup":56,"./ast/operation":57,"./ast/parameter":58,"./ast/parenthesis":59,"./ast/position":60,"./ast/post":61,"./ast/pre":62,"./ast/print":63,"./ast/program":64,"./ast/property":65,"./ast/propertylookup":66,"./ast/retif":67,"./ast/return":68,"./ast/silent":69,"./ast/statement":70,"./ast/static":71,"./ast/staticlookup":72,"./ast/string":73,"./ast/switch":74,"./ast/sys":75,"./ast/throw":76,"./ast/trait":77,"./ast/traitalias":78,"./ast/traitprecedence":79,"./ast/traituse":80,"./ast/try":81,"./ast/unary":82,"./ast/unset":83,"./ast/usegroup":84,"./ast/useitem":85,"./ast/variable":86,"./ast/variadic":87,"./ast/while":88,"./ast/yield":89,"./ast/yieldfrom":90}],3:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 3 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1034..1059
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1170..1195
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2537..2562

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 110.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./sys":75}],46:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2392..2415

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 103.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./statement":70}],75:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1688..1711

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 103.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./expression":31}],19:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 12 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 581..604
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1389..1412
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1412..1437
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1437..1462
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1644..1667
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2010..2034
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2228..2251
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2251..2275
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2296..2319
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2415..2439
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2746..2770
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2825..2850

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 101.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./node":53}],71:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 12 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 581..604
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 872..895
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1389..1412
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1412..1437
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1437..1462
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1644..1667
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2010..2034
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2228..2251
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2251..2275
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2415..2439
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2746..2770
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2825..2850

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 101.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./statement":70}],76:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 12 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 581..604
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 872..895
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1389..1412
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1412..1437
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1437..1462
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1644..1667
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2010..2034
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2228..2251
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2251..2275
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2296..2319
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2746..2770
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2825..2850

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 101.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./statement":70}],36:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 12 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 581..604
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 872..895
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1389..1412
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1437..1462
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1644..1667
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2010..2034
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2228..2251
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2251..2275
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2296..2319
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2415..2439
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2746..2770
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2825..2850

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 101.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./statement":70}],37:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 12 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 581..604
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 872..895
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1389..1412
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1412..1437
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1644..1667
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2010..2034
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2228..2251
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2251..2275
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2296..2319
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2415..2439
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2746..2770
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2825..2850

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 101.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./literal":46}],8:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 12 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 872..895
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1389..1412
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1412..1437
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1437..1462
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1644..1667
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2010..2034
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2228..2251
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2251..2275
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2296..2319
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2415..2439
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2746..2770
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2825..2850

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 101.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./expression":31}],90:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 12 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 581..604
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 872..895
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1389..1412
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1412..1437
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1437..1462
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1644..1667
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2010..2034
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2228..2251
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2251..2275
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2296..2319
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2415..2439
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2746..2770

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 101.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./expression":31}],87:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 12 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 581..604
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 872..895
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1389..1412
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1412..1437
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1437..1462
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1644..1667
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2010..2034
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2228..2251
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2251..2275
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2296..2319
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2415..2439
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2825..2850

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 101.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./declaration":20}],59:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 12 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 581..604
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 872..895
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1389..1412
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1412..1437
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1437..1462
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1644..1667
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2228..2251
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2251..2275
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2296..2319
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2415..2439
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2746..2770
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2825..2850

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 101.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./statement":70}],68:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 12 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 581..604
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 872..895
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1389..1412
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1412..1437
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1437..1462
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1644..1667
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2010..2034
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2251..2275
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2296..2319
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2415..2439
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2746..2770
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2825..2850

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 101.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./node":53}],69:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 12 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 581..604
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 872..895
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1389..1412
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1412..1437
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1437..1462
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1644..1667
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2010..2034
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2228..2251
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2296..2319
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2415..2439
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2746..2770
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2825..2850

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 101.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./declaration":20}],35:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 12 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 581..604
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 872..895
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1412..1437
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1437..1462
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1644..1667
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2010..2034
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2228..2251
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2251..2275
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2296..2319
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2415..2439
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2746..2770
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2825..2850

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 101.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./sys":75}],44:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 12 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 581..604
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 872..895
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1389..1412
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1412..1437
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1437..1462
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2010..2034
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2228..2251
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2251..2275
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2296..2319
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2415..2439
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2746..2770
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2825..2850

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 101.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./sys":75}],64:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 3 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 826..849
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1891..1915
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2340..2364

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 100.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./lookup":48}],73:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 3 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 826..849
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1891..1915
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2129..2152

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 100.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./statement":70}],17:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 3 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1891..1915
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2129..2152
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2340..2364

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 100.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{}],54:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 3 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 826..849
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2129..2152
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2340..2364

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 100.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./constant":17}],15:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 3 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 849..872
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1225..1248
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1248..1271

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 98.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./declaration":20}],18:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 3 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 768..791
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1225..1248
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1248..1271

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 98.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./statement":70}],30:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 3 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 768..791
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 849..872
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1225..1248

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 98.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./node":53}],29:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 3 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 768..791
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 849..872
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1248..1271

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 98.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                        '+': function() {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          var nchar = this._input[this.offset];
                                                                                                                                                                                                                                                                                                                                                                                                                                                          if (nchar === '+') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                            this.input();
                                                                                                                                                                                                                                                                                                                                                                                                                                                            return this.tok.T_INC;
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 2 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 4379..4389
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 4390..4400

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 97.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                        '&': function() {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          var nchar = this._input[this.offset];
                                                                                                                                                                                                                                                                                                                                                                                                                                                          if (nchar === '=') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                            this.input();
                                                                                                                                                                                                                                                                                                                                                                                                                                                            return this.tok.T_AND_EQUAL;
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 2 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 4270..4280
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 4390..4400

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 97.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                        '|': function() {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          var nchar = this._input[this.offset];
                                                                                                                                                                                                                                                                                                                                                                                                                                                          if (nchar === '=') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                            this.input();
                                                                                                                                                                                                                                                                                                                                                                                                                                                            return this.tok.T_OR_EQUAL;
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 2 other locations - About 3 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 4270..4280
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 4379..4389

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 97.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./statement":70}],72:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 2 other locations - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1936..1957
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2179..2200

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 93.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./literal":46}],56:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 2 other locations - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2179..2200
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2319..2340

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 93.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./declaration":20}],66:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 2 other locations - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1936..1957
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2319..2340

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 93.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./statement":70}],31:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2275..2296

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 91.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./statement":70}],70:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1271..1293

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 91.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                      if (ch === '\n' || ch === '\r') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                        this.yylloc.last_line = ++this.yylineno;
                                                                                                                                                                                                                                                                                                                                                                                                                                                        this.yyprevcol = this.yylloc.last_column;
                                                                                                                                                                                                                                                                                                                                                                                                                                                        this.yylloc.last_column = 0;
                                                                                                                                                                                                                                                                                                                                                                                                                                                      } else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 3120..3126

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 91.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                        if (ch === '\n' || ch === '\r') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          this.yylloc.last_line = ++this.yylineno;
                                                                                                                                                                                                                                                                                                                                                                                                                                                          this.yyprevcol = this.yylloc.last_column;
                                                                                                                                                                                                                                                                                                                                                                                                                                                          this.yylloc.last_column = 0;
                                                                                                                                                                                                                                                                                                                                                                                                                                                        } else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 3019..3025

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 91.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                          if (ch === '\n' || ch === '\r') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                            ch = this.input();
                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (this.isDOC_MATCH()) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                              this.unput(1).popState();
                                                                                                                                                                                                                                                                                                                                                                                                                                                              this.appendToken(
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 3904..3954

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 89.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                          if (ch === '\n' || ch === '\r') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                            ch = this.input();
                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (this.isDOC_MATCH()) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                              this.unput(1).popState();
                                                                                                                                                                                                                                                                                                                                                                                                                                                              this.appendToken(
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 3869..3880

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 89.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./statement":70}],7:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 9 other locations - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1059..1080
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1080..1101
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1576..1597
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1623..1644
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1667..1688
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1758..1779
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1915..1936
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2108..2129
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2616..2637

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 88.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./sys":75}],25:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 9 other locations - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 560..581
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1059..1080
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1576..1597
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1623..1644
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1667..1688
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1758..1779
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1915..1936
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2108..2129
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2616..2637

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 88.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./operation":57}],63:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 9 other locations - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 560..581
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1059..1080
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1080..1101
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1576..1597
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1623..1644
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1667..1688
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1758..1779
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1915..1936
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2616..2637

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 88.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./expression":31}],49:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 9 other locations - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 560..581
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1059..1080
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1080..1101
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1576..1597
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1623..1644
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1667..1688
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1915..1936
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2108..2129
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2616..2637

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 88.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./node":53}],24:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 9 other locations - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 560..581
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1080..1101
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1576..1597
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1623..1644
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1667..1688
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1758..1779
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1915..1936
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2108..2129
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2616..2637

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 88.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                      consume_LNUM: function() {
                                                                                                                                                                                                                                                                                                                                                                                                                                                        while(this.offset < this.size) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          var ch = this.input();
                                                                                                                                                                                                                                                                                                                                                                                                                                                          if (!this.is_NUM()) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (ch) this.unput(1);
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 3506..3515

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 88.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./declaration":20}],43:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 9 other locations - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 560..581
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1059..1080
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1080..1101
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1576..1597
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1667..1688
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1758..1779
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1915..1936
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2108..2129
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2616..2637

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 88.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./node":53}],45:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 9 other locations - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 560..581
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1059..1080
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1080..1101
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1576..1597
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1623..1644
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1758..1779
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1915..1936
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2108..2129
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2616..2637

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 88.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./statement":70}],41:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 9 other locations - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 560..581
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1059..1080
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1080..1101
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1623..1644
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1667..1688
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1758..1779
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1915..1936
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2108..2129
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2616..2637

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 88.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./operation":57}],83:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 9 other locations - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 560..581
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1059..1080
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1080..1101
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1576..1597
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1623..1644
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1667..1688
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1758..1779
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1915..1936
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2108..2129

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 88.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    var Error = Node.extends(function Error(message, token, line, expected, location) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                      Node.apply(this, [KIND, location]);
                                                                                                                                                                                                                                                                                                                                                                                                                                                      this.message = message;
                                                                                                                                                                                                                                                                                                                                                                                                                                                      this.token = token;
                                                                                                                                                                                                                                                                                                                                                                                                                                                      this.line = line;
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1539..1545

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 88.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./literal":46}],55:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 9 other locations - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 560..581
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1059..1080
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1080..1101
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1576..1597
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1623..1644
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1667..1688
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1758..1779
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2108..2129
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2616..2637

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 88.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                      consume_HNUM: function() {
                                                                                                                                                                                                                                                                                                                                                                                                                                                        while(this.offset < this.size) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          var ch = this.input();
                                                                                                                                                                                                                                                                                                                                                                                                                                                          if (!this.is_HEX()) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (ch) this.unput(1);
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 3517..3526

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 88.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    var If = Statement.extends(function If(test, body, alternate, shortForm, location) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                      Statement.apply(this, [KIND, location]);
                                                                                                                                                                                                                                                                                                                                                                                                                                                      this.test = test;
                                                                                                                                                                                                                                                                                                                                                                                                                                                      this.body = body;
                                                                                                                                                                                                                                                                                                                                                                                                                                                      this.alternate = alternate;
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1215..1221

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 88.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                              if (this.token === this.tok.T_STRING || (this.php7 && this.is('IDENTIFIER'))) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                name = this.text();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                this.next();
                                                                                                                                                                                                                                                                                                                                                                                                                                                              } else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                this.expect('IDENTIFIER');
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 6202..6207

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 82.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (this.token === this.tok.T_STRING || (this.php7 && this.is('IDENTIFIER'))) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                              name = this.text();
                                                                                                                                                                                                                                                                                                                                                                                                                                                              this.next();
                                                                                                                                                                                                                                                                                                                                                                                                                                                            } else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                              this.error('IDENTIFIER');
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5243..5248

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 82.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                      consume_TABSPACE: function() {
                                                                                                                                                                                                                                                                                                                                                                                                                                                        while(this.offset < this.size) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          var ch = this.input();
                                                                                                                                                                                                                                                                                                                                                                                                                                                          if (!this.is_TABSPACE()) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (ch) this.unput(1);
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 4450..4459

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 80.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                      consume_LABEL: function() {
                                                                                                                                                                                                                                                                                                                                                                                                                                                        while(this.offset < this.size) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          var ch = this.input();
                                                                                                                                                                                                                                                                                                                                                                                                                                                          if (!this.is_LABEL()) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (ch) this.unput(1);
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 4477..4486

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 80.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./operation":57}],60:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1711..1733

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 79.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    },{"./expression":31}],47:[function(require,module,exports){
                                                                                                                                                                                                                                                                                                                                                                                                                                                    /*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Copyright (C) 2017 Glayzzle (BSD3 License)
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @authors https://github.com/glayzzle/php-parser/graphs/contributors
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * @url http://glayzzle.com
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 2034..2056

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 79.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                          if (this._input[this.offset] === '=') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (this._input[this.offset + 1] === '=') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                              this.consume(2);
                                                                                                                                                                                                                                                                                                                                                                                                                                                              return this.tok.T_IS_NOT_IDENTICAL;
                                                                                                                                                                                                                                                                                                                                                                                                                                                            } else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 4259..4267

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 78.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                          } else if (nchar === '=') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (this._input[this.offset + 1] === '=') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                              this.consume(2);
                                                                                                                                                                                                                                                                                                                                                                                                                                                              return this.tok.T_IS_IDENTICAL;
                                                                                                                                                                                                                                                                                                                                                                                                                                                            } else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 4282..4290

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 78.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                        if (this.token !== ';') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          init = this.read_list(this.read_expr, ',');
                                                                                                                                                                                                                                                                                                                                                                                                                                                          if (this.expect(';')) this.next();
                                                                                                                                                                                                                                                                                                                                                                                                                                                        } else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          this.next();
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 2 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 6553..6558
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 6559..6564

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 71.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                        if (this.token !== ')') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          increment = this.read_list(this.read_expr, ',');
                                                                                                                                                                                                                                                                                                                                                                                                                                                          if (this.expect(')')) this.next();
                                                                                                                                                                                                                                                                                                                                                                                                                                                        } else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          this.next();
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 2 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 6547..6552
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 6553..6558

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 71.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                          case this.tok.T_ECHO:
                                                                                                                                                                                                                                                                                                                                                                                                                                                            var result = this.node('echo');
                                                                                                                                                                                                                                                                                                                                                                                                                                                            var args = this.next().read_list(this.read_expr, ',');
                                                                                                                                                                                                                                                                                                                                                                                                                                                            this.expectEndOfStatement();
                                                                                                                                                                                                                                                                                                                                                                                                                                                            return result(args);
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 7331..7335

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 71.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                        if (this.token !== ';') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          test = this.read_list(this.read_expr, ',');
                                                                                                                                                                                                                                                                                                                                                                                                                                                          if (this.expect(';')) this.next();
                                                                                                                                                                                                                                                                                                                                                                                                                                                        } else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          this.next();
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 2 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 6547..6552
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 6559..6564

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 71.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                          case this.tok.T_GLOBAL:
                                                                                                                                                                                                                                                                                                                                                                                                                                                            var result = this.node('global');
                                                                                                                                                                                                                                                                                                                                                                                                                                                            var items = this.next().read_list(this.read_simple_variable, ',');
                                                                                                                                                                                                                                                                                                                                                                                                                                                            this.expectEndOfStatement();
                                                                                                                                                                                                                                                                                                                                                                                                                                                            return result(items);
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 7354..7358

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 71.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                        if (this.token === ':') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          shortForm = true;
                                                                                                                                                                                                                                                                                                                                                                                                                                                          body = this.read_short_form(this.tok.T_ENDWHILE);
                                                                                                                                                                                                                                                                                                                                                                                                                                                        } else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          body = this.read_statement();
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 2 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 6565..6570
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 6601..6606

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 63.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    var Interface = Declaration.extends(function Interface(name, ext, body, location) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                      Declaration.apply(this, [KIND, name, location]);
                                                                                                                                                                                                                                                                                                                                                                                                                                                      this.extends = ext;
                                                                                                                                                                                                                                                                                                                                                                                                                                                      this.body = body;
                                                                                                                                                                                                                                                                                                                                                                                                                                                    });
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 960..964

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 63.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    var Declare = Block.extends(function Declare(what, body, mode, location) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                      Block.apply(this, [KIND, body, location]);
                                                                                                                                                                                                                                                                                                                                                                                                                                                      this.what = what;
                                                                                                                                                                                                                                                                                                                                                                                                                                                      this.mode = mode;
                                                                                                                                                                                                                                                                                                                                                                                                                                                    });
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 1615..1619

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 63.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                        if (this.token === ':') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          shortForm = true;
                                                                                                                                                                                                                                                                                                                                                                                                                                                          body = this.read_short_form(this.tok.T_ENDFOR);
                                                                                                                                                                                                                                                                                                                                                                                                                                                        } else  {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          body = this.read_statement();
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 2 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 6499..6504
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 6601..6606

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 63.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                        if (this.token === ':') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          shortForm = true;
                                                                                                                                                                                                                                                                                                                                                                                                                                                          body = this.read_short_form(this.tok.T_ENDFOREACH);
                                                                                                                                                                                                                                                                                                                                                                                                                                                        } else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          body = this.read_statement();
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 2 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 6499..6504
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 6565..6570

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 63.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                          if (result.what.kind === 'bin') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                            buffer = result.what;
                                                                                                                                                                                                                                                                                                                                                                                                                                                            result.what = result.what.left;
                                                                                                                                                                                                                                                                                                                                                                                                                                                            buffer.left = this.resolvePrecedence(result);
                                                                                                                                                                                                                                                                                                                                                                                                                                                            result = buffer;
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 2 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 239..244
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 256..261

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 60.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (lLevel && rLevel && rLevel <= lLevel) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                              buffer = result.right;
                                                                                                                                                                                                                                                                                                                                                                                                                                                              result.right = result.right.test;
                                                                                                                                                                                                                                                                                                                                                                                                                                                              buffer.test = this.resolvePrecedence(result);
                                                                                                                                                                                                                                                                                                                                                                                                                                                              result = buffer;
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 2 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 251..261
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 256..261

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 60.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                          } else if (result.what.kind === 'retif') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                            buffer = result.what;
                                                                                                                                                                                                                                                                                                                                                                                                                                                            result.what = result.what.test;
                                                                                                                                                                                                                                                                                                                                                                                                                                                            buffer.test = this.resolvePrecedence(result);
                                                                                                                                                                                                                                                                                                                                                                                                                                                            result = buffer;
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 2 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 239..244
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 251..261

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 60.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                              while(this.token != this.EOF && this.token !== this.tok.T_ENDDECLARE) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                // @todo : check declare_statement from php / not valid
                                                                                                                                                                                                                                                                                                                                                                                                                                                                body.push(this.read_top_statement());
                                                                                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 7400..7403

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 59.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                              while(this.token != this.EOF && this.token !== this.tok.T_DECLARE) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                // @todo : check declare_statement from php / not valid
                                                                                                                                                                                                                                                                                                                                                                                                                                                                body.push(this.read_top_statement());
                                                                                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 7383..7386

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 59.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    if (what.loc && what.value[0].loc) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      what.loc.start = what.value[0].loc.start;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 7904..7906

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 58.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    if (what.loc && what.value[0].loc) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      what.loc.start = what.value[0].loc.start;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 7914..7916

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 58.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                if (this.is_NUM()) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  this.consume_LNUM();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  return this.tok.T_DNUMBER;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                } else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  this.unput(ch ? 3 : 2);
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 3476..3482

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 57.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                        '^': function() {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          if (this._input[this.offset] === '=') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                            this.input();
                                                                                                                                                                                                                                                                                                                                                                                                                                                            return this.tok.T_XOR_EQUAL;
                                                                                                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 2 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 4214..4220
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 4372..4378

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 57.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                              } else if (this.is_NUM()) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                this.consume_LNUM();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                return this.tok.T_DNUMBER;
                                                                                                                                                                                                                                                                                                                                                                                                                                                              } else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                this.unput(ch ? 2 : 1);
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 3469..3475

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 57.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                        '%': function() {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          if (this._input[this.offset] === '=') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                            this.input();
                                                                                                                                                                                                                                                                                                                                                                                                                                                            return this.tok.T_MOD_EQUAL;
                                                                                                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 2 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 4214..4220
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 4401..4407

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 57.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                        '/': function() {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          if (this._input[this.offset] === '=') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                            this.input();
                                                                                                                                                                                                                                                                                                                                                                                                                                                            return this.tok.T_DIV_EQUAL;
                                                                                                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 2 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 4372..4378
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 4401..4407

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 57.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                            case this.tok.T_MUL_EQUAL:
                                                                                                                                                                                                                                                                                                                                                                                                                                                              if (isConst) this.error('VARIABLE');
                                                                                                                                                                                                                                                                                                                                                                                                                                                              return result('assign', expr, this.next().read_expr(), '*=');
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 10 other locations - About 50 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5949..5951
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5957..5959
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5961..5963
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5965..5967
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5969..5971
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5973..5975
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5977..5979
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5981..5983
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5985..5987
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5989..5991

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 51.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                            case this.tok.T_OR_EQUAL:
                                                                                                                                                                                                                                                                                                                                                                                                                                                              if (isConst) this.error('VARIABLE');
                                                                                                                                                                                                                                                                                                                                                                                                                                                              return result('assign', expr, this.next().read_expr(), '|=');
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 10 other locations - About 50 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5949..5951
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5953..5955
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5957..5959
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5961..5963
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5965..5967
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5969..5971
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5973..5975
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5981..5983
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5985..5987
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5989..5991

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 51.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                            case this.tok.T_DIV_EQUAL:
                                                                                                                                                                                                                                                                                                                                                                                                                                                              if (isConst) this.error('VARIABLE');
                                                                                                                                                                                                                                                                                                                                                                                                                                                              return result('assign', expr, this.next().read_expr(), '/=');
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 10 other locations - About 50 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5949..5951
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5953..5955
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5957..5959
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5965..5967
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5969..5971
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5973..5975
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5977..5979
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5981..5983
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5985..5987
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5989..5991

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 51.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                        if (this.next().token == this.tok.T_EXTENDS) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          propExtends = this.next().read_namespace_name();
                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 50 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5398..5400

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 51.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                            case this.tok.T_CONCAT_EQUAL:
                                                                                                                                                                                                                                                                                                                                                                                                                                                              if (isConst) this.error('VARIABLE');
                                                                                                                                                                                                                                                                                                                                                                                                                                                              return result('assign', expr, this.next().read_expr(), '.=');
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 10 other locations - About 50 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5949..5951
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5953..5955
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5957..5959
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5961..5963
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5969..5971
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5973..5975
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5977..5979
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5981..5983
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5985..5987
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5989..5991

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 51.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                            case this.tok.T_AND_EQUAL:
                                                                                                                                                                                                                                                                                                                                                                                                                                                              if (isConst) this.error('VARIABLE');
                                                                                                                                                                                                                                                                                                                                                                                                                                                              return result('assign', expr, this.next().read_expr(), '&=');
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 10 other locations - About 50 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5949..5951
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5953..5955
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5957..5959
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5961..5963
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5965..5967
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5969..5971
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5977..5979
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5981..5983
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5985..5987
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5989..5991

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 51.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                        if (this.next().token == this.tok.T_EXTENDS) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          propExtends = this.next().read_namespace_name();
                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 50 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5078..5080

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 51.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                            case this.tok.T_SR_EQUAL:
                                                                                                                                                                                                                                                                                                                                                                                                                                                              if (isConst) this.error('VARIABLE');
                                                                                                                                                                                                                                                                                                                                                                                                                                                              return result('assign',expr, this.next().read_expr(), '>>=');
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 10 other locations - About 50 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5949..5951
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5953..5955
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5957..5959
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5961..5963
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5965..5967
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5969..5971
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5973..5975
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5977..5979
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5981..5983
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5985..5987

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 51.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                            case this.tok.T_MINUS_EQUAL:
                                                                                                                                                                                                                                                                                                                                                                                                                                                              if (isConst) this.error('VARIABLE');
                                                                                                                                                                                                                                                                                                                                                                                                                                                              return result('assign', expr, this.next().read_expr(), '-=');
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 10 other locations - About 50 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5953..5955
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5957..5959
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5961..5963
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5965..5967
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5969..5971
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5973..5975
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5977..5979
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5981..5983
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5985..5987
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5989..5991

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 51.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                            case this.tok.T_POW_EQUAL:
                                                                                                                                                                                                                                                                                                                                                                                                                                                              if (isConst) this.error('VARIABLE');
                                                                                                                                                                                                                                                                                                                                                                                                                                                              return result('assign', expr, this.next().read_expr(), '**=');
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 10 other locations - About 50 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5949..5951
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5953..5955
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5961..5963
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5965..5967
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5969..5971
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5973..5975
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5977..5979
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5981..5983
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5985..5987
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5989..5991

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 51.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                            case this.tok.T_SL_EQUAL:
                                                                                                                                                                                                                                                                                                                                                                                                                                                              if (isConst) this.error('VARIABLE');
                                                                                                                                                                                                                                                                                                                                                                                                                                                              return result('assign', expr, this.next().read_expr(), '<<=');
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 10 other locations - About 50 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5949..5951
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5953..5955
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5957..5959
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5961..5963
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5965..5967
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5969..5971
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5973..5975
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5977..5979
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5981..5983
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5989..5991

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 51.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                            case this.tok.T_MOD_EQUAL:
                                                                                                                                                                                                                                                                                                                                                                                                                                                              if (isConst) this.error('VARIABLE');
                                                                                                                                                                                                                                                                                                                                                                                                                                                              return result('assign', expr, this.next().read_expr(), '%=');
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 10 other locations - About 50 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5949..5951
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5953..5955
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5957..5959
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5961..5963
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5965..5967
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5973..5975
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5977..5979
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5981..5983
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5985..5987
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5989..5991

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 51.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                            case this.tok.T_XOR_EQUAL:
                                                                                                                                                                                                                                                                                                                                                                                                                                                              if (isConst) this.error('VARIABLE');
                                                                                                                                                                                                                                                                                                                                                                                                                                                              return result('assign', expr, this.next().read_expr(), '^=');
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 10 other locations - About 50 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5949..5951
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5953..5955
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5957..5959
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5961..5963
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5965..5967
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5969..5971
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5973..5975
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5977..5979
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5985..5987
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5989..5991

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 51.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                              if (this.tryMatch('%=')) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                this.aspTagMode = true;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                this.unput(1).appendToken(this.tok.T_OPEN_TAG_WITH_ECHO, 3).nextINITIAL();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                break;
                                                                                                                                                                                                                                                                                                                                                                                                                                                              } else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 45 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 3397..3401

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 50.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                              } else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                this.aspTagMode = true;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                this.unput(1).appendToken(this.tok.T_OPEN_TAG, 2).nextINITIAL();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                break;
                                                                                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 45 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 3393..3397

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 50.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                            case this.tok.T_INC:
                                                                                                                                                                                                                                                                                                                                                                                                                                                              if (isConst) this.error('VARIABLE');
                                                                                                                                                                                                                                                                                                                                                                                                                                                              this.next();
                                                                                                                                                                                                                                                                                                                                                                                                                                                              return result('post', '+', expr);
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 35 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5997..6000

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 46.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                            case this.tok.T_DEC:
                                                                                                                                                                                                                                                                                                                                                                                                                                                              if (isConst) this.error('VARIABLE');
                                                                                                                                                                                                                                                                                                                                                                                                                                                              this.next();
                                                                                                                                                                                                                                                                                                                                                                                                                                                              return result('post', '-', expr);
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 35 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5993..5996

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 46.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                          case this.tok.T_INC:
                                                                                                                                                                                                                                                                                                                                                                                                                                                            return this.node('pre')(
                                                                                                                                                                                                                                                                                                                                                                                                                                                              '+', this.next().read_variable(false, false, false)
                                                                                                                                                                                                                                                                                                                                                                                                                                                            );
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 30 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5770..5773

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 45.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                            while(this.offset < this.size) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                              this.offset ++;
                                                                                                                                                                                                                                                                                                                                                                                                                                                              if (!this.is_TABSPACE()) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                break;
                                                                                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 30 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 3774..3779

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 45.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                            while(this.offset < this.size) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                              this.offset++;
                                                                                                                                                                                                                                                                                                                                                                                                                                                              if (!this.is_LABEL()) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                break;
                                                                                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 30 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 3755..3760

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 45.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                          case this.tok.T_DEC:
                                                                                                                                                                                                                                                                                                                                                                                                                                                            return this.node('pre')(
                                                                                                                                                                                                                                                                                                                                                                                                                                                              '-', this.next().read_variable(false, false, false)
                                                                                                                                                                                                                                                                                                                                                                                                                                                            );
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in thirdparty/php-parser.js and 1 other location - About 30 mins to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                    thirdparty/php-parser.js on lines 5765..5768

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                    This issue has a mass of 45.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Further Reading

                                                                                                                                                                                                                                                                                                                                                                                                                                                    There are no issues that match your filters.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Category
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Status