Showing 2,859 of 2,859 total issues

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

        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 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 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 '.'.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 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 '.'.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 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 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 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 os.path.join(libdir, filename)
                            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 1
                                Severity: Major
                                Found in tools/gyp/pylib/gyp/xcodeproj_file.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                      return 'openbsd'
                                  Severity: Major
                                  Found in tools/gyp/pylib/gyp/common.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                        return 'aix'
                                    Severity: Major
                                    Found in tools/gyp/pylib/gyp/common.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                            return dependencies
                                      Severity: Major
                                      Found in tools/gyp/pylib/gyp/input.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                          return 'linux'
                                        Severity: Major
                                        Found in tools/gyp/pylib/gyp/common.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language