Hirse/brackets-outline-list

View on GitHub

Showing 570 of 905 total issues

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

},{}],2:[function(require,module,exports){
"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
Severity: Major
Found in thirdparty/htmlparser2.js - About 7 hrs to fix

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

    var EntityDecoder = /** @class */ (function () {
        function EntityDecoder(
        /** The tree used to decode entities. */
        decodeTree,
        /**
    Severity: Major
    Found in thirdparty/htmlparser2.js - About 7 hrs 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 nextToken has 177 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

              function nextToken(opts) {
                if (returned.length) return returned.pop()
                if (pos >= length) return
            
                let ignoreUnclosed = opts ? opts.ignoreUnclosed : false
            Severity: Major
            Found in thirdparty/postcss-safe-parser.js - About 7 hrs to fix

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

              define(function OutlineManager(require, exports, module) {
                  "use strict";
              
                  /* beautify preserve:start *//* eslint-disable no-multi-spaces */
                  var Mustache     = brackets.getModule("thirdparty/mustache/mustache");
              Severity: Major
              Found in src/OutlineManager.js - About 6 hrs to fix

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

                var espree = () => Parser => {
                    const tokTypes = Object.assign({}, Parser.acorn.tokTypes);
                
                    if (Parser.acornJsx) {
                        Object.assign(tokTypes, Parser.acornJsx.tokTypes);
                Severity: Major
                Found in thirdparty/espree.js - About 6 hrs to fix

                  Consider simplifying this complex logical expression.
                  Open

                          } else if (type === tt.semi || type === tt.comma ||
                                   type === tt.parenL || type === tt.parenR ||
                                   type === tt.braceL || type === tt.braceR ||
                                   type === tt.dot || type === tt.bracketL ||
                                   type === tt.colon || type === tt.question ||
                  Severity: Critical
                  Found in thirdparty/espree.js - About 6 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 1 has 149 lines of code (exceeds 25 allowed). 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.promise = 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){
                      // 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/promise.js - About 5 hrs to fix

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

                        },{}],36:[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/postcss-safe-parser.js - About 5 hrs to fix

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

                          },{}],4:[function(require,module,exports){
                          "use strict";
                          var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
                              if (k2 === undefined) k2 = k;
                              var desc = Object.getOwnPropertyDescriptor(m, k);
                          Severity: Major
                          Found in thirdparty/htmlparser2.js - About 5 hrs to fix

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

                            },{"domelementtype":3}],6:[function(require,module,exports){
                            "use strict";
                            Object.defineProperty(exports, "__esModule", { value: true });
                            exports.getFeed = void 0;
                            var stringify_js_1 = require("./stringify.js");
                            Severity: Major
                            Found in thirdparty/htmlparser2.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 DomHandler has 121 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                var DomHandler = /** @class */ (function () {
                                    /**
                                     * @param callback Called once parsing has completed.
                                     * @param options Settings for the handler.
                                     * @param elementCB Callback whenever a tag is closed.
                                Severity: Major
                                Found in thirdparty/htmlparser2.js - About 4 hrs to fix

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

                                  },{"./at-rule":9,"./comment":10,"./container":11,"./css-syntax-error":12,"./declaration":13,"./document":14,"./fromJSON":15,"./input":16,"./lazy-result":17,"./list":18,"./node":21,"./parse":22,"./processor":26,"./result.js":27,"./root":28,"./rule":29,"./stringify":31,"./warning":35,"_process":36}],25:[function(require,module,exports){
                                  (function (Buffer){(function (){
                                  'use strict'
                                  
                                  let { SourceMapConsumer, SourceMapGenerator } = require('source-map-js')
                                  Severity: Major
                                  Found in thirdparty/postcss-safe-parser.js - About 4 hrs to fix

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

                                    define(function JSParser(require, exports, module) {
                                        "use strict";
                                    
                                        var espree = require("thirdparty/espree");
                                    
                                    
                                    Severity: Major
                                    Found in src/lexers/JSParser.js - About 4 hrs to fix

                                      Function 1 has 116 lines of code (exceeds 25 allowed). 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.postcssSafeParser = 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){
                                      'use strict'
                                      
                                      exports.byteLength = byteLength
                                      exports.toByteArray = toByteArray
                                      Severity: Major
                                      Found in thirdparty/postcss-safe-parser.js - About 4 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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language