Showing 517 of 2,859 total issues
Function connectionListener
has 157 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function connectionListener(socket) {
var self = this;
var outgoing = [];
var incoming = [];
Function runBlock9
has 153 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function runBlock9() {
for (var i = 0; i < 5; i++) {
s94[i].split(re32);
s95[i].split(re32);
'svz_zlfcnpr_hfre-ivrj-pbzzragf,svz_zlfcnpr_havgrq-fgngrf'.split(re20);
Function runBlock10
has 148 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function runBlock10() {
for (var i = 0; i < 3; i++) {
'%3Szxg=ra-HF'.replace(re39, '');
'-8'.replace(re40, '');
'-8'.replace(re10, '');
Function emitKeys
has 144 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function emitKeys(stream, s) {
if (util.isBuffer(s)) {
if (s[0] > 127 && util.isUndefined(s[1])) {
s[0] -= 128;
s = '\x1b' + s.toString(stream.encoding || 'utf-8');
Function setupChannel
has 142 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function setupChannel(target, channel) {
target._channel = channel;
target._handleQueue = null;
var decoder = new StringDecoder('utf8');
Function execFile
has 139 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports.execFile = function(file /* args, options, callback */) {
var args = [], callback;
var options = {
encoding: 'utf8',
timeout: 0,
Function assembleOutput
has 132 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.assembleOutput = function(output) {
output("set yrange [0:" + (num_timer_event + 1) + "]");
output("set xlabel \"execution time in ms\"");
output("set xrange [" + range_start + ":" + range_end + "]");
output("set style fill pattern 2 bo 1");
Function gunzTarPerm
has 131 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function gunzTarPerm (tarball, target, dMode, fMode, uid, gid, cb_) {
if (!dMode) dMode = npm.modes.exec
if (!fMode) fMode = npm.modes.file
log.silly("gunzTarPerm", "modes", [dMode.toString(8), fMode.toString(8)])
Function workerInit
has 113 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function workerInit() {
var handles = {};
// Called from src/node.js
cluster._setupWorker = function() {
Function connect
has 112 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports.connect = function(/* [port, host], options, cb */) {
var args = normalizeConnectArgs(arguments);
var options = args[0];
var cb = args[1];
Function formatValue
has 110 lines of code (exceeds 25 allowed). Consider refactoring. Open
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 &&
Function get
has 110 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Object.defineProperty(exports, "defaults", {get: function () {
if (defaults) return defaults
if (process.env.PREFIX) {
globalPrefix = process.env.PREFIX
Function install
has 105 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function install (args, cb_) {
var hasArguments = !!args.length
function cb (er, installed) {
if (er) return cb_(er)
Function collectData
has 103 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.collectData = function(input, distortion_per_entry) {
var last_timestamp = 0;
// Parse functions.
Function ClientRequest
has 102 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ClientRequest(options, cb) {
var self = this;
OutgoingMessage.call(self);
if (util.isString(options)) {
Function runBlock3
has 102 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function runBlock3() {
for (var i = 0; i < 27; i++) {
s67[i].replace(/[A-Za-z]/g, '');
}
for (var i = 0; i < 23; i++) {
Function dedupe_
has 101 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function dedupe_ (dir, filter, unavoidable, dryrun, silent, cb) {
readInstalled(path.resolve(dir), {}, null, function (er, data, counter) {
if (er) {
return cb(er)
}
Function list
has 100 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function list (cb) {
var msg = ""
, long = npm.config.get("long")
var cli = npm.config.sources.cli.data
Function targetResolver
has 97 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function targetResolver (where, context, deps, devDeps) {
var alreadyInstalledManually = []
, resolveLeft = 0
, nm = path.resolve(where, "node_modules")
, parent = context.parent
Function pipe
has 95 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Readable.prototype.pipe = function(dest, pipeOpts) {
var src = this;
var state = this._readableState;
switch (state.pipesCount) {