owncloud/core

View on GitHub

Showing 4,504 of 4,504 total issues

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

OC.L10N.register(
    "federatedfilesharing",
    {
    "Federated sharing" : "Compartido federado",
    "Add to" : "Añadir a ",
Severity: Major
Found in apps/federatedfilesharing/l10n/es.js and 19 other locations - About 6 hrs to fix
apps/federatedfilesharing/l10n/bg_BG.js on lines 1..36
apps/federatedfilesharing/l10n/de.js on lines 1..36
apps/federatedfilesharing/l10n/de_DE.js on lines 1..36
apps/federatedfilesharing/l10n/el.js on lines 1..36
apps/federatedfilesharing/l10n/en_GB.js on lines 1..36
apps/federatedfilesharing/l10n/fr.js on lines 1..36
apps/federatedfilesharing/l10n/it.js on lines 1..36
apps/federatedfilesharing/l10n/ko.js on lines 1..36
apps/federatedfilesharing/l10n/pt_BR.js on lines 1..36
apps/federatedfilesharing/l10n/ru.js on lines 1..36
apps/federatedfilesharing/l10n/ru_RU.js on lines 1..36
apps/federatedfilesharing/l10n/sq.js on lines 1..36
apps/federatedfilesharing/l10n/th_TH.js on lines 1..36
apps/federatedfilesharing/l10n/tr.js on lines 1..36
apps/federatedfilesharing/l10n/ug.js on lines 1..36
apps/federatedfilesharing/l10n/zh_CN.js on lines 1..36
apps/federatedfilesharing/l10n/zh_TW.js on lines 1..36
apps/files_external/l10n/lv.js on lines 1..36
lib/l10n/ug.js on lines 1..36

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

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(
    "lib",
    {
    "Unknown filetype" : "نامەلۇم ھۆججەت تىپى",
    "Invalid image" : "سۈرەت ئىناۋەتسىز",
Severity: Major
Found in lib/l10n/ug.js and 19 other locations - About 6 hrs to fix
apps/federatedfilesharing/l10n/bg_BG.js on lines 1..36
apps/federatedfilesharing/l10n/de.js on lines 1..36
apps/federatedfilesharing/l10n/de_DE.js on lines 1..36
apps/federatedfilesharing/l10n/el.js on lines 1..36
apps/federatedfilesharing/l10n/en_GB.js on lines 1..36
apps/federatedfilesharing/l10n/es.js on lines 1..36
apps/federatedfilesharing/l10n/fr.js on lines 1..36
apps/federatedfilesharing/l10n/it.js on lines 1..36
apps/federatedfilesharing/l10n/ko.js on lines 1..36
apps/federatedfilesharing/l10n/pt_BR.js on lines 1..36
apps/federatedfilesharing/l10n/ru.js on lines 1..36
apps/federatedfilesharing/l10n/ru_RU.js on lines 1..36
apps/federatedfilesharing/l10n/sq.js on lines 1..36
apps/federatedfilesharing/l10n/th_TH.js on lines 1..36
apps/federatedfilesharing/l10n/tr.js on lines 1..36
apps/federatedfilesharing/l10n/ug.js on lines 1..36
apps/federatedfilesharing/l10n/zh_CN.js on lines 1..36
apps/federatedfilesharing/l10n/zh_TW.js on lines 1..36
apps/files_external/l10n/lv.js on lines 1..36

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

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" : "فېدىراتسىيەلىك ھەمبەھىرلەش",
    "Add to" : "غا قېتىش",
Severity: Major
Found in apps/federatedfilesharing/l10n/ug.js and 19 other locations - About 6 hrs to fix
apps/federatedfilesharing/l10n/bg_BG.js on lines 1..36
apps/federatedfilesharing/l10n/de.js on lines 1..36
apps/federatedfilesharing/l10n/de_DE.js on lines 1..36
apps/federatedfilesharing/l10n/el.js on lines 1..36
apps/federatedfilesharing/l10n/en_GB.js on lines 1..36
apps/federatedfilesharing/l10n/es.js on lines 1..36
apps/federatedfilesharing/l10n/fr.js on lines 1..36
apps/federatedfilesharing/l10n/it.js on lines 1..36
apps/federatedfilesharing/l10n/ko.js on lines 1..36
apps/federatedfilesharing/l10n/pt_BR.js on lines 1..36
apps/federatedfilesharing/l10n/ru.js on lines 1..36
apps/federatedfilesharing/l10n/ru_RU.js on lines 1..36
apps/federatedfilesharing/l10n/sq.js on lines 1..36
apps/federatedfilesharing/l10n/th_TH.js on lines 1..36
apps/federatedfilesharing/l10n/tr.js on lines 1..36
apps/federatedfilesharing/l10n/zh_CN.js on lines 1..36
apps/federatedfilesharing/l10n/zh_TW.js on lines 1..36
apps/files_external/l10n/lv.js on lines 1..36
lib/l10n/ug.js on lines 1..36

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

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" : "联合云共享",
    "Add to" : "添加",
Severity: Major
Found in apps/federatedfilesharing/l10n/zh_CN.js and 19 other locations - About 6 hrs to fix
apps/federatedfilesharing/l10n/bg_BG.js on lines 1..36
apps/federatedfilesharing/l10n/de.js on lines 1..36
apps/federatedfilesharing/l10n/de_DE.js on lines 1..36
apps/federatedfilesharing/l10n/el.js on lines 1..36
apps/federatedfilesharing/l10n/en_GB.js on lines 1..36
apps/federatedfilesharing/l10n/es.js on lines 1..36
apps/federatedfilesharing/l10n/fr.js on lines 1..36
apps/federatedfilesharing/l10n/it.js on lines 1..36
apps/federatedfilesharing/l10n/ko.js on lines 1..36
apps/federatedfilesharing/l10n/pt_BR.js on lines 1..36
apps/federatedfilesharing/l10n/ru.js on lines 1..36
apps/federatedfilesharing/l10n/ru_RU.js on lines 1..36
apps/federatedfilesharing/l10n/sq.js on lines 1..36
apps/federatedfilesharing/l10n/th_TH.js on lines 1..36
apps/federatedfilesharing/l10n/tr.js on lines 1..36
apps/federatedfilesharing/l10n/ug.js on lines 1..36
apps/federatedfilesharing/l10n/zh_TW.js on lines 1..36
apps/files_external/l10n/lv.js on lines 1..36
lib/l10n/ug.js on lines 1..36

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

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" : "Birleşmiş paylaşım",
    "Add to" : "Ekle:",
Severity: Major
Found in apps/federatedfilesharing/l10n/tr.js and 19 other locations - About 6 hrs to fix
apps/federatedfilesharing/l10n/bg_BG.js on lines 1..36
apps/federatedfilesharing/l10n/de.js on lines 1..36
apps/federatedfilesharing/l10n/de_DE.js on lines 1..36
apps/federatedfilesharing/l10n/el.js on lines 1..36
apps/federatedfilesharing/l10n/en_GB.js on lines 1..36
apps/federatedfilesharing/l10n/es.js on lines 1..36
apps/federatedfilesharing/l10n/fr.js on lines 1..36
apps/federatedfilesharing/l10n/it.js on lines 1..36
apps/federatedfilesharing/l10n/ko.js on lines 1..36
apps/federatedfilesharing/l10n/pt_BR.js on lines 1..36
apps/federatedfilesharing/l10n/ru.js on lines 1..36
apps/federatedfilesharing/l10n/ru_RU.js on lines 1..36
apps/federatedfilesharing/l10n/sq.js on lines 1..36
apps/federatedfilesharing/l10n/th_TH.js on lines 1..36
apps/federatedfilesharing/l10n/ug.js on lines 1..36
apps/federatedfilesharing/l10n/zh_CN.js on lines 1..36
apps/federatedfilesharing/l10n/zh_TW.js on lines 1..36
apps/files_external/l10n/lv.js on lines 1..36
lib/l10n/ug.js on lines 1..36

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

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(
    "files_external",
    {
    "Step 1 failed. Exception: %s" : "Pirmais solis neizdevās. Izņēmums: %s",
    "Step 2 failed. Exception: %s" : "Otrais solis neizdevās. Izņēmums: %s",
Severity: Major
Found in apps/files_external/l10n/lv.js and 19 other locations - About 6 hrs to fix
apps/federatedfilesharing/l10n/bg_BG.js on lines 1..36
apps/federatedfilesharing/l10n/de.js on lines 1..36
apps/federatedfilesharing/l10n/de_DE.js on lines 1..36
apps/federatedfilesharing/l10n/el.js on lines 1..36
apps/federatedfilesharing/l10n/en_GB.js on lines 1..36
apps/federatedfilesharing/l10n/es.js on lines 1..36
apps/federatedfilesharing/l10n/fr.js on lines 1..36
apps/federatedfilesharing/l10n/it.js on lines 1..36
apps/federatedfilesharing/l10n/ko.js on lines 1..36
apps/federatedfilesharing/l10n/pt_BR.js on lines 1..36
apps/federatedfilesharing/l10n/ru.js on lines 1..36
apps/federatedfilesharing/l10n/ru_RU.js on lines 1..36
apps/federatedfilesharing/l10n/sq.js on lines 1..36
apps/federatedfilesharing/l10n/th_TH.js on lines 1..36
apps/federatedfilesharing/l10n/tr.js on lines 1..36
apps/federatedfilesharing/l10n/ug.js on lines 1..36
apps/federatedfilesharing/l10n/zh_CN.js on lines 1..36
apps/federatedfilesharing/l10n/zh_TW.js on lines 1..36
lib/l10n/ug.js on lines 1..36

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

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" : "연합 공유",
    "Add to" : "다음에 추가",
Severity: Major
Found in apps/federatedfilesharing/l10n/ko.js and 19 other locations - About 6 hrs to fix
apps/federatedfilesharing/l10n/bg_BG.js on lines 1..36
apps/federatedfilesharing/l10n/de.js on lines 1..36
apps/federatedfilesharing/l10n/de_DE.js on lines 1..36
apps/federatedfilesharing/l10n/el.js on lines 1..36
apps/federatedfilesharing/l10n/en_GB.js on lines 1..36
apps/federatedfilesharing/l10n/es.js on lines 1..36
apps/federatedfilesharing/l10n/fr.js on lines 1..36
apps/federatedfilesharing/l10n/it.js on lines 1..36
apps/federatedfilesharing/l10n/pt_BR.js on lines 1..36
apps/federatedfilesharing/l10n/ru.js on lines 1..36
apps/federatedfilesharing/l10n/ru_RU.js on lines 1..36
apps/federatedfilesharing/l10n/sq.js on lines 1..36
apps/federatedfilesharing/l10n/th_TH.js on lines 1..36
apps/federatedfilesharing/l10n/tr.js on lines 1..36
apps/federatedfilesharing/l10n/ug.js on lines 1..36
apps/federatedfilesharing/l10n/zh_CN.js on lines 1..36
apps/federatedfilesharing/l10n/zh_TW.js on lines 1..36
apps/files_external/l10n/lv.js on lines 1..36
lib/l10n/ug.js on lines 1..36

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

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" : "聯合分享",
    "Add to" : "增加到",
Severity: Major
Found in apps/federatedfilesharing/l10n/zh_TW.js and 19 other locations - About 6 hrs to fix
apps/federatedfilesharing/l10n/bg_BG.js on lines 1..36
apps/federatedfilesharing/l10n/de.js on lines 1..36
apps/federatedfilesharing/l10n/de_DE.js on lines 1..36
apps/federatedfilesharing/l10n/el.js on lines 1..36
apps/federatedfilesharing/l10n/en_GB.js on lines 1..36
apps/federatedfilesharing/l10n/es.js on lines 1..36
apps/federatedfilesharing/l10n/fr.js on lines 1..36
apps/federatedfilesharing/l10n/it.js on lines 1..36
apps/federatedfilesharing/l10n/ko.js on lines 1..36
apps/federatedfilesharing/l10n/pt_BR.js on lines 1..36
apps/federatedfilesharing/l10n/ru.js on lines 1..36
apps/federatedfilesharing/l10n/ru_RU.js on lines 1..36
apps/federatedfilesharing/l10n/sq.js on lines 1..36
apps/federatedfilesharing/l10n/th_TH.js on lines 1..36
apps/federatedfilesharing/l10n/tr.js on lines 1..36
apps/federatedfilesharing/l10n/ug.js on lines 1..36
apps/federatedfilesharing/l10n/zh_CN.js on lines 1..36
apps/files_external/l10n/lv.js on lines 1..36
lib/l10n/ug.js on lines 1..36

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

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" : "Federated-Sharing",
    "Add to" : "Hinzufügen",
Severity: Major
Found in apps/federatedfilesharing/l10n/de.js and 19 other locations - About 6 hrs to fix
apps/federatedfilesharing/l10n/bg_BG.js on lines 1..36
apps/federatedfilesharing/l10n/de_DE.js on lines 1..36
apps/federatedfilesharing/l10n/el.js on lines 1..36
apps/federatedfilesharing/l10n/en_GB.js on lines 1..36
apps/federatedfilesharing/l10n/es.js on lines 1..36
apps/federatedfilesharing/l10n/fr.js on lines 1..36
apps/federatedfilesharing/l10n/it.js on lines 1..36
apps/federatedfilesharing/l10n/ko.js on lines 1..36
apps/federatedfilesharing/l10n/pt_BR.js on lines 1..36
apps/federatedfilesharing/l10n/ru.js on lines 1..36
apps/federatedfilesharing/l10n/ru_RU.js on lines 1..36
apps/federatedfilesharing/l10n/sq.js on lines 1..36
apps/federatedfilesharing/l10n/th_TH.js on lines 1..36
apps/federatedfilesharing/l10n/tr.js on lines 1..36
apps/federatedfilesharing/l10n/ug.js on lines 1..36
apps/federatedfilesharing/l10n/zh_CN.js on lines 1..36
apps/federatedfilesharing/l10n/zh_TW.js on lines 1..36
apps/files_external/l10n/lv.js on lines 1..36
lib/l10n/ug.js on lines 1..36

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

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" : "Federated sharing",
    "Add to" : "Add to",
Severity: Major
Found in apps/federatedfilesharing/l10n/en_GB.js and 19 other locations - About 6 hrs to fix
apps/federatedfilesharing/l10n/bg_BG.js on lines 1..36
apps/federatedfilesharing/l10n/de.js on lines 1..36
apps/federatedfilesharing/l10n/de_DE.js on lines 1..36
apps/federatedfilesharing/l10n/el.js on lines 1..36
apps/federatedfilesharing/l10n/es.js on lines 1..36
apps/federatedfilesharing/l10n/fr.js on lines 1..36
apps/federatedfilesharing/l10n/it.js on lines 1..36
apps/federatedfilesharing/l10n/ko.js on lines 1..36
apps/federatedfilesharing/l10n/pt_BR.js on lines 1..36
apps/federatedfilesharing/l10n/ru.js on lines 1..36
apps/federatedfilesharing/l10n/ru_RU.js on lines 1..36
apps/federatedfilesharing/l10n/sq.js on lines 1..36
apps/federatedfilesharing/l10n/th_TH.js on lines 1..36
apps/federatedfilesharing/l10n/tr.js on lines 1..36
apps/federatedfilesharing/l10n/ug.js on lines 1..36
apps/federatedfilesharing/l10n/zh_CN.js on lines 1..36
apps/federatedfilesharing/l10n/zh_TW.js on lines 1..36
apps/files_external/l10n/lv.js on lines 1..36
lib/l10n/ug.js on lines 1..36

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

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" : "Федеративно споделяне",
    "Add to" : "Добавяне към",
Severity: Major
Found in apps/federatedfilesharing/l10n/bg_BG.js and 19 other locations - About 6 hrs to fix
apps/federatedfilesharing/l10n/de.js on lines 1..36
apps/federatedfilesharing/l10n/de_DE.js on lines 1..36
apps/federatedfilesharing/l10n/el.js on lines 1..36
apps/federatedfilesharing/l10n/en_GB.js on lines 1..36
apps/federatedfilesharing/l10n/es.js on lines 1..36
apps/federatedfilesharing/l10n/fr.js on lines 1..36
apps/federatedfilesharing/l10n/it.js on lines 1..36
apps/federatedfilesharing/l10n/ko.js on lines 1..36
apps/federatedfilesharing/l10n/pt_BR.js on lines 1..36
apps/federatedfilesharing/l10n/ru.js on lines 1..36
apps/federatedfilesharing/l10n/ru_RU.js on lines 1..36
apps/federatedfilesharing/l10n/sq.js on lines 1..36
apps/federatedfilesharing/l10n/th_TH.js on lines 1..36
apps/federatedfilesharing/l10n/tr.js on lines 1..36
apps/federatedfilesharing/l10n/ug.js on lines 1..36
apps/federatedfilesharing/l10n/zh_CN.js on lines 1..36
apps/federatedfilesharing/l10n/zh_TW.js on lines 1..36
apps/files_external/l10n/lv.js on lines 1..36
lib/l10n/ug.js on lines 1..36

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

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" : "Federated-Sharing",
    "Add to" : "Hinzufügen",
Severity: Major
Found in apps/federatedfilesharing/l10n/de_DE.js and 19 other locations - About 6 hrs to fix
apps/federatedfilesharing/l10n/bg_BG.js on lines 1..36
apps/federatedfilesharing/l10n/de.js on lines 1..36
apps/federatedfilesharing/l10n/el.js on lines 1..36
apps/federatedfilesharing/l10n/en_GB.js on lines 1..36
apps/federatedfilesharing/l10n/es.js on lines 1..36
apps/federatedfilesharing/l10n/fr.js on lines 1..36
apps/federatedfilesharing/l10n/it.js on lines 1..36
apps/federatedfilesharing/l10n/ko.js on lines 1..36
apps/federatedfilesharing/l10n/pt_BR.js on lines 1..36
apps/federatedfilesharing/l10n/ru.js on lines 1..36
apps/federatedfilesharing/l10n/ru_RU.js on lines 1..36
apps/federatedfilesharing/l10n/sq.js on lines 1..36
apps/federatedfilesharing/l10n/th_TH.js on lines 1..36
apps/federatedfilesharing/l10n/tr.js on lines 1..36
apps/federatedfilesharing/l10n/ug.js on lines 1..36
apps/federatedfilesharing/l10n/zh_CN.js on lines 1..36
apps/federatedfilesharing/l10n/zh_TW.js on lines 1..36
apps/files_external/l10n/lv.js on lines 1..36
lib/l10n/ug.js on lines 1..36

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

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" : "Compartilhamento federado",
    "Add to" : "Adicionar para ",
Severity: Major
Found in apps/federatedfilesharing/l10n/pt_BR.js and 19 other locations - About 6 hrs to fix
apps/federatedfilesharing/l10n/bg_BG.js on lines 1..36
apps/federatedfilesharing/l10n/de.js on lines 1..36
apps/federatedfilesharing/l10n/de_DE.js on lines 1..36
apps/federatedfilesharing/l10n/el.js on lines 1..36
apps/federatedfilesharing/l10n/en_GB.js on lines 1..36
apps/federatedfilesharing/l10n/es.js on lines 1..36
apps/federatedfilesharing/l10n/fr.js on lines 1..36
apps/federatedfilesharing/l10n/it.js on lines 1..36
apps/federatedfilesharing/l10n/ko.js on lines 1..36
apps/federatedfilesharing/l10n/ru.js on lines 1..36
apps/federatedfilesharing/l10n/ru_RU.js on lines 1..36
apps/federatedfilesharing/l10n/sq.js on lines 1..36
apps/federatedfilesharing/l10n/th_TH.js on lines 1..36
apps/federatedfilesharing/l10n/tr.js on lines 1..36
apps/federatedfilesharing/l10n/ug.js on lines 1..36
apps/federatedfilesharing/l10n/zh_CN.js on lines 1..36
apps/federatedfilesharing/l10n/zh_TW.js on lines 1..36
apps/files_external/l10n/lv.js on lines 1..36
lib/l10n/ug.js on lines 1..36

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

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" : "Ndarje e federuar",
    "Add to" : "Shtoje te",
Severity: Major
Found in apps/federatedfilesharing/l10n/sq.js and 19 other locations - About 6 hrs to fix
apps/federatedfilesharing/l10n/bg_BG.js on lines 1..36
apps/federatedfilesharing/l10n/de.js on lines 1..36
apps/federatedfilesharing/l10n/de_DE.js on lines 1..36
apps/federatedfilesharing/l10n/el.js on lines 1..36
apps/federatedfilesharing/l10n/en_GB.js on lines 1..36
apps/federatedfilesharing/l10n/es.js on lines 1..36
apps/federatedfilesharing/l10n/fr.js on lines 1..36
apps/federatedfilesharing/l10n/it.js on lines 1..36
apps/federatedfilesharing/l10n/ko.js on lines 1..36
apps/federatedfilesharing/l10n/pt_BR.js on lines 1..36
apps/federatedfilesharing/l10n/ru.js on lines 1..36
apps/federatedfilesharing/l10n/ru_RU.js on lines 1..36
apps/federatedfilesharing/l10n/th_TH.js on lines 1..36
apps/federatedfilesharing/l10n/tr.js on lines 1..36
apps/federatedfilesharing/l10n/ug.js on lines 1..36
apps/federatedfilesharing/l10n/zh_CN.js on lines 1..36
apps/federatedfilesharing/l10n/zh_TW.js on lines 1..36
apps/files_external/l10n/lv.js on lines 1..36
lib/l10n/ug.js on lines 1..36

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

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" : "Federated sharing",
    "Add to" : "Ajouter à",
Severity: Major
Found in apps/federatedfilesharing/l10n/fr.js and 19 other locations - About 6 hrs to fix
apps/federatedfilesharing/l10n/bg_BG.js on lines 1..36
apps/federatedfilesharing/l10n/de.js on lines 1..36
apps/federatedfilesharing/l10n/de_DE.js on lines 1..36
apps/federatedfilesharing/l10n/el.js on lines 1..36
apps/federatedfilesharing/l10n/en_GB.js on lines 1..36
apps/federatedfilesharing/l10n/es.js on lines 1..36
apps/federatedfilesharing/l10n/it.js on lines 1..36
apps/federatedfilesharing/l10n/ko.js on lines 1..36
apps/federatedfilesharing/l10n/pt_BR.js on lines 1..36
apps/federatedfilesharing/l10n/ru.js on lines 1..36
apps/federatedfilesharing/l10n/ru_RU.js on lines 1..36
apps/federatedfilesharing/l10n/sq.js on lines 1..36
apps/federatedfilesharing/l10n/th_TH.js on lines 1..36
apps/federatedfilesharing/l10n/tr.js on lines 1..36
apps/federatedfilesharing/l10n/ug.js on lines 1..36
apps/federatedfilesharing/l10n/zh_CN.js on lines 1..36
apps/federatedfilesharing/l10n/zh_TW.js on lines 1..36
apps/files_external/l10n/lv.js on lines 1..36
lib/l10n/ug.js on lines 1..36

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

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" : "Общий доступ из объединенного общего хранилища",
    "Add to" : "Добавить к",
Severity: Major
Found in apps/federatedfilesharing/l10n/ru_RU.js and 19 other locations - About 6 hrs to fix
apps/federatedfilesharing/l10n/bg_BG.js on lines 1..36
apps/federatedfilesharing/l10n/de.js on lines 1..36
apps/federatedfilesharing/l10n/de_DE.js on lines 1..36
apps/federatedfilesharing/l10n/el.js on lines 1..36
apps/federatedfilesharing/l10n/en_GB.js on lines 1..36
apps/federatedfilesharing/l10n/es.js on lines 1..36
apps/federatedfilesharing/l10n/fr.js on lines 1..36
apps/federatedfilesharing/l10n/it.js on lines 1..36
apps/federatedfilesharing/l10n/ko.js on lines 1..36
apps/federatedfilesharing/l10n/pt_BR.js on lines 1..36
apps/federatedfilesharing/l10n/ru.js on lines 1..36
apps/federatedfilesharing/l10n/sq.js on lines 1..36
apps/federatedfilesharing/l10n/th_TH.js on lines 1..36
apps/federatedfilesharing/l10n/tr.js on lines 1..36
apps/federatedfilesharing/l10n/ug.js on lines 1..36
apps/federatedfilesharing/l10n/zh_CN.js on lines 1..36
apps/federatedfilesharing/l10n/zh_TW.js on lines 1..36
apps/files_external/l10n/lv.js on lines 1..36
lib/l10n/ug.js on lines 1..36

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

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" : "Διαμοιρασμός Federated",
    "Add to" : "Προσθήκη σε",
Severity: Major
Found in apps/federatedfilesharing/l10n/el.js and 19 other locations - About 6 hrs to fix
apps/federatedfilesharing/l10n/bg_BG.js on lines 1..36
apps/federatedfilesharing/l10n/de.js on lines 1..36
apps/federatedfilesharing/l10n/de_DE.js on lines 1..36
apps/federatedfilesharing/l10n/en_GB.js on lines 1..36
apps/federatedfilesharing/l10n/es.js on lines 1..36
apps/federatedfilesharing/l10n/fr.js on lines 1..36
apps/federatedfilesharing/l10n/it.js on lines 1..36
apps/federatedfilesharing/l10n/ko.js on lines 1..36
apps/federatedfilesharing/l10n/pt_BR.js on lines 1..36
apps/federatedfilesharing/l10n/ru.js on lines 1..36
apps/federatedfilesharing/l10n/ru_RU.js on lines 1..36
apps/federatedfilesharing/l10n/sq.js on lines 1..36
apps/federatedfilesharing/l10n/th_TH.js on lines 1..36
apps/federatedfilesharing/l10n/tr.js on lines 1..36
apps/federatedfilesharing/l10n/ug.js on lines 1..36
apps/federatedfilesharing/l10n/zh_CN.js on lines 1..36
apps/federatedfilesharing/l10n/zh_TW.js on lines 1..36
apps/files_external/l10n/lv.js on lines 1..36
lib/l10n/ug.js on lines 1..36

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

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

Method __construct has 172 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function __construct(array $urlParams= []) {
        parent::__construct('core', $urlParams);

        $container = $this->getContainer();
        $server = $container->getServer();
Severity: Major
Found in core/Application.php - About 6 hrs to fix

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

                $calendar = [
                    'id' => $row['id'],
                    'uri' => $row['publicuri'],
                    'principaluri' => $this->convertPrincipal($row['principaluri']),
                    '{' . Plugin::NS_CALENDARSERVER . '}getctag' => 'http://sabre.io/ns/sync/' . ($row['synctoken']?:'0'),
    Severity: Major
    Found in apps/dav/lib/CalDAV/CalDavBackend.php and 1 other location - About 6 hrs to fix
    apps/dav/lib/CalDAV/CalDavBackend.php on lines 410..421

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

    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

            $calendar = [
                'id' => $row['id'],
                'uri' => $row['publicuri'],
                'principaluri' => $this->convertPrincipal($row['principaluri']),
                '{' . Plugin::NS_CALENDARSERVER . '}getctag' => 'http://sabre.io/ns/sync/' . ($row['synctoken']?:'0'),
    Severity: Major
    Found in apps/dav/lib/CalDAV/CalDavBackend.php and 1 other location - About 6 hrs to fix
    apps/dav/lib/CalDAV/CalDavBackend.php on lines 346..357

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

    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