owncloud/core

View on GitHub

Showing 3,235 of 4,503 total issues

Avoid too many return statements within this method.
Open

                    return 1;
Severity: Major
Found in apps/files_external/lib/Command/Import.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

            return 0;
    Severity: Major
    Found in apps/files_external/lib/Command/Import.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return $key . ': ' . \json_encode($value);
      Severity: Major
      Found in apps/files_external/lib/Command/ListCommand.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                return false;
        Severity: Major
        Found in apps/files_external/lib/Lib/Storage/Google.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                  return false;
          Severity: Major
          Found in apps/files_external/lib/Lib/Storage/Google.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    return $this->restoreShares($output);
            Severity: Major
            Found in apps/files/lib/Command/TransferOwnership.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                          return false;
              Severity: Major
              Found in apps/files_external/lib/Lib/Storage/Google.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                            return 1;
                Severity: Major
                Found in apps/files/lib/Command/TransferOwnership.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                              return false;
                  Severity: Major
                  Found in apps/files_external/lib/Lib/Storage/Google.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                return $c->getServer()->query('OCP\Files\External\Service\IUserStoragesService');
                    Severity: Major
                    Found in apps/files_external/lib/AppInfo/Application.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                              return 0;
                      Severity: Major
                      Found in apps/files/lib/Command/CheckCache.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                    return '';
                        Severity: Major
                        Found in apps/files_external/lib/Lib/Storage/Google.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                      return;
                          Severity: Major
                          Found in apps/files/lib/Command/VerifyChecksums.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return 1;
                            Severity: Major
                            Found in apps/files/lib/Command/TransferOwnership.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                          return $this->driveFiles[$path];
                              Severity: Major
                              Found in apps/files_external/lib/Lib/Storage/Google.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                            return \round($diff / 29030400) . " years ago";
                                Severity: Major
                                Found in apps/files_versions/lib/Storage.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                              return \round($diff / 604800) . " weeks ago";
                                  Severity: Major
                                  Found in apps/files_versions/lib/Storage.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                return \round($diff / 2419200) . " months ago";
                                    Severity: Major
                                    Found in apps/files_versions/lib/Storage.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                      return 'application/pdf';
                                      Severity: Major
                                      Found in apps/files_external/lib/Lib/Storage/Google.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                        return parent::getMimeType($path);
                                        Severity: Major
                                        Found in apps/files_external/lib/Lib/Storage/Google.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language