Showing 517 of 2,859 total issues

Function runBlock8 has 79 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function runBlock8() {
    for (var i = 0; i < 7; i++) {
      s21[i].match(/\d+/g);
      'nsgre'.replace(re64, '');
      'orsber'.replace(re64, '');
Severity: Major
Found in deps/v8/benchmarks/regexp.js - About 3 hrs to fix

    Function Zlib has 78 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function Zlib(opts, mode) {
      this._opts = opts = opts || {};
      this._chunkSize = opts.chunkSize || exports.Z_DEFAULT_CHUNK;
    
      Transform.call(this, opts);
    Severity: Major
    Found in lib/zlib.js - About 3 hrs to fix

      Function createSecureContext has 78 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      exports.createSecureContext = function createSecureContext(options, context) {
        if (!options) options = {};
      
        var secureOptions = options.secureOptions;
        if (options.honorCipherOrder)
      Severity: Major
      Found in lib/_tls_common.js - About 3 hrs to fix

        Function Interface has 77 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function Interface(input, output, completer, terminal) {
          if (!(this instanceof Interface)) {
            return new Interface(input, output, completer, terminal);
          }
        
        
        Severity: Major
        Found in lib/readline.js - About 3 hrs to fix

          Function readFile has 77 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          fs.readFile = function(path, options, callback_) {
            var callback = maybeCallback(arguments[arguments.length - 1]);
          
            if (util.isFunction(options) || !options) {
              options = { encoding: null, flag: 'r' };
          Severity: Major
          Found in lib/fs.js - About 3 hrs to fix

            Function DebugEventDetails has 76 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            function DebugEventDetails(response) {
              var details = {text:'', running:false};
            
              // Get the running state.
              details.running = response.running();
            Severity: Major
            Found in deps/v8/src/d8.js - About 3 hrs to fix

              Function defineDefaultCommands has 75 lines of code (exceeds 25 allowed). Consider refactoring.
              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() {
              Severity: Major
              Found in lib/repl.js - About 3 hrs to fix

                Function TickProcessor has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                function TickProcessor(
                    cppEntriesProvider,
                    separateIc,
                    callGraphSize,
                    ignoreUnknown,
                Severity: Major
                Found in deps/v8/tools/tickprocessor.js - About 2 hrs to fix

                  Function sc_format has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  function sc_format(s, args) {
                     var len = s.length;
                     var p = new sc_StringOutputPort();
                     var i = 0, j = 1;
                  
                  
                  Severity: Major
                  Found in deps/v8/benchmarks/earley-boyer.js - About 2 hrs to fix

                    Function makeEnv has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    function makeEnv (data, prefix, env) {
                      prefix = prefix || "npm_package_"
                      if (!env) {
                        env = {}
                        for (var i in process.env) if (!i.match(/^npm_/)) {
                    Severity: Major
                    Found in deps/npm/lib/utils/lifecycle.js - About 2 hrs to fix

                      Function get_ has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                      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
                      Severity: Major
                      Found in deps/npm/lib/cache/caching-client.js - About 2 hrs to fix

                        Function _storeHeader has 73 lines of code (exceeds 25 allowed). Consider refactoring.
                        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,
                        Severity: Major
                        Found in lib/_http_outgoing.js - About 2 hrs to fix

                          Function processStdio has 72 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                            startup.processStdio = function() {
                              var stdin, stdout, stderr;
                          
                              process.__defineGetter__('stdout', function() {
                                if (stdout) return stdout;
                          Severity: Major
                          Found in src/node.js - About 2 hrs to fix

                            Function rayTrace has 72 lines of code (exceeds 25 allowed). Consider refactoring.
                            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);
                            Severity: Major
                            Found in deps/v8/benchmarks/raytrace.js - About 2 hrs to fix

                              Function processList has 71 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              function processList(section) {
                                var list = section.list;
                                var values = [];
                                var current;
                                var stack = [];
                              Severity: Major
                              Found in tools/doc/json.js - About 2 hrs to fix

                                Function mirrorObject has 71 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                Client.prototype.mirrorObject = function(handle, depth, cb) {
                                  var self = this;
                                
                                  var val;
                                
                                
                                Severity: Major
                                Found in lib/_debugger.js - About 2 hrs to fix

                                  Function encode has 71 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      function encode(input) {
                                          var n,
                                              delta,
                                              handledCPCount,
                                              basicLength,
                                  Severity: Major
                                  Found in lib/punycode.js - About 2 hrs to fix

                                    Function runBlock0 has 71 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                      function runBlock0() {
                                        for (var i = 0; i < 6511; i++) {
                                          re0.exec(s0[i]);
                                        }
                                        for (var i = 0; i < 1844; i++) {
                                    Severity: Major
                                    Found in deps/v8/benchmarks/regexp.js - About 2 hrs to fix

                                      Function installMany has 71 lines of code (exceeds 25 allowed). Consider refactoring.
                                      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.
                                      Severity: Major
                                      Found in deps/npm/lib/install.js - About 2 hrs to fix

                                        Function RtfGenerator has 70 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        function RtfGenerator() {
                                          var self = this,
                                              did_write_anything = false;
                                        
                                          Stream.call(this);
                                        Severity: Major
                                        Found in tools/license2rtf.js - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language