Showing 2,859 of 2,859 total issues
Function lin_solve2
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function lin_solve2(x, x0, y, y0, a, c)
{
if (a === 0 && c === 1) {
for (var j=1 ; j <= height; j++) {
var currentRow = j * rowSize;
Function parseVmSymbols
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
CppEntriesProvider.prototype.parseVmSymbols = function(
libName, libStart, libEnd, processorFunc) {
this.loadSymbols(libName);
var prevEntry;
Function advect
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function advect(b, d, d0, u, v, dt)
{
var Wdt0 = dt * width;
var Hdt0 = dt * height;
var Wp5 = width + 0.5;
Function add
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function add (spec, tag, cb) {
var thing = npa(spec || "")
var pkg = thing.name
var version = thing.rawSpec
var t = (tag || npm.config.get("tag")).trim()
Function findVersions
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function findVersions (npm, summary, cb) {
// now, for each item in the summary, try to find the maximum version
// that will satisfy all the ranges. next step is to install it at
// the specified location.
asyncMap(summary, function (item, cb) {
Function lifecycle_
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function lifecycle_ (pkg, stage, wd, env, unsafe, failOk, cb) {
var pathArr = []
, p = wd.split("node_modules")
, acc = path.resolve(p.shift())
Function exit
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function exit (code, noLog) {
exitCode = exitCode || process.exitCode || code
var doExit = npm.config ? npm.config.get("_exit") : true
log.verbose("exit", [code, doExit])
Function checkGit
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function checkGit (cb) {
fs.stat(path.join(npm.localPrefix, ".git"), function (er, s) {
var doGit = !er && s.isDirectory() && npm.config.get("git-tag-version")
if (!doGit) {
if (er) log.verbose("version", "error checking for .git", er)
Function WriteCopies
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def WriteCopies(target_name, copies, extra_deps, path_to_gyp, output):
"""Write CMake for the 'copies' in the target.
Args:
target_name: the name of the CMake target being generated.
Function GetCflags
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def GetCflags(self, config):
"""Returns the flags that need to be added to .c and .cc compilations."""
config = self._TargetConfig(config)
cflags = []
cflags.extend(['/wd' + w for w in self.msvs_disabled_warnings[config]])
Function GetCflags
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def GetCflags(self, configname, arch=None):
"""Returns flags that need to be added to .c, .cc, .m, and .mm
compilations."""
# This functions (and the similar ones below) do not offer complete
# emulation of all xcode_settings keys. They're implemented on demand.
Function _findPath
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Module._findPath = function(request, paths) {
var exts = Object.keys(Module._extensions);
if (request.charAt(0) === '/') {
paths = [''];
Function backtrace
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Interface.prototype.backtrace = function() {
if (!this.requireConnection()) return;
var self = this,
client = this.client;
Function processImmediate
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function processImmediate() {
var queue = immediateQueue;
var domain, immediate;
immediateQueue = {};
Function socketOnData
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function socketOnData(d) {
assert(!socket._paused);
debug('SERVER socketOnData %d', d.length);
var ret = parser.execute(d);
if (ret instanceof Error) {
Function WritableState
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function WritableState(options, stream) {
options = options || {};
// object stream flag to indicate whether or not this stream
// contains buffers or objects.
Function _writeRaw
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
OutgoingMessage.prototype._writeRaw = function(data, encoding, callback) {
if (util.isFunction(encoding)) {
callback = encoding;
encoding = null;
}
Function Form
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Form() {
function create(tag) { return document.createElement(tag); }
function text(value) { return document.createTextNode(value); }
this.form = create("form");
Function RSAGenerate
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function RSAGenerate(B,E) {
var rng = new SecureRandom();
var qs = B>>1;
this.e = parseInt(E,16);
var ee = new BigInteger(E,16);
Function completion
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
unpublish.completion = function (opts, cb) {
if (opts.conf.argv.remain.length >= 3) return cb()
npm.commands.whoami([], true, function (er, username) {
if (er) return cb()