Showing 512 of 2,689 total issues

File earley-boyer.js has 3397 lines of code (exceeds 250 allowed). Consider refactoring.
Open

// This file is automatically generated by scheme2js, except for the
// benchmark harness code at the beginning and end of the file.

var EarleyBoyer = new BenchmarkSuite('EarleyBoyer', 666463, [
  new Benchmark("Earley", function () { BgL_earleyzd2benchmarkzd2(); }),
Severity: Major
Found in deps/v8/benchmarks/earley-boyer.js - About 1 wk to fix

    Function RegExpBenchmark has 1675 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function RegExpBenchmark() {
      var re0 = /^ba/;
      var re1 = /(((\w+):\/\/)([^\/:]*)(:(\d+))?)?([^#?]*)(\?([^#]*))?(#(.*))?/;
      var re2 = /^\s*|\s*$/g;
      var re3 = /\bQBZPbageby_cynprubyqre\b/;
    Severity: Major
    Found in deps/v8/benchmarks/regexp.js - About 1 wk to fix

      File gflags.py has 1710 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      #!/usr/bin/env python
      
      # Copyright (c) 2007, Google Inc.
      # All rights reserved.
      #
      Severity: Major
      Found in tools/closure_linter/gflags.py - About 4 days to fix

        File regexp.js has 1700 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        // Copyright 2010 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/benchmarks/regexp.js - About 4 days to fix

          File d8.js has 1485 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          // Copyright 2008 the V8 project authors. All rights reserved.
          // Use of this source code is governed by a BSD-style license that can be
          // found in the LICENSE file.
          
          "use strict";
          Severity: Major
          Found in deps/v8/src/d8.js - About 3 days to fix

            File make.py has 1469 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.
            
            # Notes:
            Severity: Major
            Found in tools/gyp/pylib/gyp/generator/make.py - About 3 days to fix

              File MSVSSettings_test.py has 1454 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              #!/usr/bin/env python
              
              # 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/MSVSSettings_test.py - About 3 days to fix

                File fs.js has 1412 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/fs.js - About 3 days to fix

                  File crypto.js has 1296 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  /*
                   * Copyright (c) 2003-2005  Tom Wu
                   * All Rights Reserved.
                   *
                   * Permission is hereby granted, free of charge, to any person obtaining
                  Severity: Major
                  Found in deps/v8/benchmarks/crypto.js - About 3 days to fix

                    File _debugger.js has 1185 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/_debugger.js - About 3 days to fix

                      File test.py has 1176 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      #!/usr/bin/env python
                      #
                      # Copyright 2008 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 tools/test.py - About 3 days to fix

                        File generate-runtime-tests.py has 1175 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        #!/usr/bin/env python
                        # Copyright 2014 the V8 project authors. 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 deps/v8/tools/generate-runtime-tests.py - About 3 days to fix

                          File test_scripts.py has 1174 lines of code (exceeds 250 allowed). Consider refactoring.
                          Open

                          #!/usr/bin/env python
                          # Copyright 2013 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/push-to-trunk/test_scripts.py - About 3 days to fix

                            File xcode_emulation.py has 1097 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/xcode_emulation.py - About 2 days to fix

                              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 testConvertToMSBuildSettings_full_synthetic has 433 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                        def testConvertToMSBuildSettings_full_synthetic(self):
                                          """Tests conversion of all the MSBuild settings."""
                                          msvs_settings = {
                                              'VCCLCompilerTool': {
                                                  'AdditionalIncludeDirectories': 'folder1;folder2;folder3',
                                      Severity: Major
                                      Found in tools/gyp/pylib/gyp/MSVSSettings_test.py - 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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language