owncloud/core

View on GitHub

Showing 4,504 of 4,504 total issues

File de.js has 414 lines of code (exceeds 250 allowed). Consider refactoring.
Open

OC.L10N.register(
    "settings",
    {
    "Wrong current password" : "Das aktuelle Passwort ist falsch.",
    "The new password cannot be the same as the previous one" : "Das neue Passwort kann nicht identisch zum alten Passwort sein.",
Severity: Minor
Found in settings/l10n/de.js - About 5 hrs to fix

    File tr.js has 414 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    OC.L10N.register(
        "settings",
        {
        "Wrong current password" : "Şimdiki parola yanlış",
        "The new password cannot be the same as the previous one" : "Yeni parola eskisiyle aynı olamaz",
    Severity: Minor
    Found in settings/l10n/tr.js - About 5 hrs to fix

      File de_DE.js has 414 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      OC.L10N.register(
          "settings",
          {
          "Wrong current password" : "Falsches aktuelles Passwort",
          "The new password cannot be the same as the previous one" : "Das neue Passwort kann nicht das gleiche sein wie das alte",
      Severity: Minor
      Found in settings/l10n/de_DE.js - About 5 hrs to fix

        File en_GB.js has 414 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        OC.L10N.register(
            "settings",
            {
            "Wrong current password" : "Wrong current password",
            "The new password cannot be the same as the previous one" : "The new password cannot be the same as the previous one",
        Severity: Minor
        Found in settings/l10n/en_GB.js - About 5 hrs to fix

          File ru_RU.js has 414 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          OC.L10N.register(
              "settings",
              {
              "Wrong current password" : "Старый пароль неверен",
              "The new password cannot be the same as the previous one" : "Новый пароль не совпадать с предыдущим",
          Severity: Minor
          Found in settings/l10n/ru_RU.js - About 5 hrs to fix

            File sq.js has 414 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            OC.L10N.register(
                "settings",
                {
                "Wrong current password" : "Fjalëkalim i tanishëm i gabuar",
                "The new password cannot be the same as the previous one" : "Fjalëkalimi i ri s’mund të jetë i njëjtë me atë të mëparshmin",
            Severity: Minor
            Found in settings/l10n/sq.js - About 5 hrs to fix

              Function index has a Cognitive Complexity of 39 (exceeds 5 allowed). Consider refactoring.
              Open

                  public function index($offset = 0, $limit = 10, $gid = '', $pattern = '', $backend = '') {
                      // FIXME: The JS sends the group '_everyone' instead of no GID for the "all users" group.
                      if ($gid === '_everyone') {
                          $gid = '';
                      }
              Severity: Minor
              Found in settings/Controller/UsersController.php - About 5 hrs to fix

              Cognitive Complexity

              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

              A method's cognitive complexity is based on a few simple rules:

              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
              • Code is considered more complex for each "break in the linear flow of the code"
              • Code is considered more complex when "flow breaking structures are nested"

              Further reading

              Function getLocks has a Cognitive Complexity of 39 (exceeds 5 allowed). Consider refactoring.
              Open

                  public function getLocks($uri, $returnChildLocks) {
                      try {
                          $node = $this->tree->getNodeForPath($uri);
              
                          if ($node instanceof SharedFile || $node instanceof SharedFolder) {
              Severity: Minor
              Found in apps/dav/lib/Files/FileLocksBackend.php - About 5 hrs to fix

              Cognitive Complexity

              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

              A method's cognitive complexity is based on a few simple rules:

              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
              • Code is considered more complex for each "break in the linear flow of the code"
              • Code is considered more complex when "flow breaking structures are nested"

              Further reading

              Function listMounts has a Cognitive Complexity of 39 (exceeds 5 allowed). Consider refactoring.
              Open

                  public function listMounts($userId, array $mounts, InputInterface $input, OutputInterface $output) {
                      $outputType = $input->getOption('output');
                      $outputIsJson = ($outputType === self::OUTPUT_FORMAT_JSON) || ($outputType === self::OUTPUT_FORMAT_JSON_PRETTY);
                      $shortView = $input->getOption('short');
                      $importableView = $input->getOption('importable-format');
              Severity: Minor
              Found in apps/files_external/lib/Command/ListCommand.php - About 5 hrs to fix

              Cognitive Complexity

              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

              A method's cognitive complexity is based on a few simple rules:

              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
              • Code is considered more complex for each "break in the linear flow of the code"
              • Code is considered more complex when "flow breaking structures are nested"

              Further reading

              Function getInternalDriveFile has a Cognitive Complexity of 39 (exceeds 5 allowed). Consider refactoring.
              Open

                  private function getInternalDriveFile($path) {
                      // Remove leading and trailing slashes
                      $path = \trim($path, '/');
                      if ($path === '.') {
                          $path = '';
              Severity: Minor
              Found in apps/files_external/lib/Lib/Storage/Google.php - About 5 hrs to fix

              Cognitive Complexity

              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

              A method's cognitive complexity is based on a few simple rules:

              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
              • Code is considered more complex for each "break in the linear flow of the code"
              • Code is considered more complex when "flow breaking structures are nested"

              Further reading

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

              OC.L10N.register(
                  "systemtags",
                  {
                  "Tags" : "Etiquetas",
                  "Tagged files" : "Fichièrs etiquetats",
              Severity: Major
              Found in apps/systemtags/l10n/oc.js and 19 other locations - About 5 hrs to fix
              apps/federatedfilesharing/l10n/eu.js on lines 1..32
              apps/federatedfilesharing/l10n/is.js on lines 1..32
              apps/federatedfilesharing/l10n/nl.js on lines 1..32
              apps/files/l10n/cy_GB.js on lines 1..32
              apps/files/l10n/si_LK.js on lines 1..32
              apps/files/l10n/ta_LK.js on lines 1..32
              apps/systemtags/l10n/af_ZA.js on lines 1..32
              apps/systemtags/l10n/ast.js on lines 1..32
              apps/systemtags/l10n/cs_CZ.js on lines 1..32
              apps/systemtags/l10n/da.js on lines 1..32
              apps/systemtags/l10n/fr.js on lines 1..32
              apps/systemtags/l10n/hu_HU.js on lines 1..32
              apps/systemtags/l10n/ja.js on lines 1..32
              apps/systemtags/l10n/lb.js on lines 1..32
              apps/systemtags/l10n/nb_NO.js on lines 1..32
              apps/systemtags/l10n/nl.js on lines 1..32
              apps/systemtags/l10n/ro.js on lines 1..32
              apps/systemtags/l10n/sl.js on lines 1..32
              apps/systemtags/l10n/uk.js on lines 1..32

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

              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 20 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "federatedfilesharing",
                  {
                  "Federated sharing" : "Gefedereerd delen",
                  "Loading..." : "Laden ...",
              Severity: Major
              Found in apps/federatedfilesharing/l10n/nl.js and 19 other locations - About 5 hrs to fix
              apps/federatedfilesharing/l10n/eu.js on lines 1..32
              apps/federatedfilesharing/l10n/is.js on lines 1..32
              apps/files/l10n/cy_GB.js on lines 1..32
              apps/files/l10n/si_LK.js on lines 1..32
              apps/files/l10n/ta_LK.js on lines 1..32
              apps/systemtags/l10n/af_ZA.js on lines 1..32
              apps/systemtags/l10n/ast.js on lines 1..32
              apps/systemtags/l10n/cs_CZ.js on lines 1..32
              apps/systemtags/l10n/da.js on lines 1..32
              apps/systemtags/l10n/fr.js on lines 1..32
              apps/systemtags/l10n/hu_HU.js on lines 1..32
              apps/systemtags/l10n/ja.js on lines 1..32
              apps/systemtags/l10n/lb.js on lines 1..32
              apps/systemtags/l10n/nb_NO.js on lines 1..32
              apps/systemtags/l10n/nl.js on lines 1..32
              apps/systemtags/l10n/oc.js on lines 1..32
              apps/systemtags/l10n/ro.js on lines 1..32
              apps/systemtags/l10n/sl.js on lines 1..32
              apps/systemtags/l10n/uk.js on lines 1..32

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

              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 20 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "systemtags",
                  {
                  "Tags" : "Tags",
                  "Tagged files" : "Getagde bestanden",
              Severity: Major
              Found in apps/systemtags/l10n/nl.js and 19 other locations - About 5 hrs to fix
              apps/federatedfilesharing/l10n/eu.js on lines 1..32
              apps/federatedfilesharing/l10n/is.js on lines 1..32
              apps/federatedfilesharing/l10n/nl.js on lines 1..32
              apps/files/l10n/cy_GB.js on lines 1..32
              apps/files/l10n/si_LK.js on lines 1..32
              apps/files/l10n/ta_LK.js on lines 1..32
              apps/systemtags/l10n/af_ZA.js on lines 1..32
              apps/systemtags/l10n/ast.js on lines 1..32
              apps/systemtags/l10n/cs_CZ.js on lines 1..32
              apps/systemtags/l10n/da.js on lines 1..32
              apps/systemtags/l10n/fr.js on lines 1..32
              apps/systemtags/l10n/hu_HU.js on lines 1..32
              apps/systemtags/l10n/ja.js on lines 1..32
              apps/systemtags/l10n/lb.js on lines 1..32
              apps/systemtags/l10n/nb_NO.js on lines 1..32
              apps/systemtags/l10n/oc.js on lines 1..32
              apps/systemtags/l10n/ro.js on lines 1..32
              apps/systemtags/l10n/sl.js on lines 1..32
              apps/systemtags/l10n/uk.js on lines 1..32

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

              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 20 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "systemtags",
                  {
                  "Tags" : "Címkék",
                  "Tagged files" : "Címkézett fájlok",
              Severity: Major
              Found in apps/systemtags/l10n/hu_HU.js and 19 other locations - About 5 hrs to fix
              apps/federatedfilesharing/l10n/eu.js on lines 1..32
              apps/federatedfilesharing/l10n/is.js on lines 1..32
              apps/federatedfilesharing/l10n/nl.js on lines 1..32
              apps/files/l10n/cy_GB.js on lines 1..32
              apps/files/l10n/si_LK.js on lines 1..32
              apps/files/l10n/ta_LK.js on lines 1..32
              apps/systemtags/l10n/af_ZA.js on lines 1..32
              apps/systemtags/l10n/ast.js on lines 1..32
              apps/systemtags/l10n/cs_CZ.js on lines 1..32
              apps/systemtags/l10n/da.js on lines 1..32
              apps/systemtags/l10n/fr.js on lines 1..32
              apps/systemtags/l10n/ja.js on lines 1..32
              apps/systemtags/l10n/lb.js on lines 1..32
              apps/systemtags/l10n/nb_NO.js on lines 1..32
              apps/systemtags/l10n/nl.js on lines 1..32
              apps/systemtags/l10n/oc.js on lines 1..32
              apps/systemtags/l10n/ro.js on lines 1..32
              apps/systemtags/l10n/sl.js on lines 1..32
              apps/systemtags/l10n/uk.js on lines 1..32

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

              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 20 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "federatedfilesharing",
                  {
                  "Federated sharing" : "Partekatze federatua",
                  "Loading..." : "Kargatzen...",
              Severity: Major
              Found in apps/federatedfilesharing/l10n/eu.js and 19 other locations - About 5 hrs to fix
              apps/federatedfilesharing/l10n/is.js on lines 1..32
              apps/federatedfilesharing/l10n/nl.js on lines 1..32
              apps/files/l10n/cy_GB.js on lines 1..32
              apps/files/l10n/si_LK.js on lines 1..32
              apps/files/l10n/ta_LK.js on lines 1..32
              apps/systemtags/l10n/af_ZA.js on lines 1..32
              apps/systemtags/l10n/ast.js on lines 1..32
              apps/systemtags/l10n/cs_CZ.js on lines 1..32
              apps/systemtags/l10n/da.js on lines 1..32
              apps/systemtags/l10n/fr.js on lines 1..32
              apps/systemtags/l10n/hu_HU.js on lines 1..32
              apps/systemtags/l10n/ja.js on lines 1..32
              apps/systemtags/l10n/lb.js on lines 1..32
              apps/systemtags/l10n/nb_NO.js on lines 1..32
              apps/systemtags/l10n/nl.js on lines 1..32
              apps/systemtags/l10n/oc.js on lines 1..32
              apps/systemtags/l10n/ro.js on lines 1..32
              apps/systemtags/l10n/sl.js on lines 1..32
              apps/systemtags/l10n/uk.js on lines 1..32

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

              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 20 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "systemtags",
                  {
                  "Tags" : "Etiketten",
                  "Tagged files" : "Etikettéiert Fichieren",
              Severity: Major
              Found in apps/systemtags/l10n/lb.js and 19 other locations - About 5 hrs to fix
              apps/federatedfilesharing/l10n/eu.js on lines 1..32
              apps/federatedfilesharing/l10n/is.js on lines 1..32
              apps/federatedfilesharing/l10n/nl.js on lines 1..32
              apps/files/l10n/cy_GB.js on lines 1..32
              apps/files/l10n/si_LK.js on lines 1..32
              apps/files/l10n/ta_LK.js on lines 1..32
              apps/systemtags/l10n/af_ZA.js on lines 1..32
              apps/systemtags/l10n/ast.js on lines 1..32
              apps/systemtags/l10n/cs_CZ.js on lines 1..32
              apps/systemtags/l10n/da.js on lines 1..32
              apps/systemtags/l10n/fr.js on lines 1..32
              apps/systemtags/l10n/hu_HU.js on lines 1..32
              apps/systemtags/l10n/ja.js on lines 1..32
              apps/systemtags/l10n/nb_NO.js on lines 1..32
              apps/systemtags/l10n/nl.js on lines 1..32
              apps/systemtags/l10n/oc.js on lines 1..32
              apps/systemtags/l10n/ro.js on lines 1..32
              apps/systemtags/l10n/sl.js on lines 1..32
              apps/systemtags/l10n/uk.js on lines 1..32

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

              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 20 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "systemtags",
                  {
                  "Tags" : "Étiquettes",
                  "Tagged files" : "Fichiers étiquetés",
              Severity: Major
              Found in apps/systemtags/l10n/fr.js and 19 other locations - About 5 hrs to fix
              apps/federatedfilesharing/l10n/eu.js on lines 1..32
              apps/federatedfilesharing/l10n/is.js on lines 1..32
              apps/federatedfilesharing/l10n/nl.js on lines 1..32
              apps/files/l10n/cy_GB.js on lines 1..32
              apps/files/l10n/si_LK.js on lines 1..32
              apps/files/l10n/ta_LK.js on lines 1..32
              apps/systemtags/l10n/af_ZA.js on lines 1..32
              apps/systemtags/l10n/ast.js on lines 1..32
              apps/systemtags/l10n/cs_CZ.js on lines 1..32
              apps/systemtags/l10n/da.js on lines 1..32
              apps/systemtags/l10n/hu_HU.js on lines 1..32
              apps/systemtags/l10n/ja.js on lines 1..32
              apps/systemtags/l10n/lb.js on lines 1..32
              apps/systemtags/l10n/nb_NO.js on lines 1..32
              apps/systemtags/l10n/nl.js on lines 1..32
              apps/systemtags/l10n/oc.js on lines 1..32
              apps/systemtags/l10n/ro.js on lines 1..32
              apps/systemtags/l10n/sl.js on lines 1..32
              apps/systemtags/l10n/uk.js on lines 1..32

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

              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 20 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "systemtags",
                  {
                  "Tags" : "Oznake",
                  "Tagged files" : "Označene datoteke",
              Severity: Major
              Found in apps/systemtags/l10n/sl.js and 19 other locations - About 5 hrs to fix
              apps/federatedfilesharing/l10n/eu.js on lines 1..32
              apps/federatedfilesharing/l10n/is.js on lines 1..32
              apps/federatedfilesharing/l10n/nl.js on lines 1..32
              apps/files/l10n/cy_GB.js on lines 1..32
              apps/files/l10n/si_LK.js on lines 1..32
              apps/files/l10n/ta_LK.js on lines 1..32
              apps/systemtags/l10n/af_ZA.js on lines 1..32
              apps/systemtags/l10n/ast.js on lines 1..32
              apps/systemtags/l10n/cs_CZ.js on lines 1..32
              apps/systemtags/l10n/da.js on lines 1..32
              apps/systemtags/l10n/fr.js on lines 1..32
              apps/systemtags/l10n/hu_HU.js on lines 1..32
              apps/systemtags/l10n/ja.js on lines 1..32
              apps/systemtags/l10n/lb.js on lines 1..32
              apps/systemtags/l10n/nb_NO.js on lines 1..32
              apps/systemtags/l10n/nl.js on lines 1..32
              apps/systemtags/l10n/oc.js on lines 1..32
              apps/systemtags/l10n/ro.js on lines 1..32
              apps/systemtags/l10n/uk.js on lines 1..32

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

              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 20 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "systemtags",
                  {
                  "Tags" : "Mærker",
                  "Tagged files" : "Mærkede filer",
              Severity: Major
              Found in apps/systemtags/l10n/da.js and 19 other locations - About 5 hrs to fix
              apps/federatedfilesharing/l10n/eu.js on lines 1..32
              apps/federatedfilesharing/l10n/is.js on lines 1..32
              apps/federatedfilesharing/l10n/nl.js on lines 1..32
              apps/files/l10n/cy_GB.js on lines 1..32
              apps/files/l10n/si_LK.js on lines 1..32
              apps/files/l10n/ta_LK.js on lines 1..32
              apps/systemtags/l10n/af_ZA.js on lines 1..32
              apps/systemtags/l10n/ast.js on lines 1..32
              apps/systemtags/l10n/cs_CZ.js on lines 1..32
              apps/systemtags/l10n/fr.js on lines 1..32
              apps/systemtags/l10n/hu_HU.js on lines 1..32
              apps/systemtags/l10n/ja.js on lines 1..32
              apps/systemtags/l10n/lb.js on lines 1..32
              apps/systemtags/l10n/nb_NO.js on lines 1..32
              apps/systemtags/l10n/nl.js on lines 1..32
              apps/systemtags/l10n/oc.js on lines 1..32
              apps/systemtags/l10n/ro.js on lines 1..32
              apps/systemtags/l10n/sl.js on lines 1..32
              apps/systemtags/l10n/uk.js on lines 1..32

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

              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 20 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "federatedfilesharing",
                  {
                  "Federated sharing" : "Deiling milli þjóna",
                  "Loading..." : "Hleð...",
              Severity: Major
              Found in apps/federatedfilesharing/l10n/is.js and 19 other locations - About 5 hrs to fix
              apps/federatedfilesharing/l10n/eu.js on lines 1..32
              apps/federatedfilesharing/l10n/nl.js on lines 1..32
              apps/files/l10n/cy_GB.js on lines 1..32
              apps/files/l10n/si_LK.js on lines 1..32
              apps/files/l10n/ta_LK.js on lines 1..32
              apps/systemtags/l10n/af_ZA.js on lines 1..32
              apps/systemtags/l10n/ast.js on lines 1..32
              apps/systemtags/l10n/cs_CZ.js on lines 1..32
              apps/systemtags/l10n/da.js on lines 1..32
              apps/systemtags/l10n/fr.js on lines 1..32
              apps/systemtags/l10n/hu_HU.js on lines 1..32
              apps/systemtags/l10n/ja.js on lines 1..32
              apps/systemtags/l10n/lb.js on lines 1..32
              apps/systemtags/l10n/nb_NO.js on lines 1..32
              apps/systemtags/l10n/nl.js on lines 1..32
              apps/systemtags/l10n/oc.js on lines 1..32
              apps/systemtags/l10n/ro.js on lines 1..32
              apps/systemtags/l10n/sl.js on lines 1..32
              apps/systemtags/l10n/uk.js on lines 1..32

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

              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