owncloud/core

View on GitHub

Showing 4,504 of 4,504 total issues

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

OC.L10N.register(
    "files_sharing",
    {
    "Uploading..." : "பதிவேற்றல்...",
    "Cancel" : "இரத்து செய்க",
Severity: Major
Found in apps/files_sharing/l10n/ta.js and 16 other locations - About 1 hr to fix
apps/comments/l10n/az.js on lines 1..14
apps/federation/l10n/sk_SK.js on lines 1..14
apps/files_external/l10n/ur_PK.js on lines 1..14
apps/files_sharing/l10n/kn.js on lines 1..14
apps/files_trashbin/l10n/bn_BD.js on lines 1..14
apps/files_trashbin/l10n/cy_GB.js on lines 1..14
apps/files_trashbin/l10n/ka_GE.js on lines 1..14
apps/files_trashbin/l10n/ms_MY.js on lines 1..14
apps/files_trashbin/l10n/ur_PK.js on lines 1..14
apps/systemtags/l10n/es_MX.js on lines 1..14
apps/updatenotification/l10n/ro.js on lines 1..14
apps/updatenotification/l10n/sr.js on lines 1..14
lib/l10n/ku_IQ.js on lines 1..14
lib/l10n/ms_MY.js on lines 1..14
lib/l10n/te.js on lines 1..14
settings/l10n/bn_IN.js on lines 1..14

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

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

OC.L10N.register(
    "comments",
    {
    "Type in a new comment..." : "Yeni komment əlavə et",
    "Delete comment" : "Kommenti poz",
Severity: Major
Found in apps/comments/l10n/az.js and 16 other locations - About 1 hr to fix
apps/federation/l10n/sk_SK.js on lines 1..14
apps/files_external/l10n/ur_PK.js on lines 1..14
apps/files_sharing/l10n/kn.js on lines 1..14
apps/files_sharing/l10n/ta.js on lines 1..14
apps/files_trashbin/l10n/bn_BD.js on lines 1..14
apps/files_trashbin/l10n/cy_GB.js on lines 1..14
apps/files_trashbin/l10n/ka_GE.js on lines 1..14
apps/files_trashbin/l10n/ms_MY.js on lines 1..14
apps/files_trashbin/l10n/ur_PK.js on lines 1..14
apps/systemtags/l10n/es_MX.js on lines 1..14
apps/updatenotification/l10n/ro.js on lines 1..14
apps/updatenotification/l10n/sr.js on lines 1..14
lib/l10n/ku_IQ.js on lines 1..14
lib/l10n/ms_MY.js on lines 1..14
lib/l10n/te.js on lines 1..14
settings/l10n/bn_IN.js on lines 1..14

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

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

OC.L10N.register(
    "files_sharing",
    {
    "Cancel" : "ರದ್ದು",
    "Add" : "ಸೇರಿಸಿ",
Severity: Major
Found in apps/files_sharing/l10n/kn.js and 16 other locations - About 1 hr to fix
apps/comments/l10n/az.js on lines 1..14
apps/federation/l10n/sk_SK.js on lines 1..14
apps/files_external/l10n/ur_PK.js on lines 1..14
apps/files_sharing/l10n/ta.js on lines 1..14
apps/files_trashbin/l10n/bn_BD.js on lines 1..14
apps/files_trashbin/l10n/cy_GB.js on lines 1..14
apps/files_trashbin/l10n/ka_GE.js on lines 1..14
apps/files_trashbin/l10n/ms_MY.js on lines 1..14
apps/files_trashbin/l10n/ur_PK.js on lines 1..14
apps/systemtags/l10n/es_MX.js on lines 1..14
apps/updatenotification/l10n/ro.js on lines 1..14
apps/updatenotification/l10n/sr.js on lines 1..14
lib/l10n/ku_IQ.js on lines 1..14
lib/l10n/ms_MY.js on lines 1..14
lib/l10n/te.js on lines 1..14
settings/l10n/bn_IN.js on lines 1..14

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

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

OC.L10N.register(
    "updatenotification",
    {
    "{version} is available. Get more information on how to update." : "Верзија {version} је доступна. Сазнајте како да ажурирате.",
    "Updated channel" : "Канал ажуриран",
Severity: Major
Found in apps/updatenotification/l10n/sr.js and 16 other locations - About 1 hr to fix
apps/comments/l10n/az.js on lines 1..14
apps/federation/l10n/sk_SK.js on lines 1..14
apps/files_external/l10n/ur_PK.js on lines 1..14
apps/files_sharing/l10n/kn.js on lines 1..14
apps/files_sharing/l10n/ta.js on lines 1..14
apps/files_trashbin/l10n/bn_BD.js on lines 1..14
apps/files_trashbin/l10n/cy_GB.js on lines 1..14
apps/files_trashbin/l10n/ka_GE.js on lines 1..14
apps/files_trashbin/l10n/ms_MY.js on lines 1..14
apps/files_trashbin/l10n/ur_PK.js on lines 1..14
apps/systemtags/l10n/es_MX.js on lines 1..14
apps/updatenotification/l10n/ro.js on lines 1..14
lib/l10n/ku_IQ.js on lines 1..14
lib/l10n/ms_MY.js on lines 1..14
lib/l10n/te.js on lines 1..14
settings/l10n/bn_IN.js on lines 1..14

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

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

OC.L10N.register(
    "files_external",
    {
    "Personal" : "شخصی",
    "Username" : "یوزر نیم",
Severity: Major
Found in apps/files_external/l10n/ur_PK.js and 16 other locations - About 1 hr to fix
apps/comments/l10n/az.js on lines 1..14
apps/federation/l10n/sk_SK.js on lines 1..14
apps/files_sharing/l10n/kn.js on lines 1..14
apps/files_sharing/l10n/ta.js on lines 1..14
apps/files_trashbin/l10n/bn_BD.js on lines 1..14
apps/files_trashbin/l10n/cy_GB.js on lines 1..14
apps/files_trashbin/l10n/ka_GE.js on lines 1..14
apps/files_trashbin/l10n/ms_MY.js on lines 1..14
apps/files_trashbin/l10n/ur_PK.js on lines 1..14
apps/systemtags/l10n/es_MX.js on lines 1..14
apps/updatenotification/l10n/ro.js on lines 1..14
apps/updatenotification/l10n/sr.js on lines 1..14
lib/l10n/ku_IQ.js on lines 1..14
lib/l10n/ms_MY.js on lines 1..14
lib/l10n/te.js on lines 1..14
settings/l10n/bn_IN.js on lines 1..14

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

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

OC.L10N.register(
    "files_trashbin",
    {
    "Couldn't delete %s permanently" : "ფაილი %s–ის სრულად წაშლა ვერ მოხერხდა",
    "Couldn't restore %s" : "%s–ის აღდგენა ვერ მოხერხდა",
Severity: Major
Found in apps/files_trashbin/l10n/ka_GE.js and 16 other locations - About 1 hr to fix
apps/comments/l10n/az.js on lines 1..14
apps/federation/l10n/sk_SK.js on lines 1..14
apps/files_external/l10n/ur_PK.js on lines 1..14
apps/files_sharing/l10n/kn.js on lines 1..14
apps/files_sharing/l10n/ta.js on lines 1..14
apps/files_trashbin/l10n/bn_BD.js on lines 1..14
apps/files_trashbin/l10n/cy_GB.js on lines 1..14
apps/files_trashbin/l10n/ms_MY.js on lines 1..14
apps/files_trashbin/l10n/ur_PK.js on lines 1..14
apps/systemtags/l10n/es_MX.js on lines 1..14
apps/updatenotification/l10n/ro.js on lines 1..14
apps/updatenotification/l10n/sr.js on lines 1..14
lib/l10n/ku_IQ.js on lines 1..14
lib/l10n/ms_MY.js on lines 1..14
lib/l10n/te.js on lines 1..14
settings/l10n/bn_IN.js on lines 1..14

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

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

OC.L10N.register(
    "files_trashbin",
    {
    "Couldn't delete %s permanently" : "%s স্থায়ীভাবে মুছে ফেলা গেলনা",
    "Couldn't restore %s" : "%s ফেরত আনা গেলনা",
Severity: Major
Found in apps/files_trashbin/l10n/bn_BD.js and 16 other locations - About 1 hr to fix
apps/comments/l10n/az.js on lines 1..14
apps/federation/l10n/sk_SK.js on lines 1..14
apps/files_external/l10n/ur_PK.js on lines 1..14
apps/files_sharing/l10n/kn.js on lines 1..14
apps/files_sharing/l10n/ta.js on lines 1..14
apps/files_trashbin/l10n/cy_GB.js on lines 1..14
apps/files_trashbin/l10n/ka_GE.js on lines 1..14
apps/files_trashbin/l10n/ms_MY.js on lines 1..14
apps/files_trashbin/l10n/ur_PK.js on lines 1..14
apps/systemtags/l10n/es_MX.js on lines 1..14
apps/updatenotification/l10n/ro.js on lines 1..14
apps/updatenotification/l10n/sr.js on lines 1..14
lib/l10n/ku_IQ.js on lines 1..14
lib/l10n/ms_MY.js on lines 1..14
lib/l10n/te.js on lines 1..14
settings/l10n/bn_IN.js on lines 1..14

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

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

OC.L10N.register(
    "lib",
    {
    "None" : "هیچ",
    "Username" : "ناوی به‌کارهێنه‌ر",
Severity: Major
Found in lib/l10n/ku_IQ.js and 16 other locations - About 1 hr to fix
apps/comments/l10n/az.js on lines 1..14
apps/federation/l10n/sk_SK.js on lines 1..14
apps/files_external/l10n/ur_PK.js on lines 1..14
apps/files_sharing/l10n/kn.js on lines 1..14
apps/files_sharing/l10n/ta.js on lines 1..14
apps/files_trashbin/l10n/bn_BD.js on lines 1..14
apps/files_trashbin/l10n/cy_GB.js on lines 1..14
apps/files_trashbin/l10n/ka_GE.js on lines 1..14
apps/files_trashbin/l10n/ms_MY.js on lines 1..14
apps/files_trashbin/l10n/ur_PK.js on lines 1..14
apps/systemtags/l10n/es_MX.js on lines 1..14
apps/updatenotification/l10n/ro.js on lines 1..14
apps/updatenotification/l10n/sr.js on lines 1..14
lib/l10n/ms_MY.js on lines 1..14
lib/l10n/te.js on lines 1..14
settings/l10n/bn_IN.js on lines 1..14

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

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

OC.L10N.register(
    "systemtags",
    {
    "Tags" : "Etiquetas",
    "Tagged files" : "Archivos etiquetados",
Severity: Major
Found in apps/systemtags/l10n/es_MX.js and 16 other locations - About 1 hr to fix
apps/comments/l10n/az.js on lines 1..14
apps/federation/l10n/sk_SK.js on lines 1..14
apps/files_external/l10n/ur_PK.js on lines 1..14
apps/files_sharing/l10n/kn.js on lines 1..14
apps/files_sharing/l10n/ta.js on lines 1..14
apps/files_trashbin/l10n/bn_BD.js on lines 1..14
apps/files_trashbin/l10n/cy_GB.js on lines 1..14
apps/files_trashbin/l10n/ka_GE.js on lines 1..14
apps/files_trashbin/l10n/ms_MY.js on lines 1..14
apps/files_trashbin/l10n/ur_PK.js on lines 1..14
apps/updatenotification/l10n/ro.js on lines 1..14
apps/updatenotification/l10n/sr.js on lines 1..14
lib/l10n/ku_IQ.js on lines 1..14
lib/l10n/ms_MY.js on lines 1..14
lib/l10n/te.js on lines 1..14
settings/l10n/bn_IN.js on lines 1..14

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

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

OC.L10N.register(
    "updatenotification",
    {
    "{version} is available. Get more information on how to update." : "{version} este disponibil. Află mai multe informații despre cum să faci o actualizare.",
    "Updated channel" : "Canal actualizat",
Severity: Major
Found in apps/updatenotification/l10n/ro.js and 16 other locations - About 1 hr to fix
apps/comments/l10n/az.js on lines 1..14
apps/federation/l10n/sk_SK.js on lines 1..14
apps/files_external/l10n/ur_PK.js on lines 1..14
apps/files_sharing/l10n/kn.js on lines 1..14
apps/files_sharing/l10n/ta.js on lines 1..14
apps/files_trashbin/l10n/bn_BD.js on lines 1..14
apps/files_trashbin/l10n/cy_GB.js on lines 1..14
apps/files_trashbin/l10n/ka_GE.js on lines 1..14
apps/files_trashbin/l10n/ms_MY.js on lines 1..14
apps/files_trashbin/l10n/ur_PK.js on lines 1..14
apps/systemtags/l10n/es_MX.js on lines 1..14
apps/updatenotification/l10n/sr.js on lines 1..14
lib/l10n/ku_IQ.js on lines 1..14
lib/l10n/ms_MY.js on lines 1..14
lib/l10n/te.js on lines 1..14
settings/l10n/bn_IN.js on lines 1..14

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

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

OC.L10N.register(
    "lib",
    {
    "today" : "ఈరోజు",
    "yesterday" : "నిన్న",
Severity: Major
Found in lib/l10n/te.js and 16 other locations - About 1 hr to fix
apps/comments/l10n/az.js on lines 1..14
apps/federation/l10n/sk_SK.js on lines 1..14
apps/files_external/l10n/ur_PK.js on lines 1..14
apps/files_sharing/l10n/kn.js on lines 1..14
apps/files_sharing/l10n/ta.js on lines 1..14
apps/files_trashbin/l10n/bn_BD.js on lines 1..14
apps/files_trashbin/l10n/cy_GB.js on lines 1..14
apps/files_trashbin/l10n/ka_GE.js on lines 1..14
apps/files_trashbin/l10n/ms_MY.js on lines 1..14
apps/files_trashbin/l10n/ur_PK.js on lines 1..14
apps/systemtags/l10n/es_MX.js on lines 1..14
apps/updatenotification/l10n/ro.js on lines 1..14
apps/updatenotification/l10n/sr.js on lines 1..14
lib/l10n/ku_IQ.js on lines 1..14
lib/l10n/ms_MY.js on lines 1..14
settings/l10n/bn_IN.js on lines 1..14

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

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

OC.L10N.register(
    "lib",
    {
    "Username" : "Nama pengguna",
    "Password" : "Kata laluan",
Severity: Major
Found in lib/l10n/ms_MY.js and 16 other locations - About 1 hr to fix
apps/comments/l10n/az.js on lines 1..14
apps/federation/l10n/sk_SK.js on lines 1..14
apps/files_external/l10n/ur_PK.js on lines 1..14
apps/files_sharing/l10n/kn.js on lines 1..14
apps/files_sharing/l10n/ta.js on lines 1..14
apps/files_trashbin/l10n/bn_BD.js on lines 1..14
apps/files_trashbin/l10n/cy_GB.js on lines 1..14
apps/files_trashbin/l10n/ka_GE.js on lines 1..14
apps/files_trashbin/l10n/ms_MY.js on lines 1..14
apps/files_trashbin/l10n/ur_PK.js on lines 1..14
apps/systemtags/l10n/es_MX.js on lines 1..14
apps/updatenotification/l10n/ro.js on lines 1..14
apps/updatenotification/l10n/sr.js on lines 1..14
lib/l10n/ku_IQ.js on lines 1..14
lib/l10n/te.js on lines 1..14
settings/l10n/bn_IN.js on lines 1..14

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

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

OC.L10N.register(
    "federation",
    {
    "Server added to the list of trusted ownClouds" : "Server pridaný k dôveryhodným ownCloud-om",
    "Server is already in the list of trusted servers." : "Server sa už nachádza v zozname dôveryhodných serverov.",
Severity: Major
Found in apps/federation/l10n/sk_SK.js and 16 other locations - About 1 hr to fix
apps/comments/l10n/az.js on lines 1..14
apps/files_external/l10n/ur_PK.js on lines 1..14
apps/files_sharing/l10n/kn.js on lines 1..14
apps/files_sharing/l10n/ta.js on lines 1..14
apps/files_trashbin/l10n/bn_BD.js on lines 1..14
apps/files_trashbin/l10n/cy_GB.js on lines 1..14
apps/files_trashbin/l10n/ka_GE.js on lines 1..14
apps/files_trashbin/l10n/ms_MY.js on lines 1..14
apps/files_trashbin/l10n/ur_PK.js on lines 1..14
apps/systemtags/l10n/es_MX.js on lines 1..14
apps/updatenotification/l10n/ro.js on lines 1..14
apps/updatenotification/l10n/sr.js on lines 1..14
lib/l10n/ku_IQ.js on lines 1..14
lib/l10n/ms_MY.js on lines 1..14
lib/l10n/te.js on lines 1..14
settings/l10n/bn_IN.js on lines 1..14

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

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

OC.L10N.register(
    "files_trashbin",
    {
    "Couldn't delete %s permanently" : "Tidak dapat menghapuskan %s secara kekal",
    "Couldn't restore %s" : "Tidak dapat memulihkan %s",
Severity: Major
Found in apps/files_trashbin/l10n/ms_MY.js and 16 other locations - About 1 hr to fix
apps/comments/l10n/az.js on lines 1..14
apps/federation/l10n/sk_SK.js on lines 1..14
apps/files_external/l10n/ur_PK.js on lines 1..14
apps/files_sharing/l10n/kn.js on lines 1..14
apps/files_sharing/l10n/ta.js on lines 1..14
apps/files_trashbin/l10n/bn_BD.js on lines 1..14
apps/files_trashbin/l10n/cy_GB.js on lines 1..14
apps/files_trashbin/l10n/ka_GE.js on lines 1..14
apps/files_trashbin/l10n/ur_PK.js on lines 1..14
apps/systemtags/l10n/es_MX.js on lines 1..14
apps/updatenotification/l10n/ro.js on lines 1..14
apps/updatenotification/l10n/sr.js on lines 1..14
lib/l10n/ku_IQ.js on lines 1..14
lib/l10n/ms_MY.js on lines 1..14
lib/l10n/te.js on lines 1..14
settings/l10n/bn_IN.js on lines 1..14

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

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

OC.L10N.register(
    "files_trashbin",
    {
    "Couldn't delete %s permanently" : "Methwyd dileu %s yn barhaol",
    "Couldn't restore %s" : "Methwyd adfer %s",
Severity: Major
Found in apps/files_trashbin/l10n/cy_GB.js and 16 other locations - About 1 hr to fix
apps/comments/l10n/az.js on lines 1..14
apps/federation/l10n/sk_SK.js on lines 1..14
apps/files_external/l10n/ur_PK.js on lines 1..14
apps/files_sharing/l10n/kn.js on lines 1..14
apps/files_sharing/l10n/ta.js on lines 1..14
apps/files_trashbin/l10n/bn_BD.js on lines 1..14
apps/files_trashbin/l10n/ka_GE.js on lines 1..14
apps/files_trashbin/l10n/ms_MY.js on lines 1..14
apps/files_trashbin/l10n/ur_PK.js on lines 1..14
apps/systemtags/l10n/es_MX.js on lines 1..14
apps/updatenotification/l10n/ro.js on lines 1..14
apps/updatenotification/l10n/sr.js on lines 1..14
lib/l10n/ku_IQ.js on lines 1..14
lib/l10n/ms_MY.js on lines 1..14
lib/l10n/te.js on lines 1..14
settings/l10n/bn_IN.js on lines 1..14

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

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

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

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

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

Refactorings

Further Reading

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

            config.append($(document.createElement('input'))
                .addClass('button auth-param')
                .attr('type', 'button')
                .attr('value', t('files_external', 'Grant access'))
                .attr('name', 'oauth2_grant')
Severity: Major
Found in apps/files_external/js/oauth2.js and 1 other location - About 1 hr to fix
apps/files_external/js/oauth1.js on lines 10..15

Duplicated Code

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

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

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

Tuning

This issue has a mass of 63.

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

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

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

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

Refactorings

Further Reading

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

            config.append($(document.createElement('input'))
                .addClass('button auth-param')
                .attr('type', 'button')
                .attr('value', t('files_external', 'Grant access'))
                .attr('name', 'oauth1_grant')
Severity: Major
Found in apps/files_external/js/oauth1.js and 1 other location - About 1 hr to fix
apps/files_external/js/oauth2.js on lines 10..15

Duplicated Code

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

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

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

Tuning

This issue has a mass of 63.

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

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

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

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

Refactorings

Further Reading

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

        getAjaxUrl: function(action, params) {
            var q = '';
            if (params) {
                q = '?' + OC.buildQueryString(params);
            }
Severity: Major
Found in apps/files_trashbin/js/filelist.js and 1 other location - About 1 hr to fix
apps/files/js/files.js on lines 198..204

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

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

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

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

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

Refactorings

Further Reading

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

        getAjaxUrl: function(action, params) {
            var q = '';
            if (params) {
                q = '?' + OC.buildQueryString(params);
            }
Severity: Major
Found in apps/files/js/files.js and 1 other location - About 1 hr to fix
apps/files_trashbin/js/filelist.js on lines 111..117

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

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 createShare has 11 arguments (exceeds 4 allowed). Consider refactoring.
Open

        $shareWith,
        $name,
        $description,
        $providerId,
        $owner,
Severity: Major
Found in apps/federatedfilesharing/lib/Controller/OcmController.php - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language