Hirse/brackets-outline-list

View on GitHub

Showing 905 of 905 total issues

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 14 has 355 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    },{"domhandler":4}],14:[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 1 day to fix

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

      },{"./node.js":5,"domelementtype":3}],5:[function(require,module,exports){
      "use strict";
      var __extends = (this && this.__extends) || (function () {
          var extendStatics = function (d, b) {
              extendStatics = Object.setPrototypeOf ||
      Severity: Major
      Found in thirdparty/htmlparser2.js - About 1 day to fix

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

        },{}],4:[function(require,module,exports){
        'use strict';
        
        Object.defineProperty(exports, '__esModule', { value: true });
        
        
        Severity: Major
        Found in thirdparty/espree.js - About 1 day to fix

          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.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 and 4 other locations - About 1 day to fix
          thirdparty/espree.js on lines 31..8041
          thirdparty/htmlparser2.js on lines 26..4483
          thirdparty/php-parser.js on lines 35..8743
          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

          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.espree = 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';
          
          const XHTMLEntities = require('./xhtml');
          
          
          Severity: Major
          Found in thirdparty/espree.js and 4 other locations - About 1 day to fix
          thirdparty/htmlparser2.js on lines 26..4483
          thirdparty/php-parser.js on lines 35..8743
          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

          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

          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.htmlparser2 = 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";
          Object.defineProperty(exports, "__esModule", { value: true });
          exports.attributeNames = exports.elementNames = void 0;
          exports.elementNames = new Map([
          Severity: Major
          Found in thirdparty/htmlparser2.js and 4 other locations - About 1 day to fix
          thirdparty/espree.js on lines 31..8041
          thirdparty/php-parser.js on lines 35..8743
          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

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

          },{"./map-generator":19,"./parse":22,"./result":27,"./stringify":31,"./warn-once":34,"_process":36}],21:[function(require,module,exports){
          'use strict'
          
          let { isClean, my } = require('./symbols')
          let CssSyntaxError = require('./css-syntax-error')
          Severity: Major
          Found in thirdparty/postcss-safe-parser.js - About 1 day to fix

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

            function plugin(options, Parser) {
              const acorn = Parser.acorn || require("acorn");
              const acornJsx = getJsxTokens(acorn);
              const tt = acorn.tokTypes;
              const tok = acornJsx.tokTypes;
            Severity: Major
            Found in thirdparty/espree.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 Parser has 310 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                var Parser = /** @class */ (function () {
                    function Parser(cbs, options) {
                        if (options === void 0) { options = {}; }
                        var _a, _b, _c, _d, _e;
                        this.options = options;
                Severity: Major
                Found in thirdparty/htmlparser2.js - About 1 day to fix

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

                  },{"./container":11,"./list":18}],30:[function(require,module,exports){
                  'use strict'
                  
                  const DEFAULT_RAW = {
                    after: '\n',
                  Severity: Major
                  Found in thirdparty/postcss-safe-parser.js - About 1 day to fix

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

                    },{}],2:[function(require,module,exports){
                    (function (setImmediate){(function (){
                    'use strict';
                    
                    /**
                    Severity: Major
                    Found in thirdparty/promise.js - About 1 day to fix

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

                      },{}],19:[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 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
                                  Severity
                                  Category
                                  Status
                                  Source
                                  Language