owncloud/core

View on GitHub

Showing 1,679 of 14,072 total issues

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

OC.L10N.register(
    "files_versions",
    {
    "Versions" : "نسخه‌ها",
    "Failed to revert {file} to revision {timestamp}." : "برگرداندن {file} به نسخه {timestamp} با شکست روبرو شد",
Severity: Major
Found in apps/files_versions/l10n/fa.js and 24 other locations - About 35 mins to fix
apps/files_versions/l10n/af_ZA.js on lines 1..10
apps/files_versions/l10n/bg_BG.js on lines 1..10
apps/files_versions/l10n/da.js on lines 1..10
apps/files_versions/l10n/de.js on lines 1..10
apps/files_versions/l10n/de_DE.js on lines 1..10
apps/files_versions/l10n/el.js on lines 1..10
apps/files_versions/l10n/en_GB.js on lines 1..10
apps/files_versions/l10n/es.js on lines 1..10
apps/files_versions/l10n/es_MX.js on lines 1..10
apps/files_versions/l10n/fi_FI.js on lines 1..10
apps/files_versions/l10n/fr.js on lines 1..10
apps/files_versions/l10n/gl.js on lines 1..10
apps/files_versions/l10n/hu_HU.js on lines 1..10
apps/files_versions/l10n/is.js on lines 1..10
apps/files_versions/l10n/it.js on lines 1..10
apps/files_versions/l10n/mk.js on lines 1..10
apps/files_versions/l10n/nb_NO.js on lines 1..10
apps/files_versions/l10n/nl.js on lines 1..10
apps/files_versions/l10n/nn_NO.js on lines 1..10
apps/files_versions/l10n/oc.js on lines 1..10
apps/files_versions/l10n/pt_BR.js on lines 1..10
apps/files_versions/l10n/pt_PT.js on lines 1..10
apps/files_versions/l10n/sq.js on lines 1..10
apps/files_versions/l10n/sv.js on lines 1..10

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

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

OC.L10N.register(
    "files_versions",
    {
    "Versions" : "Versioni",
    "Failed to revert {file} to revision {timestamp}." : "Ripristino di {file} alla revisione {timestamp} non riuscito.",
Severity: Major
Found in apps/files_versions/l10n/it.js and 24 other locations - About 35 mins to fix
apps/files_versions/l10n/af_ZA.js on lines 1..10
apps/files_versions/l10n/bg_BG.js on lines 1..10
apps/files_versions/l10n/da.js on lines 1..10
apps/files_versions/l10n/de.js on lines 1..10
apps/files_versions/l10n/de_DE.js on lines 1..10
apps/files_versions/l10n/el.js on lines 1..10
apps/files_versions/l10n/en_GB.js on lines 1..10
apps/files_versions/l10n/es.js on lines 1..10
apps/files_versions/l10n/es_MX.js on lines 1..10
apps/files_versions/l10n/fa.js on lines 1..10
apps/files_versions/l10n/fi_FI.js on lines 1..10
apps/files_versions/l10n/fr.js on lines 1..10
apps/files_versions/l10n/gl.js on lines 1..10
apps/files_versions/l10n/hu_HU.js on lines 1..10
apps/files_versions/l10n/is.js on lines 1..10
apps/files_versions/l10n/mk.js on lines 1..10
apps/files_versions/l10n/nb_NO.js on lines 1..10
apps/files_versions/l10n/nl.js on lines 1..10
apps/files_versions/l10n/nn_NO.js on lines 1..10
apps/files_versions/l10n/oc.js on lines 1..10
apps/files_versions/l10n/pt_BR.js on lines 1..10
apps/files_versions/l10n/pt_PT.js on lines 1..10
apps/files_versions/l10n/sq.js on lines 1..10
apps/files_versions/l10n/sv.js on lines 1..10

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

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

OC.L10N.register(
    "files_versions",
    {
    "Versions" : "Verziók",
    "Failed to revert {file} to revision {timestamp}." : "Nem sikerült a(z) {file} állományt erre visszaállítani: {timestamp}.",
Severity: Major
Found in apps/files_versions/l10n/hu_HU.js and 24 other locations - About 35 mins to fix
apps/files_versions/l10n/af_ZA.js on lines 1..10
apps/files_versions/l10n/bg_BG.js on lines 1..10
apps/files_versions/l10n/da.js on lines 1..10
apps/files_versions/l10n/de.js on lines 1..10
apps/files_versions/l10n/de_DE.js on lines 1..10
apps/files_versions/l10n/el.js on lines 1..10
apps/files_versions/l10n/en_GB.js on lines 1..10
apps/files_versions/l10n/es.js on lines 1..10
apps/files_versions/l10n/es_MX.js on lines 1..10
apps/files_versions/l10n/fa.js on lines 1..10
apps/files_versions/l10n/fi_FI.js on lines 1..10
apps/files_versions/l10n/fr.js on lines 1..10
apps/files_versions/l10n/gl.js on lines 1..10
apps/files_versions/l10n/is.js on lines 1..10
apps/files_versions/l10n/it.js on lines 1..10
apps/files_versions/l10n/mk.js on lines 1..10
apps/files_versions/l10n/nb_NO.js on lines 1..10
apps/files_versions/l10n/nl.js on lines 1..10
apps/files_versions/l10n/nn_NO.js on lines 1..10
apps/files_versions/l10n/oc.js on lines 1..10
apps/files_versions/l10n/pt_BR.js on lines 1..10
apps/files_versions/l10n/pt_PT.js on lines 1..10
apps/files_versions/l10n/sq.js on lines 1..10
apps/files_versions/l10n/sv.js on lines 1..10

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

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

OC.L10N.register(
    "files_versions",
    {
    "Versions" : "Revisiones",
    "Failed to revert {file} to revision {timestamp}." : "No se ha podido revertir {archivo} a revisión {timestamp}.",
Severity: Major
Found in apps/files_versions/l10n/es_MX.js and 24 other locations - About 35 mins to fix
apps/files_versions/l10n/af_ZA.js on lines 1..10
apps/files_versions/l10n/bg_BG.js on lines 1..10
apps/files_versions/l10n/da.js on lines 1..10
apps/files_versions/l10n/de.js on lines 1..10
apps/files_versions/l10n/de_DE.js on lines 1..10
apps/files_versions/l10n/el.js on lines 1..10
apps/files_versions/l10n/en_GB.js on lines 1..10
apps/files_versions/l10n/es.js on lines 1..10
apps/files_versions/l10n/fa.js on lines 1..10
apps/files_versions/l10n/fi_FI.js on lines 1..10
apps/files_versions/l10n/fr.js on lines 1..10
apps/files_versions/l10n/gl.js on lines 1..10
apps/files_versions/l10n/hu_HU.js on lines 1..10
apps/files_versions/l10n/is.js on lines 1..10
apps/files_versions/l10n/it.js on lines 1..10
apps/files_versions/l10n/mk.js on lines 1..10
apps/files_versions/l10n/nb_NO.js on lines 1..10
apps/files_versions/l10n/nl.js on lines 1..10
apps/files_versions/l10n/nn_NO.js on lines 1..10
apps/files_versions/l10n/oc.js on lines 1..10
apps/files_versions/l10n/pt_BR.js on lines 1..10
apps/files_versions/l10n/pt_PT.js on lines 1..10
apps/files_versions/l10n/sq.js on lines 1..10
apps/files_versions/l10n/sv.js on lines 1..10

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

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

OC.L10N.register(
    "files_versions",
    {
    "Versions" : "Revisiones",
    "Failed to revert {file} to revision {timestamp}." : "No se ha podido revertir {archivo} a revisión {timestamp}.",
Severity: Major
Found in apps/files_versions/l10n/es.js and 24 other locations - About 35 mins to fix
apps/files_versions/l10n/af_ZA.js on lines 1..10
apps/files_versions/l10n/bg_BG.js on lines 1..10
apps/files_versions/l10n/da.js on lines 1..10
apps/files_versions/l10n/de.js on lines 1..10
apps/files_versions/l10n/de_DE.js on lines 1..10
apps/files_versions/l10n/el.js on lines 1..10
apps/files_versions/l10n/en_GB.js on lines 1..10
apps/files_versions/l10n/es_MX.js on lines 1..10
apps/files_versions/l10n/fa.js on lines 1..10
apps/files_versions/l10n/fi_FI.js on lines 1..10
apps/files_versions/l10n/fr.js on lines 1..10
apps/files_versions/l10n/gl.js on lines 1..10
apps/files_versions/l10n/hu_HU.js on lines 1..10
apps/files_versions/l10n/is.js on lines 1..10
apps/files_versions/l10n/it.js on lines 1..10
apps/files_versions/l10n/mk.js on lines 1..10
apps/files_versions/l10n/nb_NO.js on lines 1..10
apps/files_versions/l10n/nl.js on lines 1..10
apps/files_versions/l10n/nn_NO.js on lines 1..10
apps/files_versions/l10n/oc.js on lines 1..10
apps/files_versions/l10n/pt_BR.js on lines 1..10
apps/files_versions/l10n/pt_PT.js on lines 1..10
apps/files_versions/l10n/sq.js on lines 1..10
apps/files_versions/l10n/sv.js on lines 1..10

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

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

OC.L10N.register(
    "files_versions",
    {
    "Versions" : "Версии",
    "Failed to revert {file} to revision {timestamp}." : "Грешка при връщане на {file} към версия {timestamp}.",
Severity: Major
Found in apps/files_versions/l10n/bg_BG.js and 24 other locations - About 35 mins to fix
apps/files_versions/l10n/af_ZA.js on lines 1..10
apps/files_versions/l10n/da.js on lines 1..10
apps/files_versions/l10n/de.js on lines 1..10
apps/files_versions/l10n/de_DE.js on lines 1..10
apps/files_versions/l10n/el.js on lines 1..10
apps/files_versions/l10n/en_GB.js on lines 1..10
apps/files_versions/l10n/es.js on lines 1..10
apps/files_versions/l10n/es_MX.js on lines 1..10
apps/files_versions/l10n/fa.js on lines 1..10
apps/files_versions/l10n/fi_FI.js on lines 1..10
apps/files_versions/l10n/fr.js on lines 1..10
apps/files_versions/l10n/gl.js on lines 1..10
apps/files_versions/l10n/hu_HU.js on lines 1..10
apps/files_versions/l10n/is.js on lines 1..10
apps/files_versions/l10n/it.js on lines 1..10
apps/files_versions/l10n/mk.js on lines 1..10
apps/files_versions/l10n/nb_NO.js on lines 1..10
apps/files_versions/l10n/nl.js on lines 1..10
apps/files_versions/l10n/nn_NO.js on lines 1..10
apps/files_versions/l10n/oc.js on lines 1..10
apps/files_versions/l10n/pt_BR.js on lines 1..10
apps/files_versions/l10n/pt_PT.js on lines 1..10
apps/files_versions/l10n/sq.js on lines 1..10
apps/files_versions/l10n/sv.js on lines 1..10

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

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

OC.L10N.register(
    "files_versions",
    {
    "Versions" : "Versões",
    "Failed to revert {file} to revision {timestamp}." : "Falha ao reverter {file} para a revisão {timestamp}.",
Severity: Major
Found in apps/files_versions/l10n/pt_BR.js and 24 other locations - About 35 mins to fix
apps/files_versions/l10n/af_ZA.js on lines 1..10
apps/files_versions/l10n/bg_BG.js on lines 1..10
apps/files_versions/l10n/da.js on lines 1..10
apps/files_versions/l10n/de.js on lines 1..10
apps/files_versions/l10n/de_DE.js on lines 1..10
apps/files_versions/l10n/el.js on lines 1..10
apps/files_versions/l10n/en_GB.js on lines 1..10
apps/files_versions/l10n/es.js on lines 1..10
apps/files_versions/l10n/es_MX.js on lines 1..10
apps/files_versions/l10n/fa.js on lines 1..10
apps/files_versions/l10n/fi_FI.js on lines 1..10
apps/files_versions/l10n/fr.js on lines 1..10
apps/files_versions/l10n/gl.js on lines 1..10
apps/files_versions/l10n/hu_HU.js on lines 1..10
apps/files_versions/l10n/is.js on lines 1..10
apps/files_versions/l10n/it.js on lines 1..10
apps/files_versions/l10n/mk.js on lines 1..10
apps/files_versions/l10n/nb_NO.js on lines 1..10
apps/files_versions/l10n/nl.js on lines 1..10
apps/files_versions/l10n/nn_NO.js on lines 1..10
apps/files_versions/l10n/oc.js on lines 1..10
apps/files_versions/l10n/pt_PT.js on lines 1..10
apps/files_versions/l10n/sq.js on lines 1..10
apps/files_versions/l10n/sv.js on lines 1..10

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

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

OC.L10N.register(
    "files_versions",
    {
    "Versions" : "Versionen",
    "Failed to revert {file} to revision {timestamp}." : "Konnte {file} der Revision {timestamp} nicht rückgängig machen.",
Severity: Major
Found in apps/files_versions/l10n/de_DE.js and 24 other locations - About 35 mins to fix
apps/files_versions/l10n/af_ZA.js on lines 1..10
apps/files_versions/l10n/bg_BG.js on lines 1..10
apps/files_versions/l10n/da.js on lines 1..10
apps/files_versions/l10n/de.js on lines 1..10
apps/files_versions/l10n/el.js on lines 1..10
apps/files_versions/l10n/en_GB.js on lines 1..10
apps/files_versions/l10n/es.js on lines 1..10
apps/files_versions/l10n/es_MX.js on lines 1..10
apps/files_versions/l10n/fa.js on lines 1..10
apps/files_versions/l10n/fi_FI.js on lines 1..10
apps/files_versions/l10n/fr.js on lines 1..10
apps/files_versions/l10n/gl.js on lines 1..10
apps/files_versions/l10n/hu_HU.js on lines 1..10
apps/files_versions/l10n/is.js on lines 1..10
apps/files_versions/l10n/it.js on lines 1..10
apps/files_versions/l10n/mk.js on lines 1..10
apps/files_versions/l10n/nb_NO.js on lines 1..10
apps/files_versions/l10n/nl.js on lines 1..10
apps/files_versions/l10n/nn_NO.js on lines 1..10
apps/files_versions/l10n/oc.js on lines 1..10
apps/files_versions/l10n/pt_BR.js on lines 1..10
apps/files_versions/l10n/pt_PT.js on lines 1..10
apps/files_versions/l10n/sq.js on lines 1..10
apps/files_versions/l10n/sv.js on lines 1..10

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

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

OC.L10N.register(
    "files_versions",
    {
    "Versions" : "Utgåver",
    "Failed to revert {file} to revision {timestamp}." : "Klarte ikkje å tilbakestilla {file} til utgåva {timestamp}.",
Severity: Major
Found in apps/files_versions/l10n/nn_NO.js and 24 other locations - About 35 mins to fix
apps/files_versions/l10n/af_ZA.js on lines 1..10
apps/files_versions/l10n/bg_BG.js on lines 1..10
apps/files_versions/l10n/da.js on lines 1..10
apps/files_versions/l10n/de.js on lines 1..10
apps/files_versions/l10n/de_DE.js on lines 1..10
apps/files_versions/l10n/el.js on lines 1..10
apps/files_versions/l10n/en_GB.js on lines 1..10
apps/files_versions/l10n/es.js on lines 1..10
apps/files_versions/l10n/es_MX.js on lines 1..10
apps/files_versions/l10n/fa.js on lines 1..10
apps/files_versions/l10n/fi_FI.js on lines 1..10
apps/files_versions/l10n/fr.js on lines 1..10
apps/files_versions/l10n/gl.js on lines 1..10
apps/files_versions/l10n/hu_HU.js on lines 1..10
apps/files_versions/l10n/is.js on lines 1..10
apps/files_versions/l10n/it.js on lines 1..10
apps/files_versions/l10n/mk.js on lines 1..10
apps/files_versions/l10n/nb_NO.js on lines 1..10
apps/files_versions/l10n/nl.js on lines 1..10
apps/files_versions/l10n/oc.js on lines 1..10
apps/files_versions/l10n/pt_BR.js on lines 1..10
apps/files_versions/l10n/pt_PT.js on lines 1..10
apps/files_versions/l10n/sq.js on lines 1..10
apps/files_versions/l10n/sv.js on lines 1..10

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

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

OC.L10N.register(
    "files_versions",
    {
    "Versions" : "Versioner",
    "Failed to revert {file} to revision {timestamp}." : "Kunne ikke tilbagerulle {file} til den tidligere udgave: {timestamp}.",
Severity: Major
Found in apps/files_versions/l10n/da.js and 24 other locations - About 35 mins to fix
apps/files_versions/l10n/af_ZA.js on lines 1..10
apps/files_versions/l10n/bg_BG.js on lines 1..10
apps/files_versions/l10n/de.js on lines 1..10
apps/files_versions/l10n/de_DE.js on lines 1..10
apps/files_versions/l10n/el.js on lines 1..10
apps/files_versions/l10n/en_GB.js on lines 1..10
apps/files_versions/l10n/es.js on lines 1..10
apps/files_versions/l10n/es_MX.js on lines 1..10
apps/files_versions/l10n/fa.js on lines 1..10
apps/files_versions/l10n/fi_FI.js on lines 1..10
apps/files_versions/l10n/fr.js on lines 1..10
apps/files_versions/l10n/gl.js on lines 1..10
apps/files_versions/l10n/hu_HU.js on lines 1..10
apps/files_versions/l10n/is.js on lines 1..10
apps/files_versions/l10n/it.js on lines 1..10
apps/files_versions/l10n/mk.js on lines 1..10
apps/files_versions/l10n/nb_NO.js on lines 1..10
apps/files_versions/l10n/nl.js on lines 1..10
apps/files_versions/l10n/nn_NO.js on lines 1..10
apps/files_versions/l10n/oc.js on lines 1..10
apps/files_versions/l10n/pt_BR.js on lines 1..10
apps/files_versions/l10n/pt_PT.js on lines 1..10
apps/files_versions/l10n/sq.js on lines 1..10
apps/files_versions/l10n/sv.js on lines 1..10

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

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

OC.L10N.register(
    "files_versions",
    {
    "Versions" : "Верзии",
    "Failed to revert {file} to revision {timestamp}." : "Не успеав да го вратам {file} на ревизијата {timestamp}.",
Severity: Major
Found in apps/files_versions/l10n/mk.js and 24 other locations - About 35 mins to fix
apps/files_versions/l10n/af_ZA.js on lines 1..10
apps/files_versions/l10n/bg_BG.js on lines 1..10
apps/files_versions/l10n/da.js on lines 1..10
apps/files_versions/l10n/de.js on lines 1..10
apps/files_versions/l10n/de_DE.js on lines 1..10
apps/files_versions/l10n/el.js on lines 1..10
apps/files_versions/l10n/en_GB.js on lines 1..10
apps/files_versions/l10n/es.js on lines 1..10
apps/files_versions/l10n/es_MX.js on lines 1..10
apps/files_versions/l10n/fa.js on lines 1..10
apps/files_versions/l10n/fi_FI.js on lines 1..10
apps/files_versions/l10n/fr.js on lines 1..10
apps/files_versions/l10n/gl.js on lines 1..10
apps/files_versions/l10n/hu_HU.js on lines 1..10
apps/files_versions/l10n/is.js on lines 1..10
apps/files_versions/l10n/it.js on lines 1..10
apps/files_versions/l10n/nb_NO.js on lines 1..10
apps/files_versions/l10n/nl.js on lines 1..10
apps/files_versions/l10n/nn_NO.js on lines 1..10
apps/files_versions/l10n/oc.js on lines 1..10
apps/files_versions/l10n/pt_BR.js on lines 1..10
apps/files_versions/l10n/pt_PT.js on lines 1..10
apps/files_versions/l10n/sq.js on lines 1..10
apps/files_versions/l10n/sv.js on lines 1..10

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

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

OC.L10N.register(
    "files_versions",
    {
    "Versions" : "Versionen",
    "Failed to revert {file} to revision {timestamp}." : "Konnte {file} der Revision {timestamp} nicht rückgängig machen.",
Severity: Major
Found in apps/files_versions/l10n/de.js and 24 other locations - About 35 mins to fix
apps/files_versions/l10n/af_ZA.js on lines 1..10
apps/files_versions/l10n/bg_BG.js on lines 1..10
apps/files_versions/l10n/da.js on lines 1..10
apps/files_versions/l10n/de_DE.js on lines 1..10
apps/files_versions/l10n/el.js on lines 1..10
apps/files_versions/l10n/en_GB.js on lines 1..10
apps/files_versions/l10n/es.js on lines 1..10
apps/files_versions/l10n/es_MX.js on lines 1..10
apps/files_versions/l10n/fa.js on lines 1..10
apps/files_versions/l10n/fi_FI.js on lines 1..10
apps/files_versions/l10n/fr.js on lines 1..10
apps/files_versions/l10n/gl.js on lines 1..10
apps/files_versions/l10n/hu_HU.js on lines 1..10
apps/files_versions/l10n/is.js on lines 1..10
apps/files_versions/l10n/it.js on lines 1..10
apps/files_versions/l10n/mk.js on lines 1..10
apps/files_versions/l10n/nb_NO.js on lines 1..10
apps/files_versions/l10n/nl.js on lines 1..10
apps/files_versions/l10n/nn_NO.js on lines 1..10
apps/files_versions/l10n/oc.js on lines 1..10
apps/files_versions/l10n/pt_BR.js on lines 1..10
apps/files_versions/l10n/pt_PT.js on lines 1..10
apps/files_versions/l10n/sq.js on lines 1..10
apps/files_versions/l10n/sv.js on lines 1..10

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

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

OC.L10N.register(
    "files_versions",
    {
    "Versions" : "Útgáfur",
    "Failed to revert {file} to revision {timestamp}." : "Mistókst að endurheimta {file} útgáfu {timestamp}.",
Severity: Major
Found in apps/files_versions/l10n/is.js and 24 other locations - About 35 mins to fix
apps/files_versions/l10n/af_ZA.js on lines 1..10
apps/files_versions/l10n/bg_BG.js on lines 1..10
apps/files_versions/l10n/da.js on lines 1..10
apps/files_versions/l10n/de.js on lines 1..10
apps/files_versions/l10n/de_DE.js on lines 1..10
apps/files_versions/l10n/el.js on lines 1..10
apps/files_versions/l10n/en_GB.js on lines 1..10
apps/files_versions/l10n/es.js on lines 1..10
apps/files_versions/l10n/es_MX.js on lines 1..10
apps/files_versions/l10n/fa.js on lines 1..10
apps/files_versions/l10n/fi_FI.js on lines 1..10
apps/files_versions/l10n/fr.js on lines 1..10
apps/files_versions/l10n/gl.js on lines 1..10
apps/files_versions/l10n/hu_HU.js on lines 1..10
apps/files_versions/l10n/it.js on lines 1..10
apps/files_versions/l10n/mk.js on lines 1..10
apps/files_versions/l10n/nb_NO.js on lines 1..10
apps/files_versions/l10n/nl.js on lines 1..10
apps/files_versions/l10n/nn_NO.js on lines 1..10
apps/files_versions/l10n/oc.js on lines 1..10
apps/files_versions/l10n/pt_BR.js on lines 1..10
apps/files_versions/l10n/pt_PT.js on lines 1..10
apps/files_versions/l10n/sq.js on lines 1..10
apps/files_versions/l10n/sv.js on lines 1..10

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

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

Identical blocks of code found in 3 locations. Consider refactoring.
Open

            if (this._detailsView && !this._detailsView.$el.hasClass('disappear')) {
                // hide sidebar
                this._updateDetailsView(null);
            }
Severity: Minor
Found in apps/files/js/filelist.js and 2 other locations - About 35 mins to fix
apps/files/js/filelist.js on lines 610..613
apps/files/js/filelist.js on lines 697..700

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

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

Identical blocks of code found in 3 locations. Consider refactoring.
Open

            if (this._detailsView && !this._detailsView.$el.hasClass('disappear')) {
                // hide sidebar
                this._updateDetailsView(null);
            }
Severity: Minor
Found in apps/files/js/filelist.js and 2 other locations - About 35 mins to fix
apps/files/js/filelist.js on lines 610..613
apps/files/js/filelist.js on lines 725..728

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

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

Identical blocks of code found in 3 locations. Consider refactoring.
Open

            if (this._detailsView && !this._detailsView.$el.hasClass('disappear')) {
                // hide sidebar
                this._updateDetailsView(null);
            }
Severity: Minor
Found in apps/files/js/filelist.js and 2 other locations - About 35 mins to fix
apps/files/js/filelist.js on lines 697..700
apps/files/js/filelist.js on lines 725..728

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

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

Identical blocks of code found in 2 locations. Consider refactoring.
Open

OC.L10N.register(
    "files",
    {
    "_%n folder_::_%n folders_" : [""],
    "_%n file_::_%n files_" : [""],
Severity: Minor
Found in apps/files/l10n/su.js and 1 other location - About 35 mins to fix
apps/files/l10n/nqo.js on lines 1..9

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

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

    removeSharingLinks: function() {
        if (this._linkFileList) {
            this._linkFileList.destroy();
            this._linkFileList = null;
        }
Severity: Minor
Found in apps/files_sharing/js/app.js and 2 other locations - About 35 mins to fix
apps/files_sharing/js/app.js on lines 100..105
apps/files_sharing/js/app.js on lines 107..112

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

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

    removeSharingIn: function() {
        if (this._inFileList) {
            this._inFileList.destroy();
            this._inFileList = null;
        }
Severity: Minor
Found in apps/files_sharing/js/app.js and 2 other locations - About 35 mins to fix
apps/files_sharing/js/app.js on lines 107..112
apps/files_sharing/js/app.js on lines 114..119

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

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

Identical blocks of code found in 2 locations. Consider refactoring.
Open

OC.L10N.register(
    "files",
    {
    "_%n folder_::_%n folders_" : [""],
    "_%n file_::_%n files_" : [""],
Severity: Minor
Found in apps/files/l10n/nqo.js and 1 other location - About 35 mins to fix
apps/files/l10n/su.js on lines 1..9

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

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