Showing 517 of 2,859 total issues

File net.js has 1029 lines of code (exceeds 250 allowed). Consider refactoring.
Open

// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
Severity: Major
Found in lib/net.js - About 2 days to fix

    File child_process.js has 973 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    // Copyright Joyent, Inc. and other Node contributors.
    //
    // Permission is hereby granted, free of charge, to any person obtaining a
    // copy of this software and associated documentation files (the
    // "Software"), to deal in the Software without restriction, including
    Severity: Major
    Found in lib/child_process.js - About 2 days to fix

      File readline.js has 940 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      // Copyright Joyent, Inc. and other Node contributors.
      //
      // Permission is hereby granted, free of charge, to any person obtaining a
      // copy of this software and associated documentation files (the
      // "Software"), to deal in the Software without restriction, including
      Severity: Major
      Found in lib/readline.js - About 2 days to fix

        File install.js has 896 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        // npm install <pkg> <pkg> <pkg>
        //
        // See doc/install.md for more description
        
        // Managing contexts...
        Severity: Major
        Found in deps/npm/lib/install.js - About 2 days to fix

          Function PlotScriptComposer has 427 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          function PlotScriptComposer(kResX, kResY, error_output) {
            // Constants.
            var kV8BinarySuffixes = ["/d8", "/libv8.so"];
            var kStackFrames = 8;             // Stack frames to display in the plot.
          
          
          Severity: Major
          Found in deps/v8/tools/profviz/composer.js - About 2 days to fix

            Function runBlock11 has 419 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

              function runBlock11() {
                for (var i = 0; i < 2; i++) {
                  ' .pybfr'.replace(re18, '');
                  ' n.svryqOgaPnapry'.replace(re18, '');
                  ' qg'.replace(re18, '');
            Severity: Major
            Found in deps/v8/benchmarks/regexp.js - About 2 days to fix

              File cmake.py has 837 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              # Copyright (c) 2013 Google Inc. All rights reserved.
              # Use of this source code is governed by a BSD-style license that can be
              # found in the LICENSE file.
              
              """cmake output module
              Severity: Major
              Found in tools/gyp/pylib/gyp/generator/cmake.py - About 2 days to fix

                File MSVSSettings.py has 821 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                # Copyright (c) 2012 Google Inc. All rights reserved.
                # Use of this source code is governed by a BSD-style license that can be
                # found in the LICENSE file.
                
                """Code to validate and convert settings of the Microsoft build tools.
                Severity: Major
                Found in tools/gyp/pylib/gyp/MSVSSettings.py - About 1 day to fix

                  File ll_prof.py has 803 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  #!/usr/bin/env python
                  #
                  # Copyright 2012 the V8 project authors. All rights reserved.
                  # Redistribution and use in source and binary forms, with or without
                  # modification, are permitted provided that the following conditions are
                  Severity: Major
                  Found in deps/v8/tools/ll_prof.py - About 1 day to fix

                    File msvs_emulation.py has 764 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    # Copyright (c) 2012 Google Inc. All rights reserved.
                    # Use of this source code is governed by a BSD-style license that can be
                    # found in the LICENSE file.
                    
                    """
                    Severity: Major
                    Found in tools/gyp/pylib/gyp/msvs_emulation.py - About 1 day to fix

                      Function Sodium has 349 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      var Sodium = (function() {
                        "use strict";
                      
                        var kinds = ["FUNCTION", "OPTIMIZED_FUNCTION", "STUB", "BUILTIN",
                                     "LOAD_IC", "KEYED_LOAD_IC", "CALL_IC", "KEYED_CALL_IC",
                      Severity: Major
                      Found in deps/v8/tools/sodium/sodium.js - About 1 day to fix

                        File android.py has 746 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        # Copyright (c) 2012 Google Inc. All rights reserved.
                        # Use of this source code is governed by a BSD-style license that can be
                        # found in the LICENSE file.
                        
                        # Notes:
                        Severity: Major
                        Found in tools/gyp/pylib/gyp/generator/android.py - About 1 day to fix

                          File buffer.js has 718 lines of code (exceeds 250 allowed). Consider refactoring.
                          Open

                          // Copyright Joyent, Inc. and other Node contributors.
                          //
                          // Permission is hereby granted, free of charge, to any person obtaining a
                          // copy of this software and associated documentation files (the
                          // "Software"), to deal in the Software without restriction, including
                          Severity: Major
                          Found in lib/buffer.js - About 1 day to fix

                            File tickprocessor.js has 713 lines of code (exceeds 250 allowed). Consider refactoring.
                            Open

                            // Copyright 2012 the V8 project authors. All rights reserved.
                            // Redistribution and use in source and binary forms, with or without
                            // modification, are permitted provided that the following conditions are
                            // met:
                            //
                            Severity: Major
                            Found in deps/v8/tools/tickprocessor.js - About 1 day to fix

                              File statetracker.py has 709 lines of code (exceeds 250 allowed). Consider refactoring.
                              Open

                              #!/usr/bin/env python
                              #
                              # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
                              #
                              # Licensed under the Apache License, Version 2.0 (the "License");
                              Severity: Major
                              Found in tools/closure_linter/closure_linter/statetracker.py - About 1 day to fix

                                File xcode.py has 702 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                # Copyright (c) 2012 Google Inc. All rights reserved.
                                # Use of this source code is governed by a BSD-style license that can be
                                # found in the LICENSE file.
                                
                                import filecmp
                                Severity: Major
                                Found in tools/gyp/pylib/gyp/generator/xcode.py - About 1 day to fix

                                  Function DebugResponseDetails has 311 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  function DebugResponseDetails(response) {
                                    var details = { text: '', running: false };
                                  
                                    try {
                                      if (!response.success()) {
                                  Severity: Major
                                  Found in deps/v8/src/d8.js - About 1 day to fix

                                    File repl.js has 671 lines of code (exceeds 250 allowed). Consider refactoring.
                                    Open

                                    // Copyright Joyent, Inc. and other Node contributors.
                                    //
                                    // Permission is hereby granted, free of charge, to any person obtaining a
                                    // copy of this software and associated documentation files (the
                                    // "Software"), to deal in the Software without restriction, including
                                    Severity: Major
                                    Found in lib/repl.js - About 1 day to fix

                                      File raytrace.js has 670 lines of code (exceeds 250 allowed). Consider refactoring.
                                      Open

                                      // The ray tracer code in this file is written by Adam Burmister. It
                                      // is available in its original form from:
                                      //
                                      //   http://labs.flog.nz.co/raytracer/
                                      //
                                      Severity: Major
                                      Found in deps/v8/benchmarks/raytrace.js - About 1 day to fix

                                        File _tls_wrap.js has 650 lines of code (exceeds 250 allowed). Consider refactoring.
                                        Open

                                        // Copyright Joyent, Inc. and other Node contributors.
                                        //
                                        // // Emit `beforeExit` if the loop became alive either after emitting
                                        // event, or after running some callbacks.
                                        //
                                        Severity: Major
                                        Found in lib/_tls_wrap.js - About 1 day to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language