Showing 570 of 905 total issues
Function 2
has 199 lines of code (exceeds 25 allowed). Consider refactoring. Open
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++) {
Function EntityDecoder
has 193 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var EntityDecoder = /** @class */ (function () {
function EntityDecoder(
/** The tree used to decode entities. */
decodeTree,
/**
Function 105
has 187 lines of code (exceeds 25 allowed). Consider refactoring. Open
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
Function parser
has 186 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var parser = function(lexer, ast) {
this.lexer = lexer;
this.ast = ast;
this.tok = lexer.tok;
this.EOF = lexer.EOF;
Function 110
has 182 lines of code (exceeds 25 allowed). Consider refactoring. Open
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
Function nextToken
has 177 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function nextToken(opts) {
if (returned.length) return returned.pop()
if (pos >= length) return
let ignoreUnclosed = opts ? opts.ignoreUnclosed : false
Function OutlineManager
has 169 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
define(function OutlineManager(require, exports, module) {
"use strict";
/* beautify preserve:start *//* eslint-disable no-multi-spaces */
var Mustache = brackets.getModule("thirdparty/mustache/mustache");
Function espree
has 169 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var espree = () => Parser => {
const tokTypes = Object.assign({}, Parser.acorn.tokTypes);
if (Parser.acornJsx) {
Object.assign(tokTypes, Parser.acornJsx.tokTypes);
Consider simplifying this complex logical expression. Open
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 ||
Function 118
has 149 lines of code (exceeds 25 allowed). Consider refactoring. Open
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
Function 1
has 149 lines of code (exceeds 25 allowed). Consider refactoring. Open
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
Function 36
has 149 lines of code (exceeds 25 allowed). Consider refactoring. Open
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
Function 4
has 148 lines of code (exceeds 25 allowed). Consider refactoring. Open
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);
Function 6
has 134 lines of code (exceeds 25 allowed). Consider refactoring. Open
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");
Function read_statement
has 130 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
,read_statement: function() {
switch(this.token) {
case '{': return this.read_code_block(false);
Function DomHandler
has 121 lines of code (exceeds 25 allowed). Consider refactoring. Open
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.
Function 25
has 120 lines of code (exceeds 25 allowed). Consider refactoring. Open
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')
Function JSParser
has 117 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
define(function JSParser(require, exports, module) {
"use strict";
var espree = require("thirdparty/espree");
Function 1
has 116 lines of code (exceeds 25 allowed). Consider refactoring. Open
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
Function recursive_variable_chain_scan
has 115 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
,recursive_variable_chain_scan: function(result, read_only, encapsed) {
recursive_scan_loop:
while(this.token != this.EOF) {
switch(this.token) {
case '(':