Showing 297 of 342 total issues
Function E
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function E(a) {
var m =
a.g;
try {
var e = M(a.h),
Function highlightRecursive
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
highlightNode: function highlightRecursive(node) {
var match,
languageId,
currentNodeCount,
j,
File master.js
has 255 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
var fs = require('fs');
var EventEmitter = require('events').EventEmitter;
var util = require('util');
var config = require('./config');
var cluster = require('cluster');
Function highlightRecursive
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
highlightNode: function highlightRecursive(node) {
var match,
languageId,
currentNodeCount,
j,
Function D
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function D(a, m) {
function e(a) {
switch (a.nodeType) {
case 1:
if (k.test(a.className)) break;
Function D
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function D(a, m) {
function e(a) {
switch (a.nodeType) {
case 1:
if (k.test(a.className)) break;
Function x
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function x(a, m) {
function e(a) {
for (var l = a.d, p = [l, "pln"], d = 0, g = a.a.match(y) || [], r = {}, n = 0, z = g.length; n < z; ++n) {
var f = g[n],
b = r[f],
Function x
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function x(a, m) {
function e(a) {
for (var l = a.d, p = [l, "pln"], d = 0, g = a.a.match(y) || [], r = {}, n = 0, z = g.length; n < z; ++n) {
var f = g[n],
b = r[f],
Consider simplifying this complex logical expression. Open
Open
if (typeof e == "string" && !yt.test(e) && (v.support.htmlSerialize || !wt.test(e)) && (v.support.leadingWhitespace || !pt.test(e)) && !Nt[(vt.exec(e) || ["", ""])[1].toLowerCase()]) {
e = e.replace(dt, "<$1></$2>");
try {
for (; r < i; r++) n = this[r] || {}, n.nodeType === 1 && (v.cleanData(n.getElementsByTagName("*")), n.innerHTML = e);
n = 0
Consider simplifying this complex logical expression. Open
Open
if (typeof e == "string" && !yt.test(e) && (v.support.htmlSerialize || !wt.test(e)) && (v.support.leadingWhitespace || !pt.test(e)) && !Nt[(vt.exec(e) || ["", ""])[1].toLowerCase()]) {
e = e.replace(dt, "<$1></$2>");
try {
for (; r < i; r++) n = this[r] || {}, n.nodeType === 1 && (v.cleanData(n.getElementsByTagName("*")), n.innerHTML = e);
n = 0
Function Kn
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Kn(e, t, n) {
var r, i = 0,
s = 0,
o = Xn.length,
u = v.Deferred().always(function() {
Function Kn
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Kn(e, t, n) {
var r, i = 0,
s = 0,
o = Xn.length,
u = v.Deferred().always(function() {
Function is
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
p.is = function(what) {
var ip = false;
var ip4 = false;
var ip6 = false;
var name = false;
Function support
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
}), v.support = function() {
var t, n, r, s, o, u, a, f, l, c, h, p = i.createElement("div");
p.setAttribute("className", "t"), p.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>", n = p.getElementsByTagName("*"), r = p.getElementsByTagName("a")[0];
if (!n || !r || !n.length) return {};
s = i.createElement("select"), o = s.appendChild(i.createElement("option")), u = p.getElementsByTagName("input")[0], r.style.cssText = "top:1px;float:left;opacity:.5", t = {
Function is
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
p.is = function(what) {
var ip = false;
var ip4 = false;
var ip6 = false;
var name = false;
Function support
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
}), v.support = function() {
var t, n, r, s, o, u, a, f, l, c, h, p = i.createElement("div");
p.setAttribute("className", "t"), p.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>", n = p.getElementsByTagName("*"), r = p.getElementsByTagName("a")[0];
if (!n || !r || !n.length) return {};
s = i.createElement("select"), o = s.appendChild(i.createElement("option")), u = p.getElementsByTagName("input")[0], r.style.cssText = "top:1px;float:left;opacity:.5", t = {
Function normalizePath
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
p.normalizePath = function(build) {
if (this._parts.urn) {
return this;
}
if (!this._parts.path || this._parts.path === '/') {
Function restart
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
master.restart = function (callback) {
if (restarting) {
callback();
return;
}
Function normalizePath
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
p.normalizePath = function(build) {
if (this._parts.urn) {
return this;
}
if (!this._parts.path || this._parts.path === '/') {
Function relativeTo
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
p.relativeTo = function(base) {
var relative = this.clone();
var properties = ['protocol', 'username', 'password', 'hostname', 'port'];
var common, _base, _this, _base_diff, _this_diff;
if (this._parts.urn) {