patrickfav/uber-adb-tools

View on GitHub

Showing 87 of 87 total issues

Avoid too many return statements within this method.
Open

        if (adbPath != null ? !adbPath.equals(arg.adbPath) : arg.adbPath != null) return false;
Severity: Major
Found in src/main/java/at/favre/tools/uberadb/ui/Arg.java - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

            if (!Arrays.equals(mainArgument, arg.mainArgument)) return false;
    Severity: Major
    Found in src/main/java/at/favre/tools/uberadb/ui/Arg.java - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return new LocationResult(Location.ANDROID_HOME, new String[]{userPath + WIN_DEFAULT_ANDROID_HOME});
      Severity: Major
      Found in src/main/java/at/favre/tools/uberadb/AdbLocationFinderImpl.java - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                if (!Arrays.equals(reportFilterIntent, arg.reportFilterIntent)) return false;
        Severity: Major
        Found in src/main/java/at/favre/tools/uberadb/ui/Arg.java - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return new LocationResult(Location.WIN_DEFAULT, new String[]{userPath + WIN_DEFAULT_SDK});
          Severity: Major
          Found in src/main/java/at/favre/tools/uberadb/AdbLocationFinderImpl.java - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    if (!Arrays.equals(dumpsysServices, arg.dumpsysServices)) return false;
            Severity: Major
            Found in src/main/java/at/favre/tools/uberadb/ui/Arg.java - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                          if (versionName != null ? !versionName.equals(that.versionName) : that.versionName != null) return false;
              Severity: Major
              Found in src/main/java/at/favre/tools/uberadb/parser/DumpsysPackageParser.java - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                            if (codePath != null ? !codePath.equals(that.codePath) : that.codePath != null) return false;
                Severity: Major
                Found in src/main/java/at/favre/tools/uberadb/parser/DumpsysPackageParser.java - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                          if (debug != arg.debug) return false;
                  Severity: Major
                  Found in src/main/java/at/favre/tools/uberadb/ui/Arg.java - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return false;
                    Severity: Major
                    Found in src/main/java/at/favre/tools/uberadb/parser/DumpsysPackageParser.java - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                  return pkgHash != null ? pkgHash.equals(that.pkgHash) : that.pkgHash == null;
                      Severity: Major
                      Found in src/main/java/at/favre/tools/uberadb/parser/DumpsysPackageParser.java - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                if (force != arg.force) return false;
                        Severity: Major
                        Found in src/main/java/at/favre/tools/uberadb/ui/Arg.java - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                      if (updateTime != null ? !updateTime.equals(that.updateTime) : that.updateTime != null) return false;
                          Severity: Major
                          Found in src/main/java/at/favre/tools/uberadb/parser/DumpsysPackageParser.java - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                    return mode == arg.mode;
                            Severity: Major
                            Found in src/main/java/at/favre/tools/uberadb/ui/Arg.java - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      if (grantPermissions != arg.grantPermissions) return false;
                              Severity: Major
                              Found in src/main/java/at/favre/tools/uberadb/ui/Arg.java - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                        if (waitForDevice != arg.waitForDevice) return false;
                                Severity: Major
                                Found in src/main/java/at/favre/tools/uberadb/ui/Arg.java - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                  return new LocationResult(Location.MAC_DEFAULT, new String[]{userPath + MAC_DEFAULT_HOME});
                                  Severity: Major
                                  Found in src/main/java/at/favre/tools/uberadb/AdbLocationFinderImpl.java - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                            if (keepData != arg.keepData) return false;
                                    Severity: Major
                                    Found in src/main/java/at/favre/tools/uberadb/ui/Arg.java - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                              if (device != null ? !device.equals(arg.device) : arg.device != null) return false;
                                      Severity: Major
                                      Found in src/main/java/at/favre/tools/uberadb/ui/Arg.java - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                        return new LocationResult(Location.ANDROID_HOME, new String[]{androidHome + MAC_DEFAULT_ANDROID_HOME});
                                        Severity: Major
                                        Found in src/main/java/at/favre/tools/uberadb/AdbLocationFinderImpl.java - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language