owncloud/core

View on GitHub

Showing 6,232 of 6,232 total issues

File YouTube.php has 10113 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php
/*
 * Copyright 2010 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not

    File Analytics.php has 8305 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    /*
     * Copyright 2010 Google Inc.
     *
     * Licensed under the Apache License, Version 2.0 (the "License"); you may not

      File ShoppingContent.php has 7970 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      <?php
      /*
       * Copyright 2010 Google Inc.
       *
       * Licensed under the Apache License, Version 2.0 (the "License"); you may not

        File Games.php has 6253 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        <?php
        /*
         * Copyright 2010 Google Inc.
         *
         * Licensed under the Apache License, Version 2.0 (the "License"); you may not

          File Books.php has 5941 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          <?php
          /*
           * Copyright 2010 Google Inc.
           *
           * Licensed under the Apache License, Version 2.0 (the "License"); you may not

            File Directory.php has 5817 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            <?php
            /*
             * Copyright 2010 Google Inc.
             *
             * Licensed under the Apache License, Version 2.0 (the "License"); you may not

              File AdExchangeBuyer.php has 5743 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              <?php
              /*
               * Copyright 2010 Google Inc.
               *
               * Licensed under the Apache License, Version 2.0 (the "License"); you may not

                File MapsEngine.php has 4928 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                <?php
                /*
                 * Copyright 2010 Google Inc.
                 *
                 * Licensed under the Apache License, Version 2.0 (the "License"); you may not

                  File Drive.php has 4719 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  <?php
                  /*
                   * Copyright 2010 Google Inc.
                   *
                   * Licensed under the Apache License, Version 2.0 (the "License"); you may not

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

                    OC.L10N.register(
                        "settings",
                        {
                        "Wrong current password" : "O contrasinal actual é incorrecto",
                        "The new password cannot be the same as the previous one" : "O novo contrasinal non pode ser o mesmo que o anterior",
                    Severity: Major
                    Found in settings/l10n/gl.js and 6 other locations - About 1 wk to fix
                    settings/l10n/de.js on lines 1..386
                    settings/l10n/de_DE.js on lines 1..386
                    settings/l10n/he.js on lines 1..386
                    settings/l10n/pt_BR.js on lines 1..386
                    settings/l10n/ru.js on lines 1..386
                    settings/l10n/sq.js on lines 1..386

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

                    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 7 locations. 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: Major
                    Found in settings/l10n/de.js and 6 other locations - About 1 wk to fix
                    settings/l10n/de_DE.js on lines 1..386
                    settings/l10n/gl.js on lines 1..386
                    settings/l10n/he.js on lines 1..386
                    settings/l10n/pt_BR.js on lines 1..386
                    settings/l10n/ru.js on lines 1..386
                    settings/l10n/sq.js on lines 1..386

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

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

                    OC.L10N.register(
                        "settings",
                        {
                        "Wrong current password" : "Старый пароль неверен",
                        "The new password cannot be the same as the previous one" : "Новый пароль не совпадать с предыдущим",
                    Severity: Major
                    Found in settings/l10n/ru.js and 6 other locations - About 1 wk to fix
                    settings/l10n/de.js on lines 1..386
                    settings/l10n/de_DE.js on lines 1..386
                    settings/l10n/gl.js on lines 1..386
                    settings/l10n/he.js on lines 1..386
                    settings/l10n/pt_BR.js on lines 1..386
                    settings/l10n/sq.js on lines 1..386

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

                    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 7 locations. 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: Major
                    Found in settings/l10n/de_DE.js and 6 other locations - About 1 wk to fix
                    settings/l10n/de.js on lines 1..386
                    settings/l10n/gl.js on lines 1..386
                    settings/l10n/he.js on lines 1..386
                    settings/l10n/pt_BR.js on lines 1..386
                    settings/l10n/ru.js on lines 1..386
                    settings/l10n/sq.js on lines 1..386

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

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

                    OC.L10N.register(
                        "settings",
                        {
                        "Wrong current password" : "סיסמא נוכחית שגויה",
                        "The new password cannot be the same as the previous one" : "הסיסמא החדשה אינה יכולה להיות זהה לסיסמא הקודמת",
                    Severity: Major
                    Found in settings/l10n/he.js and 6 other locations - About 1 wk to fix
                    settings/l10n/de.js on lines 1..386
                    settings/l10n/de_DE.js on lines 1..386
                    settings/l10n/gl.js on lines 1..386
                    settings/l10n/pt_BR.js on lines 1..386
                    settings/l10n/ru.js on lines 1..386
                    settings/l10n/sq.js on lines 1..386

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

                    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 7 locations. 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: Major
                    Found in settings/l10n/sq.js and 6 other locations - About 1 wk to fix
                    settings/l10n/de.js on lines 1..386
                    settings/l10n/de_DE.js on lines 1..386
                    settings/l10n/gl.js on lines 1..386
                    settings/l10n/he.js on lines 1..386
                    settings/l10n/pt_BR.js on lines 1..386
                    settings/l10n/ru.js on lines 1..386

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

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

                    OC.L10N.register(
                        "settings",
                        {
                        "Wrong current password" : "Senha atual incorreta",
                        "The new password cannot be the same as the previous one" : "A nova senha não pode ser a mesma que a anterior",
                    Severity: Major
                    Found in settings/l10n/pt_BR.js and 6 other locations - About 1 wk to fix
                    settings/l10n/de.js on lines 1..386
                    settings/l10n/de_DE.js on lines 1..386
                    settings/l10n/gl.js on lines 1..386
                    settings/l10n/he.js on lines 1..386
                    settings/l10n/ru.js on lines 1..386
                    settings/l10n/sq.js on lines 1..386

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

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

                    OC.L10N.register(
                        "settings",
                        {
                        "Wrong current password" : "Contraseña actual equivocada",
                        "The new password cannot be the same as the previous one" : "La contraseña nueva no puede ser igual a la anterior",
                    Severity: Major
                    Found in settings/l10n/es.js and 2 other locations - About 1 wk to fix
                    settings/l10n/el.js on lines 1..384
                    settings/l10n/th_TH.js on lines 1..384

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

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

                    OC.L10N.register(
                        "settings",
                        {
                        "Wrong current password" : "Εσφαλμένο τρέχον συνθηματικό",
                        "The new password cannot be the same as the previous one" : "Το νέο συνθηματικό δεν πρέπει να είναι το ίδιο με το προηγούμενο",
                    Severity: Major
                    Found in settings/l10n/el.js and 2 other locations - About 1 wk to fix
                    settings/l10n/es.js on lines 1..384
                    settings/l10n/th_TH.js on lines 1..384

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

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

                    OC.L10N.register(
                        "settings",
                        {
                        "Wrong current password" : "รหัสผ่านปัจจุบันไม่ถูกต้อง",
                        "The new password cannot be the same as the previous one" : "รหัสผ่านใหม่ต้องไม่ซ้ำกับรหัสเดิมที่เคยใช้มาก่อน",
                    Severity: Major
                    Found in settings/l10n/th_TH.js and 2 other locations - About 1 wk to fix
                    settings/l10n/el.js on lines 1..384
                    settings/l10n/es.js on lines 1..384

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

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

                    OC.L10N.register(
                        "settings",
                        {
                        "Wrong current password" : "密码错误",
                        "The new password cannot be the same as the previous one" : "新密码不能和之前的密码相同",
                    Severity: Major
                    Found in settings/l10n/zh_CN.js and 1 other location - About 1 wk to fix
                    settings/l10n/cs_CZ.js on lines 1..368

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

                    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