Showing 2,859 of 2,859 total issues

Function RegenerateAppendFlag has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

def RegenerateAppendFlag(flag, values, predicate, env_name, options):
Severity: Minor
Found in tools/gyp/pylib/gyp/__init__.py - About 35 mins to fix

    Function GitUpload has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      def GitUpload(self, reviewer="", author="", force=False, cq=False,
    Severity: Minor
    Found in deps/v8/tools/push-to-trunk/git_recipes.py - About 35 mins to fix

      Function output_disasm_range has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

        def output_disasm_range(
      Severity: Minor
      Found in deps/v8/tools/grokdump.py - About 35 mins to fix

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

          def __init__(self, name, start_address, end_address, origin, origin_offset):
        Severity: Minor
        Found in deps/v8/tools/ll_prof.py - About 35 mins to fix

          Function PrintReport has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

          def PrintReport(code_map, library_repo, arch, ticks, options):
          Severity: Minor
          Found in deps/v8/tools/ll_prof.py - About 35 mins to fix

            Function output_words has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

              def output_words(self, f, start_address, end_address,
            Severity: Minor
            Found in deps/v8/tools/grokdump.py - About 35 mins to fix

              Function ExpandMacroDefinition has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

              def ExpandMacroDefinition(lines, pos, name_pattern, macro, expander):
              Severity: Minor
              Found in deps/v8/tools/js2c.py - About 35 mins to fix

                Function format_disasm_line has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                  def format_disasm_line(
                Severity: Minor
                Found in deps/v8/tools/grokdump.py - About 35 mins to fix

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

                    def __init__(self, suites, progress_indicator, context, peers, workspace):
                  Severity: Minor
                  Found in deps/v8/tools/testrunner/network/network_execution.py - About 35 mins to fix

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

                      def __init__(self, pidfile, root, stdin="/dev/null",
                    Severity: Minor
                    Found in deps/v8/tools/testrunner/server/main.py - About 35 mins to fix

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

                        def __init__(self, command, dep_command, test_id, timeout, verbose):
                      Severity: Minor
                      Found in deps/v8/tools/testrunner/local/execution.py - About 35 mins to fix

                        Function make_link_node has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                        def make_link_node(rawtext, app, name, manpage_num, options):
                        Severity: Minor
                        Found in deps/uv/docs/src/sphinx-plugins/manpage.py - About 35 mins to fix

                          Function Execute has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                          def Execute(workspace, ctx, tests, sock, server):
                          Severity: Minor
                          Found in deps/v8/tools/testrunner/network/endpoint.py - About 35 mins to fix

                            Similar blocks of code found in 6 locations. Consider refactoring.
                            Open

                                global.setInterval = function() {
                                  var t = NativeModule.require('timers');
                                  return t.setInterval.apply(this, arguments);
                                };
                            Severity: Major
                            Found in src/node.js and 5 other locations - About 35 mins to fix
                            src/node.js on lines 184..187
                            src/node.js on lines 194..197
                            src/node.js on lines 199..202
                            src/node.js on lines 204..207
                            src/node.js on lines 209..212

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 47.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Similar blocks of code found in 6 locations. Consider refactoring.
                            Open

                                global.setTimeout = function() {
                                  var t = NativeModule.require('timers');
                                  return t.setTimeout.apply(this, arguments);
                                };
                            Severity: Major
                            Found in src/node.js and 5 other locations - About 35 mins to fix
                            src/node.js on lines 189..192
                            src/node.js on lines 194..197
                            src/node.js on lines 199..202
                            src/node.js on lines 204..207
                            src/node.js on lines 209..212

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 47.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Similar blocks of code found in 6 locations. Consider refactoring.
                            Open

                                global.clearInterval = function() {
                                  var t = NativeModule.require('timers');
                                  return t.clearInterval.apply(this, arguments);
                                };
                            Severity: Major
                            Found in src/node.js and 5 other locations - About 35 mins to fix
                            src/node.js on lines 184..187
                            src/node.js on lines 189..192
                            src/node.js on lines 194..197
                            src/node.js on lines 204..207
                            src/node.js on lines 209..212

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 47.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Identical blocks of code found in 2 locations. Consider refactoring.
                            Open

                            exports.get = function(options, cb) {
                              var req = exports.request(options, cb);
                              req.end();
                              return req;
                            };
                            Severity: Minor
                            Found in lib/https.js and 1 other location - About 35 mins to fix
                            lib/http.js on lines 54..58

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 47.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Identical blocks of code found in 2 locations. Consider refactoring.
                            Open

                                    for (var sc_tmp = arguments.length - 1; sc_tmp >= 0; sc_tmp--) {
                                        args = sc_cons(arguments[sc_tmp], args);
                                    }
                            Severity: Minor
                            Found in deps/v8/benchmarks/earley-boyer.js and 1 other location - About 35 mins to fix
                            deps/v8/benchmarks/earley-boyer.js on lines 3470..3472

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 47.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Identical blocks of code found in 2 locations. Consider refactoring.
                            Open

                                if (self.socket.writable) {
                                  if (method) {
                                    self.socket[method].apply(self.socket, arguments_);
                                  }
                                  if (cb) { cb(); }
                            Severity: Minor
                            Found in lib/_http_client.js and 1 other location - About 35 mins to fix
                            lib/_http_client.js on lines 525..530

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 47.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Similar blocks of code found in 6 locations. Consider refactoring.
                            Open

                                global.clearTimeout = function() {
                                  var t = NativeModule.require('timers');
                                  return t.clearTimeout.apply(this, arguments);
                                };
                            Severity: Major
                            Found in src/node.js and 5 other locations - About 35 mins to fix
                            src/node.js on lines 184..187
                            src/node.js on lines 189..192
                            src/node.js on lines 199..202
                            src/node.js on lines 204..207
                            src/node.js on lines 209..212

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 47.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Severity
                            Category
                            Status
                            Source
                            Language