Jasonette/JASONETTE-iOS

View on GitHub

Showing 198 of 403 total issues

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

},{}],13:[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
Severity: Major
Found in app/Jasonette/rss.js - About 4 hrs to fix

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

FeedParser.prototype.handleCloseTag = function (el){
  var node = { '#name' : el
             , '#prefix' : ''
             , '#local' : '' }
    , stdEl
Severity: Major
Found in app/Jasonette/rss.js - About 4 hrs to fix

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

},{"buffer":19,"stream":45,"string_decoder":46}],16:[function(require,module,exports){

/**
 * Module dependencies.
 */
Severity: Major
Found in app/Jasonette/rss.js - About 4 hrs to fix

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

Readable.prototype.pipe = function(dest, pipeOpts) {
  var src = this;
  var state = this._readableState;

  switch (state.pipesCount) {
Severity: Major
Found in app/Jasonette/rss.js - About 4 hrs to fix

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

function handleAddress(tokens){
    var token,
        isGroup = false,
        state = "text",
        address,
Severity: Major
Found in app/Jasonette/rss.js - About 3 hrs to fix

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

},{"./_stream_duplex":33,"_process":27,"buffer":19,"core-util-is":38,"events":23,"inherits":24,"isarray":26,"process-nextick-args":39,"string_decoder/":46,"util":18}],36:[function(require,module,exports){
// a transform stream is a readable/writable stream where you do
// something with the data.  Sometimes it's called a "filter",
// but that's not a great name for it, since that implies a thing where
// some bits pass through, and others are simply ignored.  (That would
Severity: Major
Found in app/Jasonette/rss.js - About 3 hrs to fix

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

},{"_process":27,"buffer":19,"core-util-is":10,"events":23,"inherits":11,"isarray":12,"stream":45,"string_decoder/":13}],8:[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
Severity: Major
Found in app/Jasonette/rss.js - About 3 hrs to fix

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

},{"base64-js":20,"ieee754":21,"isarray":22}],20:[function(require,module,exports){
'use strict'

exports.toByteArray = toByteArray
exports.fromByteArray = fromByteArray
Severity: Major
Found in app/Jasonette/rss.js - About 3 hrs to fix

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

},{"dup":12}],27:[function(require,module,exports){
// shim for using process in browser

var process = module.exports = {};
var queue = [];
Severity: Major
Found in app/Jasonette/rss.js - About 3 hrs to fix

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

function formatValue(ctx, value, recurseTimes) {
  // Provide a hook for user-specified inspect functions.
  // Check that value is an object with an inspect function on it
  if (ctx.customInspect &&
      value &&
Severity: Major
Found in app/Jasonette/rss.js - About 3 hrs to fix

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

Readable.prototype.pipe = function(dest, pipeOpts) {
  var src = this;
  var state = this._readableState;

  switch (state.pipesCount) {
Severity: Major
Found in app/Jasonette/rss.js - About 3 hrs to fix

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

},{}],21:[function(require,module,exports){
exports.read = function (buffer, offset, isLE, mLen, nBytes) {
  var e, m
  var eLen = nBytes * 8 - mLen - 1
  var eMax = (1 << eLen) - 1
Severity: Major
Found in app/Jasonette/rss.js - About 2 hrs to fix

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

    function encode(input) {
        var n,
            delta,
            handledCPCount,
            basicLength,
Severity: Major
Found in app/Jasonette/rss.js - About 2 hrs to fix

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

},{"./_stream_duplex":5,"_process":27,"buffer":19,"core-util-is":10,"inherits":11,"stream":45}],10:[function(require,module,exports){
(function (Buffer){
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
Severity: Major
Found in app/Jasonette/rss.js - About 2 hrs to fix

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

},{"./_stream_duplex":33,"buffer":19,"core-util-is":38,"events":23,"inherits":24,"process-nextick-args":39,"util-deprecate":40}],38:[function(require,module,exports){
(function (Buffer){
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
Severity: Major
Found in app/Jasonette/rss.js - About 2 hrs to fix

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

},{"./lib/_stream_writable.js":37}],45:[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
Severity: Major
Found in app/Jasonette/rss.js - About 2 hrs to fix

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

    is: function(template) {
      // TRUE ONLY IF it's in a correct format.
      // Otherwise return the original template
      // Condition 0. Must be an array
      // Condition 1. Must have at least one item
Severity: Major
Found in app/Jasonette/st.js - About 2 hrs to fix

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

function utf8Slice (buf, start, end) {
  end = Math.min(buf.length, end)
  var res = []

  var i = start
Severity: Major
Found in app/Jasonette/rss.js - About 2 hrs to fix

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

Readable.prototype.read = function(n) {
  debug('read', n);
  var state = this._readableState;
  var nOrig = n;

Severity: Major
Found in app/Jasonette/rss.js - About 2 hrs to fix

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

function openTag (parser, selfClosing) {
  if (parser.opt.xmlns) {
    // emit namespace binding events
    var tag = parser.tag

Severity: Major
Found in app/Jasonette/rss.js - About 2 hrs to fix
Severity
Category
Status
Source
Language