Showing 517 of 2,859 total issues
Function runBlock8
has 79 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function runBlock8() {
for (var i = 0; i < 7; i++) {
s21[i].match(/\d+/g);
'nsgre'.replace(re64, '');
'orsber'.replace(re64, '');
Function Zlib
has 78 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Zlib(opts, mode) {
this._opts = opts = opts || {};
this._chunkSize = opts.chunkSize || exports.Z_DEFAULT_CHUNK;
Transform.call(this, opts);
Function createSecureContext
has 78 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports.createSecureContext = function createSecureContext(options, context) {
if (!options) options = {};
var secureOptions = options.secureOptions;
if (options.honorCipherOrder)
Function Interface
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Interface(input, output, completer, terminal) {
if (!(this instanceof Interface)) {
return new Interface(input, output, completer, terminal);
}
Function readFile
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
fs.readFile = function(path, options, callback_) {
var callback = maybeCallback(arguments[arguments.length - 1]);
if (util.isFunction(options) || !options) {
options = { encoding: null, flag: 'r' };
Function DebugEventDetails
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function DebugEventDetails(response) {
var details = {text:'', running:false};
// Get the running state.
details.running = response.running();
Function defineDefaultCommands
has 75 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function defineDefaultCommands(repl) {
// TODO remove me after 0.3.x
repl.defineCommand('break', {
help: 'Sometimes you get stuck, this gets you out',
action: function() {
Function TickProcessor
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function TickProcessor(
cppEntriesProvider,
separateIc,
callGraphSize,
ignoreUnknown,
Function sc_format
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function sc_format(s, args) {
var len = s.length;
var p = new sc_StringOutputPort();
var i = 0, j = 1;
Function makeEnv
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function makeEnv (data, prefix, env) {
prefix = prefix || "npm_package_"
if (!env) {
env = {}
for (var i in process.env) if (!i.match(/^npm_/)) {
Function get_
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_ (uri, cachePath, params, cb) {
var staleOk = params.staleOk === undefined ? false : params.staleOk
, timeout = params.timeout === undefined ? -1 : params.timeout
, data = params.data
, stat = params.stat
Function _storeHeader
has 73 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
OutgoingMessage.prototype._storeHeader = function(firstLine, headers) {
// firstLine in the case of request is: 'GET /index.html HTTP/1.1\r\n'
// in the case of response it is: 'HTTP/1.1 200 OK\r\n'
var state = {
sentConnectionHeader: false,
Function processStdio
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
startup.processStdio = function() {
var stdin, stdout, stderr;
process.__defineGetter__('stdout', function() {
if (stdout) return stdout;
Function rayTrace
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
rayTrace: function(info, ray, scene, depth){
// Calc ambient
var color = Flog.RayTracer.Color.prototype.multiplyScalar(info.color, scene.background.ambience);
var oldColor = color;
var shininess = Math.pow(10, info.shape.material.gloss + 1);
Function processList
has 71 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function processList(section) {
var list = section.list;
var values = [];
var current;
var stack = [];
Function mirrorObject
has 71 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Client.prototype.mirrorObject = function(handle, depth, cb) {
var self = this;
var val;
Function encode
has 71 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function encode(input) {
var n,
delta,
handledCPCount,
basicLength,
Function runBlock0
has 71 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function runBlock0() {
for (var i = 0; i < 6511; i++) {
re0.exec(s0[i]);
}
for (var i = 0; i < 1844; i++) {
Function installMany
has 71 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function installMany (what, where, context, cb) {
// readDependencies takes care of figuring out whether the list of
// dependencies we'll iterate below comes from an existing shrinkwrap from a
// parent level, a new shrinkwrap at this level, or package.json at this
// level, as well as which shrinkwrap (if any) our dependencies should use.
Function RtfGenerator
has 70 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function RtfGenerator() {
var self = this,
did_write_anything = false;
Stream.call(this);