owncloud/core

View on GitHub

Showing 1,266 of 4,502 total issues

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

OC.L10N.register(
    "systemtags",
    {
    "Tags" : "Etiquetas",
    "Tagged files" : "Arquivos etiquetados",
Severity: Major
Found in apps/systemtags/l10n/pt_BR.js and 16 other locations - About 6 hrs to fix
apps/systemtags/l10n/bg_BG.js on lines 1..34
apps/systemtags/l10n/de.js on lines 1..34
apps/systemtags/l10n/de_DE.js on lines 1..34
apps/systemtags/l10n/el.js on lines 1..34
apps/systemtags/l10n/en_GB.js on lines 1..34
apps/systemtags/l10n/es.js on lines 1..34
apps/systemtags/l10n/he.js on lines 1..34
apps/systemtags/l10n/ru.js on lines 1..34
apps/systemtags/l10n/ru_RU.js on lines 1..34
apps/systemtags/l10n/sq.js on lines 1..34
apps/systemtags/l10n/th_TH.js on lines 1..34
apps/systemtags/l10n/tr.js on lines 1..34
apps/systemtags/l10n/ug.js on lines 1..34
apps/systemtags/l10n/zh_CN.js on lines 1..34
core/l10n/ku_IQ.js on lines 1..34
lib/l10n/cy_GB.js on lines 1..34

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

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" : "heddiw",
    "yesterday" : "ddoe",
Severity: Major
Found in lib/l10n/cy_GB.js and 16 other locations - About 6 hrs to fix
apps/systemtags/l10n/bg_BG.js on lines 1..34
apps/systemtags/l10n/de.js on lines 1..34
apps/systemtags/l10n/de_DE.js on lines 1..34
apps/systemtags/l10n/el.js on lines 1..34
apps/systemtags/l10n/en_GB.js on lines 1..34
apps/systemtags/l10n/es.js on lines 1..34
apps/systemtags/l10n/he.js on lines 1..34
apps/systemtags/l10n/pt_BR.js on lines 1..34
apps/systemtags/l10n/ru.js on lines 1..34
apps/systemtags/l10n/ru_RU.js on lines 1..34
apps/systemtags/l10n/sq.js on lines 1..34
apps/systemtags/l10n/th_TH.js on lines 1..34
apps/systemtags/l10n/tr.js on lines 1..34
apps/systemtags/l10n/ug.js on lines 1..34
apps/systemtags/l10n/zh_CN.js on lines 1..34
core/l10n/ku_IQ.js on lines 1..34

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

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" : "Tags",
    "Tagged files" : "Tags",
Severity: Major
Found in apps/systemtags/l10n/de_DE.js and 16 other locations - About 6 hrs to fix
apps/systemtags/l10n/bg_BG.js on lines 1..34
apps/systemtags/l10n/de.js on lines 1..34
apps/systemtags/l10n/el.js on lines 1..34
apps/systemtags/l10n/en_GB.js on lines 1..34
apps/systemtags/l10n/es.js on lines 1..34
apps/systemtags/l10n/he.js on lines 1..34
apps/systemtags/l10n/pt_BR.js on lines 1..34
apps/systemtags/l10n/ru.js on lines 1..34
apps/systemtags/l10n/ru_RU.js on lines 1..34
apps/systemtags/l10n/sq.js on lines 1..34
apps/systemtags/l10n/th_TH.js on lines 1..34
apps/systemtags/l10n/tr.js on lines 1..34
apps/systemtags/l10n/ug.js on lines 1..34
apps/systemtags/l10n/zh_CN.js on lines 1..34
core/l10n/ku_IQ.js on lines 1..34
lib/l10n/cy_GB.js on lines 1..34

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

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" : "ป้ายกำกับ",
    "Tagged files" : "ไฟล์ที่ติดแท็ก",
Severity: Major
Found in apps/systemtags/l10n/th_TH.js and 16 other locations - About 6 hrs to fix
apps/systemtags/l10n/bg_BG.js on lines 1..34
apps/systemtags/l10n/de.js on lines 1..34
apps/systemtags/l10n/de_DE.js on lines 1..34
apps/systemtags/l10n/el.js on lines 1..34
apps/systemtags/l10n/en_GB.js on lines 1..34
apps/systemtags/l10n/es.js on lines 1..34
apps/systemtags/l10n/he.js on lines 1..34
apps/systemtags/l10n/pt_BR.js on lines 1..34
apps/systemtags/l10n/ru.js on lines 1..34
apps/systemtags/l10n/ru_RU.js on lines 1..34
apps/systemtags/l10n/sq.js on lines 1..34
apps/systemtags/l10n/tr.js on lines 1..34
apps/systemtags/l10n/ug.js on lines 1..34
apps/systemtags/l10n/zh_CN.js on lines 1..34
core/l10n/ku_IQ.js on lines 1..34
lib/l10n/cy_GB.js on lines 1..34

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

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" : "标签",
    "Tagged files" : "标签文件",
Severity: Major
Found in apps/systemtags/l10n/zh_CN.js and 16 other locations - About 6 hrs to fix
apps/systemtags/l10n/bg_BG.js on lines 1..34
apps/systemtags/l10n/de.js on lines 1..34
apps/systemtags/l10n/de_DE.js on lines 1..34
apps/systemtags/l10n/el.js on lines 1..34
apps/systemtags/l10n/en_GB.js on lines 1..34
apps/systemtags/l10n/es.js on lines 1..34
apps/systemtags/l10n/he.js on lines 1..34
apps/systemtags/l10n/pt_BR.js on lines 1..34
apps/systemtags/l10n/ru.js on lines 1..34
apps/systemtags/l10n/ru_RU.js on lines 1..34
apps/systemtags/l10n/sq.js on lines 1..34
apps/systemtags/l10n/th_TH.js on lines 1..34
apps/systemtags/l10n/tr.js on lines 1..34
apps/systemtags/l10n/ug.js on lines 1..34
core/l10n/ku_IQ.js on lines 1..34
lib/l10n/cy_GB.js on lines 1..34

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

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" : "Етикети",
    "Tagged files" : "Файлове с етикети",
Severity: Major
Found in apps/systemtags/l10n/bg_BG.js and 16 other locations - About 6 hrs to fix
apps/systemtags/l10n/de.js on lines 1..34
apps/systemtags/l10n/de_DE.js on lines 1..34
apps/systemtags/l10n/el.js on lines 1..34
apps/systemtags/l10n/en_GB.js on lines 1..34
apps/systemtags/l10n/es.js on lines 1..34
apps/systemtags/l10n/he.js on lines 1..34
apps/systemtags/l10n/pt_BR.js on lines 1..34
apps/systemtags/l10n/ru.js on lines 1..34
apps/systemtags/l10n/ru_RU.js on lines 1..34
apps/systemtags/l10n/sq.js on lines 1..34
apps/systemtags/l10n/th_TH.js on lines 1..34
apps/systemtags/l10n/tr.js on lines 1..34
apps/systemtags/l10n/ug.js on lines 1..34
apps/systemtags/l10n/zh_CN.js on lines 1..34
core/l10n/ku_IQ.js on lines 1..34
lib/l10n/cy_GB.js on lines 1..34

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

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" : "Etiketler",
    "Tagged files" : "Etiketli dosyalar",
Severity: Major
Found in apps/systemtags/l10n/tr.js and 16 other locations - About 6 hrs to fix
apps/systemtags/l10n/bg_BG.js on lines 1..34
apps/systemtags/l10n/de.js on lines 1..34
apps/systemtags/l10n/de_DE.js on lines 1..34
apps/systemtags/l10n/el.js on lines 1..34
apps/systemtags/l10n/en_GB.js on lines 1..34
apps/systemtags/l10n/es.js on lines 1..34
apps/systemtags/l10n/he.js on lines 1..34
apps/systemtags/l10n/pt_BR.js on lines 1..34
apps/systemtags/l10n/ru.js on lines 1..34
apps/systemtags/l10n/ru_RU.js on lines 1..34
apps/systemtags/l10n/sq.js on lines 1..34
apps/systemtags/l10n/th_TH.js on lines 1..34
apps/systemtags/l10n/ug.js on lines 1..34
apps/systemtags/l10n/zh_CN.js on lines 1..34
core/l10n/ku_IQ.js on lines 1..34
lib/l10n/cy_GB.js on lines 1..34

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

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" : "Метки",
    "Tagged files" : "Файлы с метками",
Severity: Major
Found in apps/systemtags/l10n/ru_RU.js and 16 other locations - About 6 hrs to fix
apps/systemtags/l10n/bg_BG.js on lines 1..34
apps/systemtags/l10n/de.js on lines 1..34
apps/systemtags/l10n/de_DE.js on lines 1..34
apps/systemtags/l10n/el.js on lines 1..34
apps/systemtags/l10n/en_GB.js on lines 1..34
apps/systemtags/l10n/es.js on lines 1..34
apps/systemtags/l10n/he.js on lines 1..34
apps/systemtags/l10n/pt_BR.js on lines 1..34
apps/systemtags/l10n/ru.js on lines 1..34
apps/systemtags/l10n/sq.js on lines 1..34
apps/systemtags/l10n/th_TH.js on lines 1..34
apps/systemtags/l10n/tr.js on lines 1..34
apps/systemtags/l10n/ug.js on lines 1..34
apps/systemtags/l10n/zh_CN.js on lines 1..34
core/l10n/ku_IQ.js on lines 1..34
lib/l10n/cy_GB.js on lines 1..34

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

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" : "Etiketa",
    "Tagged files" : "Kartela të etiketuara",
Severity: Major
Found in apps/systemtags/l10n/sq.js and 16 other locations - About 6 hrs to fix
apps/systemtags/l10n/bg_BG.js on lines 1..34
apps/systemtags/l10n/de.js on lines 1..34
apps/systemtags/l10n/de_DE.js on lines 1..34
apps/systemtags/l10n/el.js on lines 1..34
apps/systemtags/l10n/en_GB.js on lines 1..34
apps/systemtags/l10n/es.js on lines 1..34
apps/systemtags/l10n/he.js on lines 1..34
apps/systemtags/l10n/pt_BR.js on lines 1..34
apps/systemtags/l10n/ru.js on lines 1..34
apps/systemtags/l10n/ru_RU.js on lines 1..34
apps/systemtags/l10n/th_TH.js on lines 1..34
apps/systemtags/l10n/tr.js on lines 1..34
apps/systemtags/l10n/ug.js on lines 1..34
apps/systemtags/l10n/zh_CN.js on lines 1..34
core/l10n/ku_IQ.js on lines 1..34
lib/l10n/cy_GB.js on lines 1..34

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

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" : "Ετικέτες",
    "Tagged files" : "Αρχεία με ετικέτες",
Severity: Major
Found in apps/systemtags/l10n/el.js and 16 other locations - About 6 hrs to fix
apps/systemtags/l10n/bg_BG.js on lines 1..34
apps/systemtags/l10n/de.js on lines 1..34
apps/systemtags/l10n/de_DE.js on lines 1..34
apps/systemtags/l10n/en_GB.js on lines 1..34
apps/systemtags/l10n/es.js on lines 1..34
apps/systemtags/l10n/he.js on lines 1..34
apps/systemtags/l10n/pt_BR.js on lines 1..34
apps/systemtags/l10n/ru.js on lines 1..34
apps/systemtags/l10n/ru_RU.js on lines 1..34
apps/systemtags/l10n/sq.js on lines 1..34
apps/systemtags/l10n/th_TH.js on lines 1..34
apps/systemtags/l10n/tr.js on lines 1..34
apps/systemtags/l10n/ug.js on lines 1..34
apps/systemtags/l10n/zh_CN.js on lines 1..34
core/l10n/ku_IQ.js on lines 1..34
lib/l10n/cy_GB.js on lines 1..34

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

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" : "Tags",
    "Tagged files" : "Tags",
Severity: Major
Found in apps/systemtags/l10n/de.js and 16 other locations - About 6 hrs to fix
apps/systemtags/l10n/bg_BG.js on lines 1..34
apps/systemtags/l10n/de_DE.js on lines 1..34
apps/systemtags/l10n/el.js on lines 1..34
apps/systemtags/l10n/en_GB.js on lines 1..34
apps/systemtags/l10n/es.js on lines 1..34
apps/systemtags/l10n/he.js on lines 1..34
apps/systemtags/l10n/pt_BR.js on lines 1..34
apps/systemtags/l10n/ru.js on lines 1..34
apps/systemtags/l10n/ru_RU.js on lines 1..34
apps/systemtags/l10n/sq.js on lines 1..34
apps/systemtags/l10n/th_TH.js on lines 1..34
apps/systemtags/l10n/tr.js on lines 1..34
apps/systemtags/l10n/ug.js on lines 1..34
apps/systemtags/l10n/zh_CN.js on lines 1..34
core/l10n/ku_IQ.js on lines 1..34
lib/l10n/cy_GB.js on lines 1..34

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

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" : "Tags",
    "Tagged files" : "Tagged files",
Severity: Major
Found in apps/systemtags/l10n/en_GB.js and 16 other locations - About 6 hrs to fix
apps/systemtags/l10n/bg_BG.js on lines 1..34
apps/systemtags/l10n/de.js on lines 1..34
apps/systemtags/l10n/de_DE.js on lines 1..34
apps/systemtags/l10n/el.js on lines 1..34
apps/systemtags/l10n/es.js on lines 1..34
apps/systemtags/l10n/he.js on lines 1..34
apps/systemtags/l10n/pt_BR.js on lines 1..34
apps/systemtags/l10n/ru.js on lines 1..34
apps/systemtags/l10n/ru_RU.js on lines 1..34
apps/systemtags/l10n/sq.js on lines 1..34
apps/systemtags/l10n/th_TH.js on lines 1..34
apps/systemtags/l10n/tr.js on lines 1..34
apps/systemtags/l10n/ug.js on lines 1..34
apps/systemtags/l10n/zh_CN.js on lines 1..34
core/l10n/ku_IQ.js on lines 1..34
lib/l10n/cy_GB.js on lines 1..34

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

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" : "תגיות",
    "Tagged files" : "קבצים שתויגו",
Severity: Major
Found in apps/systemtags/l10n/he.js and 16 other locations - About 6 hrs to fix
apps/systemtags/l10n/bg_BG.js on lines 1..34
apps/systemtags/l10n/de.js on lines 1..34
apps/systemtags/l10n/de_DE.js on lines 1..34
apps/systemtags/l10n/el.js on lines 1..34
apps/systemtags/l10n/en_GB.js on lines 1..34
apps/systemtags/l10n/es.js on lines 1..34
apps/systemtags/l10n/pt_BR.js on lines 1..34
apps/systemtags/l10n/ru.js on lines 1..34
apps/systemtags/l10n/ru_RU.js on lines 1..34
apps/systemtags/l10n/sq.js on lines 1..34
apps/systemtags/l10n/th_TH.js on lines 1..34
apps/systemtags/l10n/tr.js on lines 1..34
apps/systemtags/l10n/ug.js on lines 1..34
apps/systemtags/l10n/zh_CN.js on lines 1..34
core/l10n/ku_IQ.js on lines 1..34
lib/l10n/cy_GB.js on lines 1..34

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

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" : "بەلگەلەر",
    "Tagged files" : "خەتكۈچلەنگەن ھۆججەت",
Severity: Major
Found in apps/systemtags/l10n/ug.js and 16 other locations - About 6 hrs to fix
apps/systemtags/l10n/bg_BG.js on lines 1..34
apps/systemtags/l10n/de.js on lines 1..34
apps/systemtags/l10n/de_DE.js on lines 1..34
apps/systemtags/l10n/el.js on lines 1..34
apps/systemtags/l10n/en_GB.js on lines 1..34
apps/systemtags/l10n/es.js on lines 1..34
apps/systemtags/l10n/he.js on lines 1..34
apps/systemtags/l10n/pt_BR.js on lines 1..34
apps/systemtags/l10n/ru.js on lines 1..34
apps/systemtags/l10n/ru_RU.js on lines 1..34
apps/systemtags/l10n/sq.js on lines 1..34
apps/systemtags/l10n/th_TH.js on lines 1..34
apps/systemtags/l10n/tr.js on lines 1..34
apps/systemtags/l10n/zh_CN.js on lines 1..34
core/l10n/ku_IQ.js on lines 1..34
lib/l10n/cy_GB.js on lines 1..34

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

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.js and 16 other locations - About 6 hrs to fix
apps/systemtags/l10n/bg_BG.js on lines 1..34
apps/systemtags/l10n/de.js on lines 1..34
apps/systemtags/l10n/de_DE.js on lines 1..34
apps/systemtags/l10n/el.js on lines 1..34
apps/systemtags/l10n/en_GB.js on lines 1..34
apps/systemtags/l10n/he.js on lines 1..34
apps/systemtags/l10n/pt_BR.js on lines 1..34
apps/systemtags/l10n/ru.js on lines 1..34
apps/systemtags/l10n/ru_RU.js on lines 1..34
apps/systemtags/l10n/sq.js on lines 1..34
apps/systemtags/l10n/th_TH.js on lines 1..34
apps/systemtags/l10n/tr.js on lines 1..34
apps/systemtags/l10n/ug.js on lines 1..34
apps/systemtags/l10n/zh_CN.js on lines 1..34
core/l10n/ku_IQ.js on lines 1..34
lib/l10n/cy_GB.js on lines 1..34

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

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(
    "core",
    {
    "Settings" : "ده‌ستكاری",
    "Saving..." : "پاشکه‌وتده‌کات...",
Severity: Major
Found in core/l10n/ku_IQ.js and 16 other locations - About 6 hrs to fix
apps/systemtags/l10n/bg_BG.js on lines 1..34
apps/systemtags/l10n/de.js on lines 1..34
apps/systemtags/l10n/de_DE.js on lines 1..34
apps/systemtags/l10n/el.js on lines 1..34
apps/systemtags/l10n/en_GB.js on lines 1..34
apps/systemtags/l10n/es.js on lines 1..34
apps/systemtags/l10n/he.js on lines 1..34
apps/systemtags/l10n/pt_BR.js on lines 1..34
apps/systemtags/l10n/ru.js on lines 1..34
apps/systemtags/l10n/ru_RU.js on lines 1..34
apps/systemtags/l10n/sq.js on lines 1..34
apps/systemtags/l10n/th_TH.js on lines 1..34
apps/systemtags/l10n/tr.js on lines 1..34
apps/systemtags/l10n/ug.js on lines 1..34
apps/systemtags/l10n/zh_CN.js on lines 1..34
lib/l10n/cy_GB.js on lines 1..34

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

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

    getFavorites:function(type) {
        if(!type && !this.type) {
            throw new Error('The object type is not specified.');
        }
        type = type ? type : this.type;
Severity: Major
Found in core/js/tags.js and 1 other location - About 6 hrs to fix
core/js/tags.js on lines 124..139

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

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

    getTags:function(type) {
        if(!type && !this.type) {
            throw new Error('The object type is not specified.');
        }
        type = type ? type : this.type;
Severity: Major
Found in core/js/tags.js and 1 other location - About 6 hrs to fix
core/js/tags.js on lines 104..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 163.

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

    function up() {
        var select = -1;
        $("#fileList tr").each(function(index) {
            if ($(this).hasClass("mouseOver")) {
                select = index - 1;
Severity: Major
Found in apps/files/js/keyboardshortcuts.js and 1 other location - About 6 hrs to fix
apps/files/js/keyboardshortcuts.js on lines 63..80

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

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

    function down() {
        var select = -1;
        $("#fileList tr").each(function(index) {
            if ($(this).hasClass("mouseOver")) {
                select = index + 1;
Severity: Major
Found in apps/files/js/keyboardshortcuts.js and 1 other location - About 6 hrs to fix
apps/files/js/keyboardshortcuts.js on lines 82..99

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

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