owncloud/core

View on GitHub

Showing 4,504 of 4,504 total issues

Method renameOrCopy has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function renameOrCopy($sourcePath, $targetPath, $operation) {
        list($sourceOwner, $sourcePath) = self::getSourcePathAndUser($sourcePath);

        // it was a upload of a existing file if no old path exists
        // in this case the pre-hook already called the store method and we can
Severity: Minor
Found in apps/files_versions/lib/Storage.php - About 1 hr to fix

    Method analyse has 42 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        protected function analyse(OutputInterface $output) {
            $view = new View();
            $output->writeln("Analysing files of $this->sourceUser ...");
            $progress = new ProgressBar($output);
            $progress->start();
    Severity: Minor
    Found in apps/files/lib/Command/TransferOwnership.php - About 1 hr to fix

      Method propfind has 42 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          protected function propfind($path, $strictNotFoundCheck=false) {
              $path = $this->cleanPath($path);
              $cachedResponse = $this->statCache->get($path);
              // we either don't know it, or we know it exists but need more details
              if ($cachedResponse === null || $cachedResponse === true) {
      Severity: Minor
      Found in lib/private/Files/Storage/DAV.php - About 1 hr to fix

        Method moveAvatars has 42 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            private function moveAvatars(IOutput $out, IUser $user) {
                $userId = $user->getUID();
        
                try {
                    \OC\Files\Filesystem::initMountPoints($userId);
        Severity: Minor
        Found in lib/private/Repair/MoveAvatarIntoSubFolder.php - About 1 hr to fix

          Method wrapStorage has 42 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              public function wrapStorage($mountPoint, Storage $storage, IMountPoint $mount) {
                  $parameters = [
                      'storage' => $storage,
                      'mountPoint' => $mountPoint,
                      'mount' => $mount
          Severity: Minor
          Found in lib/private/Encryption/EncryptionWrapper.php - About 1 hr to fix

            Method execute has 42 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                protected function execute(InputInterface $input, OutputInterface $output): int {
                    try {
                        $this->checkInput($input);
                    } catch (\InvalidArgumentException $e) {
                        $output->writeln('<error>' . $e->getMessage() . '</error>');
            Severity: Minor
            Found in core/Command/User/Setting.php - About 1 hr to fix

              Similar blocks of code found in 19 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "settings",
                  {
                  "Saved" : "Guardado",
                  "Delete" : "Borrar",
              Severity: Major
              Found in settings/l10n/es_ES.js and 18 other locations - About 1 hr to fix
              apps/federatedfilesharing/l10n/af_ZA.js on lines 1..15
              apps/federatedfilesharing/l10n/lv.js on lines 1..15
              apps/federation/l10n/lv.js on lines 1..15
              apps/files/l10n/hi.js on lines 1..15
              apps/files/l10n/ku_IQ.js on lines 1..15
              apps/files/l10n/sv_SE.js on lines 1..15
              apps/files_external/l10n/cy_GB.js on lines 1..15
              apps/files_external/l10n/ms_MY.js on lines 1..15
              apps/files_sharing/l10n/cy_GB.js on lines 1..15
              apps/files_sharing/l10n/es_CL.js on lines 1..15
              apps/files_sharing/l10n/mn.js on lines 1..15
              apps/files_sharing/l10n/si.js on lines 1..15
              apps/files_sharing/l10n/si_LK.js on lines 1..15
              apps/files_trashbin/l10n/bn_IN.js on lines 1..15
              apps/files_trashbin/l10n/km.js on lines 1..15
              apps/updatenotification/l10n/lb.js on lines 1..15
              core/l10n/tr_TR.js on lines 1..15
              lib/l10n/nds.js on lines 1..15

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 68.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 19 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "files_sharing",
                  {
                  "Uploading..." : "උඩුගත කෙරේ...",
                  "Cancel" : "එපා",
              Severity: Major
              Found in apps/files_sharing/l10n/si.js and 18 other locations - About 1 hr to fix
              apps/federatedfilesharing/l10n/af_ZA.js on lines 1..15
              apps/federatedfilesharing/l10n/lv.js on lines 1..15
              apps/federation/l10n/lv.js on lines 1..15
              apps/files/l10n/hi.js on lines 1..15
              apps/files/l10n/ku_IQ.js on lines 1..15
              apps/files/l10n/sv_SE.js on lines 1..15
              apps/files_external/l10n/cy_GB.js on lines 1..15
              apps/files_external/l10n/ms_MY.js on lines 1..15
              apps/files_sharing/l10n/cy_GB.js on lines 1..15
              apps/files_sharing/l10n/es_CL.js on lines 1..15
              apps/files_sharing/l10n/mn.js on lines 1..15
              apps/files_sharing/l10n/si_LK.js on lines 1..15
              apps/files_trashbin/l10n/bn_IN.js on lines 1..15
              apps/files_trashbin/l10n/km.js on lines 1..15
              apps/updatenotification/l10n/lb.js on lines 1..15
              core/l10n/tr_TR.js on lines 1..15
              lib/l10n/nds.js on lines 1..15
              settings/l10n/es_ES.js on lines 1..15

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 68.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 19 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "files_sharing",
                  {
                  "Cancel" : "Cancelar",
                  "Share" : "Compartir",
              Severity: Major
              Found in apps/files_sharing/l10n/es_CL.js and 18 other locations - About 1 hr to fix
              apps/federatedfilesharing/l10n/af_ZA.js on lines 1..15
              apps/federatedfilesharing/l10n/lv.js on lines 1..15
              apps/federation/l10n/lv.js on lines 1..15
              apps/files/l10n/hi.js on lines 1..15
              apps/files/l10n/ku_IQ.js on lines 1..15
              apps/files/l10n/sv_SE.js on lines 1..15
              apps/files_external/l10n/cy_GB.js on lines 1..15
              apps/files_external/l10n/ms_MY.js on lines 1..15
              apps/files_sharing/l10n/cy_GB.js on lines 1..15
              apps/files_sharing/l10n/mn.js on lines 1..15
              apps/files_sharing/l10n/si.js on lines 1..15
              apps/files_sharing/l10n/si_LK.js on lines 1..15
              apps/files_trashbin/l10n/bn_IN.js on lines 1..15
              apps/files_trashbin/l10n/km.js on lines 1..15
              apps/updatenotification/l10n/lb.js on lines 1..15
              core/l10n/tr_TR.js on lines 1..15
              lib/l10n/nds.js on lines 1..15
              settings/l10n/es_ES.js on lines 1..15

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 68.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 19 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "files_external",
                  {
                  "Personal" : "Peribadi",
                  "Username" : "Nama pengguna",
              Severity: Major
              Found in apps/files_external/l10n/ms_MY.js and 18 other locations - About 1 hr to fix
              apps/federatedfilesharing/l10n/af_ZA.js on lines 1..15
              apps/federatedfilesharing/l10n/lv.js on lines 1..15
              apps/federation/l10n/lv.js on lines 1..15
              apps/files/l10n/hi.js on lines 1..15
              apps/files/l10n/ku_IQ.js on lines 1..15
              apps/files/l10n/sv_SE.js on lines 1..15
              apps/files_external/l10n/cy_GB.js on lines 1..15
              apps/files_sharing/l10n/cy_GB.js on lines 1..15
              apps/files_sharing/l10n/es_CL.js on lines 1..15
              apps/files_sharing/l10n/mn.js on lines 1..15
              apps/files_sharing/l10n/si.js on lines 1..15
              apps/files_sharing/l10n/si_LK.js on lines 1..15
              apps/files_trashbin/l10n/bn_IN.js on lines 1..15
              apps/files_trashbin/l10n/km.js on lines 1..15
              apps/updatenotification/l10n/lb.js on lines 1..15
              core/l10n/tr_TR.js on lines 1..15
              lib/l10n/nds.js on lines 1..15
              settings/l10n/es_ES.js on lines 1..15

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 68.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 19 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "files",
                  {
                  "All files" : "Alla filer",
                  "Close" : "Stäng",
              Severity: Major
              Found in apps/files/l10n/sv_SE.js and 18 other locations - About 1 hr to fix
              apps/federatedfilesharing/l10n/af_ZA.js on lines 1..15
              apps/federatedfilesharing/l10n/lv.js on lines 1..15
              apps/federation/l10n/lv.js on lines 1..15
              apps/files/l10n/hi.js on lines 1..15
              apps/files/l10n/ku_IQ.js on lines 1..15
              apps/files_external/l10n/cy_GB.js on lines 1..15
              apps/files_external/l10n/ms_MY.js on lines 1..15
              apps/files_sharing/l10n/cy_GB.js on lines 1..15
              apps/files_sharing/l10n/es_CL.js on lines 1..15
              apps/files_sharing/l10n/mn.js on lines 1..15
              apps/files_sharing/l10n/si.js on lines 1..15
              apps/files_sharing/l10n/si_LK.js on lines 1..15
              apps/files_trashbin/l10n/bn_IN.js on lines 1..15
              apps/files_trashbin/l10n/km.js on lines 1..15
              apps/updatenotification/l10n/lb.js on lines 1..15
              core/l10n/tr_TR.js on lines 1..15
              lib/l10n/nds.js on lines 1..15
              settings/l10n/es_ES.js on lines 1..15

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 68.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 19 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "core",
                  {
                  "Settings" : "Ayarlar",
                  "No" : "Hayır",
              Severity: Major
              Found in core/l10n/tr_TR.js and 18 other locations - About 1 hr to fix
              apps/federatedfilesharing/l10n/af_ZA.js on lines 1..15
              apps/federatedfilesharing/l10n/lv.js on lines 1..15
              apps/federation/l10n/lv.js on lines 1..15
              apps/files/l10n/hi.js on lines 1..15
              apps/files/l10n/ku_IQ.js on lines 1..15
              apps/files/l10n/sv_SE.js on lines 1..15
              apps/files_external/l10n/cy_GB.js on lines 1..15
              apps/files_external/l10n/ms_MY.js on lines 1..15
              apps/files_sharing/l10n/cy_GB.js on lines 1..15
              apps/files_sharing/l10n/es_CL.js on lines 1..15
              apps/files_sharing/l10n/mn.js on lines 1..15
              apps/files_sharing/l10n/si.js on lines 1..15
              apps/files_sharing/l10n/si_LK.js on lines 1..15
              apps/files_trashbin/l10n/bn_IN.js on lines 1..15
              apps/files_trashbin/l10n/km.js on lines 1..15
              apps/updatenotification/l10n/lb.js on lines 1..15
              lib/l10n/nds.js on lines 1..15
              settings/l10n/es_ES.js on lines 1..15

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 68.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 19 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "federatedfilesharing",
                  {
                  "Loading..." : "Ielāde...",
                  "Sharing %s failed, because this item is already shared with %s" : "%s kopīgošana neizdevās, jo fails ir jau kopīgots ar %s",
              Severity: Major
              Found in apps/federatedfilesharing/l10n/lv.js and 18 other locations - About 1 hr to fix
              apps/federatedfilesharing/l10n/af_ZA.js on lines 1..15
              apps/federation/l10n/lv.js on lines 1..15
              apps/files/l10n/hi.js on lines 1..15
              apps/files/l10n/ku_IQ.js on lines 1..15
              apps/files/l10n/sv_SE.js on lines 1..15
              apps/files_external/l10n/cy_GB.js on lines 1..15
              apps/files_external/l10n/ms_MY.js on lines 1..15
              apps/files_sharing/l10n/cy_GB.js on lines 1..15
              apps/files_sharing/l10n/es_CL.js on lines 1..15
              apps/files_sharing/l10n/mn.js on lines 1..15
              apps/files_sharing/l10n/si.js on lines 1..15
              apps/files_sharing/l10n/si_LK.js on lines 1..15
              apps/files_trashbin/l10n/bn_IN.js on lines 1..15
              apps/files_trashbin/l10n/km.js on lines 1..15
              apps/updatenotification/l10n/lb.js on lines 1..15
              core/l10n/tr_TR.js on lines 1..15
              lib/l10n/nds.js on lines 1..15
              settings/l10n/es_ES.js on lines 1..15

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 68.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 19 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "federatedfilesharing",
                  {
                  "Add to" : "byvoeging aan",
                  "Loading..." : "Laai tans…",
              Severity: Major
              Found in apps/federatedfilesharing/l10n/af_ZA.js and 18 other locations - About 1 hr to fix
              apps/federatedfilesharing/l10n/lv.js on lines 1..15
              apps/federation/l10n/lv.js on lines 1..15
              apps/files/l10n/hi.js on lines 1..15
              apps/files/l10n/ku_IQ.js on lines 1..15
              apps/files/l10n/sv_SE.js on lines 1..15
              apps/files_external/l10n/cy_GB.js on lines 1..15
              apps/files_external/l10n/ms_MY.js on lines 1..15
              apps/files_sharing/l10n/cy_GB.js on lines 1..15
              apps/files_sharing/l10n/es_CL.js on lines 1..15
              apps/files_sharing/l10n/mn.js on lines 1..15
              apps/files_sharing/l10n/si.js on lines 1..15
              apps/files_sharing/l10n/si_LK.js on lines 1..15
              apps/files_trashbin/l10n/bn_IN.js on lines 1..15
              apps/files_trashbin/l10n/km.js on lines 1..15
              apps/updatenotification/l10n/lb.js on lines 1..15
              core/l10n/tr_TR.js on lines 1..15
              lib/l10n/nds.js on lines 1..15
              settings/l10n/es_ES.js on lines 1..15

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 68.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 19 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "updatenotification",
                  {
                  "Update notifications" : "Notifikatiounen aktualiséieren",
                  "{version} is available. Get more information on how to update." : "{Versioun} ass verfügbar. Kréi méi Informatiounen doriwwer wéi d'Aktualiséierung ofleeft.",
              Severity: Major
              Found in apps/updatenotification/l10n/lb.js and 18 other locations - About 1 hr to fix
              apps/federatedfilesharing/l10n/af_ZA.js on lines 1..15
              apps/federatedfilesharing/l10n/lv.js on lines 1..15
              apps/federation/l10n/lv.js on lines 1..15
              apps/files/l10n/hi.js on lines 1..15
              apps/files/l10n/ku_IQ.js on lines 1..15
              apps/files/l10n/sv_SE.js on lines 1..15
              apps/files_external/l10n/cy_GB.js on lines 1..15
              apps/files_external/l10n/ms_MY.js on lines 1..15
              apps/files_sharing/l10n/cy_GB.js on lines 1..15
              apps/files_sharing/l10n/es_CL.js on lines 1..15
              apps/files_sharing/l10n/mn.js on lines 1..15
              apps/files_sharing/l10n/si.js on lines 1..15
              apps/files_sharing/l10n/si_LK.js on lines 1..15
              apps/files_trashbin/l10n/bn_IN.js on lines 1..15
              apps/files_trashbin/l10n/km.js on lines 1..15
              core/l10n/tr_TR.js on lines 1..15
              lib/l10n/nds.js on lines 1..15
              settings/l10n/es_ES.js on lines 1..15

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 68.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 19 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "files_sharing",
                  {
                  "Cancel" : "Цуцлах",
                  "Share" : "Түгээх",
              Severity: Major
              Found in apps/files_sharing/l10n/mn.js and 18 other locations - About 1 hr to fix
              apps/federatedfilesharing/l10n/af_ZA.js on lines 1..15
              apps/federatedfilesharing/l10n/lv.js on lines 1..15
              apps/federation/l10n/lv.js on lines 1..15
              apps/files/l10n/hi.js on lines 1..15
              apps/files/l10n/ku_IQ.js on lines 1..15
              apps/files/l10n/sv_SE.js on lines 1..15
              apps/files_external/l10n/cy_GB.js on lines 1..15
              apps/files_external/l10n/ms_MY.js on lines 1..15
              apps/files_sharing/l10n/cy_GB.js on lines 1..15
              apps/files_sharing/l10n/es_CL.js on lines 1..15
              apps/files_sharing/l10n/si.js on lines 1..15
              apps/files_sharing/l10n/si_LK.js on lines 1..15
              apps/files_trashbin/l10n/bn_IN.js on lines 1..15
              apps/files_trashbin/l10n/km.js on lines 1..15
              apps/updatenotification/l10n/lb.js on lines 1..15
              core/l10n/tr_TR.js on lines 1..15
              lib/l10n/nds.js on lines 1..15
              settings/l10n/es_ES.js on lines 1..15

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 68.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 19 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "files_sharing",
                  {
                  "Uploading..." : "උඩුගත කෙරේ...",
                  "Cancel" : "එපා",
              Severity: Major
              Found in apps/files_sharing/l10n/si_LK.js and 18 other locations - About 1 hr to fix
              apps/federatedfilesharing/l10n/af_ZA.js on lines 1..15
              apps/federatedfilesharing/l10n/lv.js on lines 1..15
              apps/federation/l10n/lv.js on lines 1..15
              apps/files/l10n/hi.js on lines 1..15
              apps/files/l10n/ku_IQ.js on lines 1..15
              apps/files/l10n/sv_SE.js on lines 1..15
              apps/files_external/l10n/cy_GB.js on lines 1..15
              apps/files_external/l10n/ms_MY.js on lines 1..15
              apps/files_sharing/l10n/cy_GB.js on lines 1..15
              apps/files_sharing/l10n/es_CL.js on lines 1..15
              apps/files_sharing/l10n/mn.js on lines 1..15
              apps/files_sharing/l10n/si.js on lines 1..15
              apps/files_trashbin/l10n/bn_IN.js on lines 1..15
              apps/files_trashbin/l10n/km.js on lines 1..15
              apps/updatenotification/l10n/lb.js on lines 1..15
              core/l10n/tr_TR.js on lines 1..15
              lib/l10n/nds.js on lines 1..15
              settings/l10n/es_ES.js on lines 1..15

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 68.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 19 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "lib",
                  {
                  "Unknown filetype" : "Unbekannter Dateityp",
                  "Invalid image" : "Ungültiges Bild",
              Severity: Major
              Found in lib/l10n/nds.js and 18 other locations - About 1 hr to fix
              apps/federatedfilesharing/l10n/af_ZA.js on lines 1..15
              apps/federatedfilesharing/l10n/lv.js on lines 1..15
              apps/federation/l10n/lv.js on lines 1..15
              apps/files/l10n/hi.js on lines 1..15
              apps/files/l10n/ku_IQ.js on lines 1..15
              apps/files/l10n/sv_SE.js on lines 1..15
              apps/files_external/l10n/cy_GB.js on lines 1..15
              apps/files_external/l10n/ms_MY.js on lines 1..15
              apps/files_sharing/l10n/cy_GB.js on lines 1..15
              apps/files_sharing/l10n/es_CL.js on lines 1..15
              apps/files_sharing/l10n/mn.js on lines 1..15
              apps/files_sharing/l10n/si.js on lines 1..15
              apps/files_sharing/l10n/si_LK.js on lines 1..15
              apps/files_trashbin/l10n/bn_IN.js on lines 1..15
              apps/files_trashbin/l10n/km.js on lines 1..15
              apps/updatenotification/l10n/lb.js on lines 1..15
              core/l10n/tr_TR.js on lines 1..15
              settings/l10n/es_ES.js on lines 1..15

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 68.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 19 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "files_external",
                  {
                  "Personal" : "Personol",
                  "Username" : "Enw defnyddiwr",
              Severity: Major
              Found in apps/files_external/l10n/cy_GB.js and 18 other locations - About 1 hr to fix
              apps/federatedfilesharing/l10n/af_ZA.js on lines 1..15
              apps/federatedfilesharing/l10n/lv.js on lines 1..15
              apps/federation/l10n/lv.js on lines 1..15
              apps/files/l10n/hi.js on lines 1..15
              apps/files/l10n/ku_IQ.js on lines 1..15
              apps/files/l10n/sv_SE.js on lines 1..15
              apps/files_external/l10n/ms_MY.js on lines 1..15
              apps/files_sharing/l10n/cy_GB.js on lines 1..15
              apps/files_sharing/l10n/es_CL.js on lines 1..15
              apps/files_sharing/l10n/mn.js on lines 1..15
              apps/files_sharing/l10n/si.js on lines 1..15
              apps/files_sharing/l10n/si_LK.js on lines 1..15
              apps/files_trashbin/l10n/bn_IN.js on lines 1..15
              apps/files_trashbin/l10n/km.js on lines 1..15
              apps/updatenotification/l10n/lb.js on lines 1..15
              core/l10n/tr_TR.js on lines 1..15
              lib/l10n/nds.js on lines 1..15
              settings/l10n/es_ES.js on lines 1..15

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 68.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 19 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "files",
                  {
                  "All files" : "सभी फाइल्स",
                  "Close" : "बंद करें ",
              Severity: Major
              Found in apps/files/l10n/hi.js and 18 other locations - About 1 hr to fix
              apps/federatedfilesharing/l10n/af_ZA.js on lines 1..15
              apps/federatedfilesharing/l10n/lv.js on lines 1..15
              apps/federation/l10n/lv.js on lines 1..15
              apps/files/l10n/ku_IQ.js on lines 1..15
              apps/files/l10n/sv_SE.js on lines 1..15
              apps/files_external/l10n/cy_GB.js on lines 1..15
              apps/files_external/l10n/ms_MY.js on lines 1..15
              apps/files_sharing/l10n/cy_GB.js on lines 1..15
              apps/files_sharing/l10n/es_CL.js on lines 1..15
              apps/files_sharing/l10n/mn.js on lines 1..15
              apps/files_sharing/l10n/si.js on lines 1..15
              apps/files_sharing/l10n/si_LK.js on lines 1..15
              apps/files_trashbin/l10n/bn_IN.js on lines 1..15
              apps/files_trashbin/l10n/km.js on lines 1..15
              apps/updatenotification/l10n/lb.js on lines 1..15
              core/l10n/tr_TR.js on lines 1..15
              lib/l10n/nds.js on lines 1..15
              settings/l10n/es_ES.js on lines 1..15

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 68.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Severity
              Category
              Status
              Source
              Language