Showing 1,896 of 2,859 total issues

Function TickProcessor has 9 arguments (exceeds 4 allowed). Consider refactoring.
Open

    cppEntriesProvider,
    separateIc,
    callGraphSize,
    ignoreUnknown,
    stateFilter,
Severity: Major
Found in deps/v8/tools/tickprocessor.js - About 1 hr to fix

    Function runCmd_ has 9 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    function runCmd_ (cmd, pkg, env, wd, stage, unsafe, uid, gid, cb_) {
    Severity: Major
    Found in deps/npm/lib/utils/lifecycle.js - About 1 hr to fix

      Function __init__ has 9 arguments (exceeds 4 allowed). Consider refactoring.
      Open

        def __init__(self, qualified_target, target_outputs, base_dir, build_dir,
      Severity: Major
      Found in tools/gyp/pylib/gyp/generator/ninja.py - About 1 hr to fix

        Function _GenerateRulesForMSBuild has 9 arguments (exceeds 4 allowed). Consider refactoring.
        Open

        def _GenerateRulesForMSBuild(output_dir, options, spec,
        Severity: Major
        Found in tools/gyp/pylib/gyp/generator/msvs.py - About 1 hr to fix

          Function WriteTarget has 9 arguments (exceeds 4 allowed). Consider refactoring.
          Open

          def WriteTarget(namer, qualified_target, target_dicts, build_dir, config_to_use,
          Severity: Major
          Found in tools/gyp/pylib/gyp/generator/cmake.py - About 1 hr to fix

            Function __init__ has 9 arguments (exceeds 4 allowed). Consider refactoring.
            Open

              def __init__(self, short_name, description,
            Severity: Major
            Found in tools/gyp/pylib/gyp/MSVSVersion.py - About 1 hr to fix

              Function CallLoadTargetBuildFile has 9 arguments (exceeds 4 allowed). Consider refactoring.
              Open

              def CallLoadTargetBuildFile(global_flags,
              Severity: Major
              Found in tools/gyp/pylib/gyp/input.py - About 1 hr to fix

                Function Load has 9 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                def Load(build_files, variables, includes, depth, generator_input_info, check,
                Severity: Major
                Found in tools/gyp/pylib/gyp/input.py - About 1 hr to fix

                  Function ExecLinkWithManifests has 9 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                    def ExecLinkWithManifests(self, arch, embed_manifest, out, ldcmd, resname,
                  Severity: Major
                  Found in tools/gyp/pylib/gyp/win_tool.py - About 1 hr to fix

                    Function ExecMidlWrapper has 9 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                      def ExecMidlWrapper(self, arch, outdir, tlb, h, dlldata, iid, proxy, idl,
                    Severity: Major
                    Found in tools/gyp/pylib/gyp/win_tool.py - About 1 hr to fix

                      Function kill has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      ChildProcess.prototype.kill = function(sig) {
                        var signal;
                      
                        if (!constants) {
                          constants = process.binding('constants');
                      Severity: Minor
                      Found in lib/child_process.js - About 1 hr to fix

                        Function sh_load has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        function sh_load(language, element, prefix, suffix) {
                          if (language in sh_requests) {
                            sh_requests[language].push(element);
                            return;
                          }
                        Severity: Minor
                        Found in doc/sh_main.js - About 1 hr to fix

                          Function DiffieHellman has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          function DiffieHellman(sizeOrKey, keyEncoding, generator, genEncoding) {
                            if (!(this instanceof DiffieHellman))
                              return new DiffieHellman(sizeOrKey, keyEncoding, generator, genEncoding);
                          
                            if (!util.isBuffer(sizeOrKey) &&
                          Severity: Minor
                          Found in lib/crypto.js - About 1 hr to fix

                            Function request has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            Client.prototype.request = function(method, path, headers) {
                              var self = this;
                              var options = {};
                              options.host = self.host;
                              options.port = self.port;
                            Severity: Minor
                            Found in lib/http.js - About 1 hr to fix

                              Function removeAllListeners has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  function removeAllListeners(type) {
                                var key, listeners;
                              
                                if (!this._events)
                                  return this;
                              Severity: Minor
                              Found in lib/events.js - About 1 hr to fix

                                Function main has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                function main(conf) {
                                  var api = conf.api;
                                  if (api === 'stream' && process.version.match(/^v0\.[0-8]\./)) {
                                    console.error('Crypto streams not available until v0.10');
                                    // use the legacy, just so that we can compare them.
                                Severity: Minor
                                Found in benchmark/crypto/hash-stream-creation.js - About 1 hr to fix

                                  Function http has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  Benchmark.prototype.http = function(p, args, cb) {
                                    var self = this;
                                    var wrk = path.resolve(__dirname, '..', 'tools', 'wrk', 'wrk');
                                    var regexp = /Requests\/sec:[ \t]+([0-9\.]+)/;
                                    var spawn = require('child_process').spawn;
                                  Severity: Minor
                                  Found in benchmark/common.js - About 1 hr to fix

                                    Function main has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    function main(conf) {
                                      var api = conf.api;
                                      if (api === 'stream' && process.version.match(/^v0\.[0-8]\./)) {
                                        console.error('Crypto streams not available until v0.10');
                                        // use the legacy, just so that we can compare them.
                                    Severity: Minor
                                    Found in benchmark/crypto/hash-stream-throughput.js - About 1 hr to fix

                                      Function init has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      function init (args, cb) {
                                        var dir = process.cwd()
                                        log.pause()
                                        npm.spinner.stop()
                                        var initFile = npm.config.get("init-module")
                                      Severity: Minor
                                      Found in deps/npm/lib/init.js - About 1 hr to fix

                                        Function out has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                          var out = results.map(function (res) {
                                            var out = res.cmd
                                              , r = Object.keys(res.hits).map(function (k) {
                                                  return k + ":" + res.hits[k]
                                                }).sort(function (a, b) {
                                        Severity: Minor
                                        Found in deps/npm/lib/help-search.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language