patrickfav/uber-adb-tools

View on GitHub

Showing 67 of 87 total issues

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 (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

              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.ANDROID_HOME, new String[]{androidHome + LINUX_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

                  return product != null ? product.equals(adbDevice.product) : adbDevice.product == null;
          Severity: Major
          Found in src/main/java/at/favre/tools/uberadb/parser/AdbDevice.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 (simpleBugReport != arg.simpleBugReport) 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(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

                                  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

                                    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 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

                        Avoid too many return statements within this method.
                        Open

                                if (model != null ? !model.equals(adbDevice.model) : adbDevice.model != null) return false;
                        Severity: Major
                        Found in src/main/java/at/favre/tools/uberadb/parser/AdbDevice.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

                                    if (quiet != arg.quiet) 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 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

                                                return new LocationResult(Location.MAC_DEFAULT, MAC_DEFAULT);
                                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 (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 (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 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 (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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language