Showing 517 of 2,859 total issues

Avoid too many return statements within this function.
Open

    if (!wrapped) return log.verbose("addLocalDirectory", tgz, "already in flight; waiting")
Severity: Major
Found in deps/npm/lib/cache/add-local.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

          return cb(new Error(
            "Invalid package: expected " + pkgData.name + "@" + pkgData.version +
              " but found " + data.name + "@" + data.version
          ))
    Severity: Major
    Found in deps/npm/lib/cache/add-local.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                if (er) return fetchit()
      Severity: Major
      Found in deps/npm/lib/cache/add-named.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                  return cb(new Error("Invalid Package: expected " +
                                      pkgData.name + "@" + pkgData.version +
                                      " but found " + data.name + "@" + data.version))
        Severity: Major
        Found in deps/npm/lib/cache/add-local-tarball.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      else return cb(null, data)
          Severity: Major
          Found in deps/npm/lib/cache/add-named.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                return findPrefix_(d, original, cb)
            Severity: Major
            Found in deps/npm/lib/config/find-prefix.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                  return None
              Severity: Major
              Found in tools/closure_linter/closure_linter/javascriptstatetracker.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                        return 0
                Severity: Major
                Found in tools/closure_linter/gflags.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                      return 0
                  Severity: Major
                  Found in tools/closure_linter/gflags.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                          return EcmaMetaData.UNARY_OPERATOR
                    Severity: Major
                    Found in tools/closure_linter/closure_linter/ecmametadatapass.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                              return '.'.join(parts)
                      Severity: Major
                      Found in tools/closure_linter/closure_linter/javascriptstatetracker.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                          return None
                        Severity: Major
                        Found in tools/closure_linter/closure_linter/tokenutil.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                              return EcmaMetaData.BINARY_OPERATOR
                          Severity: Major
                          Found in tools/closure_linter/closure_linter/ecmametadatapass.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                        return '.'.join(parts[:i])
                            Severity: Major
                            Found in tools/closure_linter/closure_linter/javascriptstatetracker.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                  return repr(str(value))
                              Severity: Major
                              Found in tools/closure_linter/gflags.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                      return context
                                Severity: Major
                                Found in tools/closure_linter/closure_linter/ecmametadatapass.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                        return 1
                                  Severity: Major
                                  Found in tools/gyp/pylib/gyp/generator/ninja.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                        return 1
                                    Severity: Major
                                    Found in tools/gyp/pylib/gyp/generator/ninja.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                            return self.GypPathToUniqueOutput(filename, qualified=False)
                                      Severity: Major
                                      Found in tools/gyp/pylib/gyp/generator/ninja.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                              return os.path.join(libdir, filename)
                                        Severity: Major
                                        Found in tools/gyp/pylib/gyp/generator/ninja.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language