Showing 198 of 403 total issues
Function 5
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],5:[function(require,module,exports){
(function (process){
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
- Create a ticketCreate a ticket
Function checkChar
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Tokenizer.prototype.checkChar = function(chr){
if((chr in this.operators || chr == "\\") && this.escaped){
this.escaped = false;
}else if(this.operatorExpecting && chr == this.operatorExpecting){
this.node = {
- Create a ticketCreate a ticket
Function emit
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
EventEmitter.prototype.emit = function(type) {
var er, handler, len, args, i, listeners;
if (!this._events)
this._events = {};
- Create a ticketCreate a ticket
Function exports
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(qs, sep, eq, options) {
sep = sep || '&';
eq = eq || '=';
var obj = {};
- Create a ticketCreate a ticket
Function readableAddChunk
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function readableAddChunk(stream, state, chunk, encoding, addToFront) {
var er = chunkInvalid(state, chunk);
if (er) {
stream.emit('error', er);
} else if (chunk === null) {
- Create a ticketCreate a ticket
Function transform
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
transform: function(obj, serialized) {
SELECT.$parsed = [];
SELECT.$progress = null;
/*
'selected' is an array that contains items that looks like this:
- Create a ticketCreate a ticket
Function attrib
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function attrib (parser) {
if (!parser.strict) parser.attribName = parser.attribName[parser.looseCase]()
if (parser.attribList.indexOf(parser.attribName) !== -1 ||
parser.tag.attributes.hasOwnProperty(parser.attribName)) {
- Create a ticketCreate a ticket
Function unpipe
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Readable.prototype.unpipe = function(dest) {
var state = this._readableState;
// if we're not piping anywhere, then do nothing.
if (state.pipesCount === 0)
- Create a ticketCreate a ticket
Function clearBuffer
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function clearBuffer(stream, state) {
state.bufferProcessing = true;
var entry = state.bufferedRequest;
if (stream._writev && entry && entry.next) {
- Create a ticketCreate a ticket
Function transformWith
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
transformWith: function(obj, serialized) {
SELECT.$parsed = [];
SELECT.$progress = null;
/*
* 'selected' is an array that contains items that looks like this:
- Create a ticketCreate a ticket
Function emitDataEvents
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function emitDataEvents(stream, startPaused) {
var state = stream._readableState;
if (state.flowing) {
// https://github.com/isaacs/readable-stream/issues/16
- Create a ticketCreate a ticket
Function fromCodePoint
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var fromCodePoint = function() {
var MAX_SIZE = 0x4000;
var codeUnits = [];
var highSurrogate;
var lowSurrogate;
- Create a ticketCreate a ticket
Function copy
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Buffer.prototype.copy = function copy (target, targetStart, start, end) {
if (!start) start = 0
if (!end && end !== 0) end = this.length
if (targetStart >= target.length) targetStart = target.length
if (!targetStart) targetStart = 0
- Create a ticketCreate a ticket
Function unpipe
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Readable.prototype.unpipe = function(dest) {
var state = this._readableState;
// if we're not piping anywhere, then do nothing.
if (state.pipesCount === 0)
- Create a ticketCreate a ticket
Function format
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports.format = function(f) {
if (!isString(f)) {
var objects = [];
for (var i = 0; i < arguments.length; i++) {
objects.push(inspect(arguments[i]));
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (node['#name'] === 'item' ||
node['#name'] === 'entry' ||
(node['#local'] === 'item' && (node['#prefix'] === '' || node['#type'] === 'rdf')) ||
(node['#local'] == 'entry' && (node['#prefix'] === '' || node['#type'] === 'atom'))) { // We have an article!
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
} else if ( this.stack.length === 0 &&
(n['#name'] === 'rss' ||
(n['#local'] === 'rdf' && utils.nslookup([n['#uri']], 'rdf')) ||
(n['#local'] === 'feed'&& utils.nslookup([n['#uri']], 'atom')) ) ) {
Object.keys(n['@']).forEach(function(name) {
- Create a ticketCreate a ticket
Function removeListener
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
EventEmitter.prototype.removeListener = function(type, listener) {
var list, position, length, i;
if (!isFunction(listener))
throw TypeError('listener must be a function');
- Create a ticketCreate a ticket
Function reresolve
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function reresolve (node, baseurl) {
if (!node || !baseurl) {
return false; // Nothing to do.
}
- Create a ticketCreate a ticket
Function 40
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"_process":27}],40:[function(require,module,exports){
(function (global){
/**
* Module exports.
- Create a ticketCreate a ticket