Showing 198 of 403 total issues
File rss.js
has 8088 lines of code (exceeds 250 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.rss = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
/**********************************************************************
node-feedparser - A robust RSS, Atom, RDF parser for node.
http://github.com/danmactough/node-feedparser
Copyright (c) 2011, 2012, 2013 Dan MacTough and contributors
- Create a ticketCreate a ticket
Function 15
has 1216 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"./lib/_stream_duplex.js":5,"./lib/_stream_passthrough.js":6,"./lib/_stream_readable.js":7,"./lib/_stream_transform.js":8,"./lib/_stream_writable.js":9,"_process":27,"stream":45}],15:[function(require,module,exports){
(function (Buffer){
// wrapper for non-node envs
;(function (sax) {
- Create a ticketCreate a ticket
Function 19
has 1136 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],19:[function(require,module,exports){
(function (global){
/*!
* The buffer module from node.js, for the browser.
*
- Create a ticketCreate a ticket
Function 1
has 920 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.rss = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
/**********************************************************************
node-feedparser - A robust RSS, Atom, RDF parser for node.
http://github.com/danmactough/node-feedparser
Copyright (c) 2011, 2012, 2013 Dan MacTough and contributors
- Create a ticketCreate a ticket
Function 35
has 655 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"./_stream_transform":36,"core-util-is":38,"inherits":24}],35:[function(require,module,exports){
(function (process){
'use strict';
module.exports = Readable;
- Create a ticketCreate a ticket
Function 7
has 612 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"./_stream_transform":8,"core-util-is":10,"inherits":11}],7:[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 47
has 503 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"buffer":19,"dup":13}],47:[function(require,module,exports){
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
- Create a ticketCreate a ticket
Function 50
has 431 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],50:[function(require,module,exports){
(function (process,global){
// 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 write
has 393 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function write (chunk) {
var parser = this
if (this.error) throw this.error
if (parser.closed) return error(parser,
"Cannot write after close. Assign an onready handler.")
- Create a ticketCreate a ticket
Function 37
has 347 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"./_stream_duplex":33,"core-util-is":38,"inherits":24}],37:[function(require,module,exports){
// A bit simpler than readable streams.
// Implement an async ._write(chunk, encoding, cb), and it'll handle all
// the drain event emission and buffering.
- Create a ticketCreate a ticket
Function handleMeta
has 317 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
FeedParser.prototype.handleMeta = function handleMeta (node, type, options) {
if (!type || !node) return {};
var meta = {}
, normalize = !options || (options && options.normalize)
- Create a ticketCreate a ticket
File st.js
has 671 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function() {
var $context = this;
var root; // root context
var Helper = {
is_template: function(str) {
- Create a ticketCreate a ticket
Function handleItem
has 296 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
FeedParser.prototype.handleItem = function handleItem (node, type, options){
if (!type || !node) return {};
var item = {}
, normalize = !options || (options && options.normalize)
- Create a ticketCreate a ticket
Function 28
has 290 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],28:[function(require,module,exports){
(function (global){
/*! https://mths.be/punycode v1.4.0 by @mathias */
;(function(root) {
- Create a ticketCreate a ticket
Function 9
has 235 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"./_stream_duplex":5,"core-util-is":10,"inherits":11}],9:[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 23
has 207 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],23:[function(require,module,exports){
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
- Create a ticketCreate a ticket
Function resolveObject
has 199 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Url.prototype.resolveObject = function(relative) {
if (util.isString(relative)) {
var rel = new Url();
rel.parse(relative, false, true);
relative = rel;
- Create a ticketCreate a ticket
Function 3
has 195 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],3:[function(require,module,exports){
// expose to the world
module.exports = parser;
- Create a ticketCreate a ticket
Function run
has 184 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
run: function(template, data) {
var result;
var fun;
if (typeof template === 'string') {
// Leaf node, so call TRANSFORM.fillout()
- Create a ticketCreate a ticket
Function parse
has 170 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
if (!util.isString(url)) {
throw new TypeError("Parameter 'url' must be a string, not " + typeof url);
}
- Create a ticketCreate a ticket