Showing 1,896 of 2,859 total issues

Function draw has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

PausePlot.prototype.draw = function () {
  var first = null;

  if (this.autoScale) {
    this.iteratePauses(function (i, v) {
Severity: Minor
Found in deps/v8/benchmarks/spinning-balls/v.js - About 1 hr to fix

    Function lin_solve2 has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    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;
    Severity: Minor
    Found in deps/v8/benchmarks/navier-stokes.js - About 1 hr to fix

      Function parseVmSymbols has 31 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      CppEntriesProvider.prototype.parseVmSymbols = function(
          libName, libStart, libEnd, processorFunc) {
        this.loadSymbols(libName);
      
        var prevEntry;
      Severity: Minor
      Found in deps/v8/tools/tickprocessor.js - About 1 hr to fix

        Function advect has 31 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            function advect(b, d, d0, u, v, dt)
            {
                var Wdt0 = dt * width;
                var Hdt0 = dt * height;
                var Wp5 = width + 0.5;
        Severity: Minor
        Found in deps/v8/benchmarks/navier-stokes.js - About 1 hr to fix

          Function add has 31 lines of code (exceeds 25 allowed). Consider refactoring.
          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()
          Severity: Minor
          Found in deps/npm/lib/dist-tag.js - About 1 hr to fix

            Function findVersions has 31 lines of code (exceeds 25 allowed). Consider refactoring.
            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) {
            Severity: Minor
            Found in deps/npm/lib/dedupe.js - About 1 hr to fix

              Function lifecycle_ has 31 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              function lifecycle_ (pkg, stage, wd, env, unsafe, failOk, cb) {
                var pathArr = []
                  , p = wd.split("node_modules")
                  , acc = path.resolve(p.shift())
              
              
              Severity: Minor
              Found in deps/npm/lib/utils/lifecycle.js - About 1 hr to fix

                Function exit has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                function exit (code, noLog) {
                  exitCode = exitCode || process.exitCode || code
                
                  var doExit = npm.config ? npm.config.get("_exit") : true
                  log.verbose("exit", [code, doExit])
                Severity: Minor
                Found in deps/npm/lib/utils/error-handler.js - About 1 hr to fix

                  Function checkGit has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                  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)
                  Severity: Minor
                  Found in deps/npm/lib/version.js - About 1 hr to fix

                    Function WriteCopies has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                    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.
                    Severity: Minor
                    Found in tools/gyp/pylib/gyp/generator/cmake.py - About 1 hr to fix

                      Function GetCflags has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                      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]])
                      Severity: Minor
                      Found in tools/gyp/pylib/gyp/msvs_emulation.py - About 1 hr to fix

                        Function GetCflags has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                        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.
                        Severity: Minor
                        Found in tools/gyp/pylib/gyp/xcode_emulation.py - About 1 hr to fix

                          Function _findPath has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          Module._findPath = function(request, paths) {
                            var exts = Object.keys(Module._extensions);
                          
                            if (request.charAt(0) === '/') {
                              paths = [''];
                          Severity: Minor
                          Found in lib/module.js - About 1 hr to fix

                            Function backtrace has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            Interface.prototype.backtrace = function() {
                              if (!this.requireConnection()) return;
                            
                              var self = this,
                                  client = this.client;
                            Severity: Minor
                            Found in lib/_debugger.js - About 1 hr to fix

                              Function processImmediate has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              function processImmediate() {
                                var queue = immediateQueue;
                                var domain, immediate;
                              
                                immediateQueue = {};
                              Severity: Minor
                              Found in lib/timers.js - About 1 hr to fix

                                Function socketOnData has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                  function socketOnData(d) {
                                    assert(!socket._paused);
                                    debug('SERVER socketOnData %d', d.length);
                                    var ret = parser.execute(d);
                                    if (ret instanceof Error) {
                                Severity: Minor
                                Found in lib/_http_server.js - About 1 hr to fix

                                  Function WritableState has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  function WritableState(options, stream) {
                                    options = options || {};
                                  
                                    // object stream flag to indicate whether or not this stream
                                    // contains buffers or objects.
                                  Severity: Minor
                                  Found in lib/_stream_writable.js - About 1 hr to fix

                                    Function _writeRaw has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    OutgoingMessage.prototype._writeRaw = function(data, encoding, callback) {
                                      if (util.isFunction(encoding)) {
                                        callback = encoding;
                                        encoding = null;
                                      }
                                    Severity: Minor
                                    Found in lib/_http_outgoing.js - About 1 hr to fix

                                      Function Form has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      function Form() {
                                        function create(tag) { return document.createElement(tag); }
                                        function text(value) { return document.createTextNode(value); }
                                      
                                        this.form = create("form");
                                      Severity: Minor
                                      Found in deps/v8/benchmarks/spinning-balls/v.js - About 1 hr to fix

                                        Function RSAGenerate has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        function RSAGenerate(B,E) {
                                          var rng = new SecureRandom();
                                          var qs = B>>1;
                                          this.e = parseInt(E,16);
                                          var ee = new BigInteger(E,16);
                                        Severity: Minor
                                        Found in deps/v8/benchmarks/crypto.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language