owncloud/core

View on GitHub

Showing 1,252 of 4,482 total issues

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

OC.L10N.register(
    "settings",
    {
    "Authentication error" : "Ralat pengesahan",
    "Create" : "Buat",
Severity: Major
Found in settings/l10n/ms_MY.js and 2 other locations - About 7 hrs to fix
apps/files/l10n/km.js on lines 1..39
apps/files_sharing/l10n/hr.js on lines 1..39

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

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

        if ($syncToken) {
            $query = 'SELECT `uri`, `operation` FROM `*PREFIX*calendarchanges` WHERE `synctoken` >= ? AND `synctoken` < ? AND `calendarid` = ? ORDER BY `synctoken`';

            // Fetching all changes
            $stmt = $this->db->prepare($query, $limit ?: null, $limit ? 0 : null);
Severity: Major
Found in apps/dav/lib/CalDAV/CalDavBackend.php and 1 other location - About 7 hrs to fix
apps/dav/lib/CardDAV/CardDavBackend.php on lines 732..767

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

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

        if ($syncToken) {
            $query = 'SELECT `uri`, `operation` FROM `*PREFIX*addressbookchanges` WHERE `synctoken` >= ? AND `synctoken` < ? AND `addressbookid` = ? ORDER BY `synctoken`';

            // Fetching all changes
            $stmt = $this->db->prepare($query, $limit ?: null, $limit ? 0 : null);
Severity: Major
Found in apps/dav/lib/CardDAV/CardDavBackend.php and 1 other location - About 7 hrs to fix
apps/dav/lib/CalDAV/CalDavBackend.php on lines 1144..1179

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

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

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

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

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

Refactorings

Further Reading

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

OC.L10N.register(
    "files",
    {
    "Unknown error" : "უცნობი შეცდომა",
    "Close" : "დახურვა",
Severity: Major
Found in apps/files/l10n/ka_GE.js and 1 other location - About 7 hrs to fix
apps/files_sharing/l10n/bn_BD.js on lines 1..38

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

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

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

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

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

Refactorings

Further Reading

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

OC.L10N.register(
    "files_sharing",
    {
    "Server to server sharing is not enabled on this server" : "এই সার্ভারে সার্ভার হতে সার্ভারে ভাগাভাগি কার্যকর নয়",
    "Shared with you" : "আপনার সাথে ভাগাভাগি করেছেন",
Severity: Major
Found in apps/files_sharing/l10n/bn_BD.js and 1 other location - About 7 hrs to fix
apps/files/l10n/ka_GE.js on lines 1..38

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

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

    protected function execute(InputInterface $input, OutputInterface $output): int {
        $retentionEnabled = $this->trashExpiryManager->retentionEnabled();
        if (!$retentionEnabled) {
            $output->writeln("Auto expiration is configured - expiration will be handled automatically.");
            return 1;
Severity: Major
Found in apps/files_trashbin/lib/Command/ExpireTrash.php and 1 other location - About 7 hrs to fix
apps/files_versions/lib/Command/ExpireVersions.php on lines 71..100

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

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

    protected function execute(InputInterface $input, OutputInterface $output): int {
        $maxAge = $this->expiration->getMaxAgeAsTimestamp();
        if (!$maxAge) {
            $output->writeln("Auto expiration is configured - expiration will be handled automatically.");
            return 1;
Severity: Major
Found in apps/files_versions/lib/Command/ExpireVersions.php and 1 other location - About 7 hrs to fix
apps/files_trashbin/lib/Command/ExpireTrash.php on lines 70..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 224.

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

OC.L10N.register(
    "federatedfilesharing",
    {
    "Federated sharing" : "Διαμοιρασμός Federated",
    "Add to" : "Προσθήκη σε",
Severity: Major
Found in apps/federatedfilesharing/l10n/el.js and 18 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/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 19 locations. Consider refactoring.
Open

OC.L10N.register(
    "federatedfilesharing",
    {
    "Federated sharing" : "聯合分享",
    "Add to" : "增加到",
Severity: Major
Found in apps/federatedfilesharing/l10n/zh_TW.js and 18 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/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 19 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 18 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/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 19 locations. Consider refactoring.
Open

OC.L10N.register(
    "federatedfilesharing",
    {
    "Federated sharing" : "Общий доступ из объединенного общего хранилища",
    "Add to" : "Добавить к",
Severity: Major
Found in apps/federatedfilesharing/l10n/ru.js and 18 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/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 19 locations. Consider refactoring.
Open

OC.L10N.register(
    "federatedfilesharing",
    {
    "Federated sharing" : "แบ่งปันกับสหพันธ์",
    "Add to" : "เพิ่มไปยัง",
Severity: Major
Found in apps/federatedfilesharing/l10n/th_TH.js and 18 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/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 19 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 18 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/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 19 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 18 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/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 19 locations. Consider refactoring.
Open

OC.L10N.register(
    "federatedfilesharing",
    {
    "Federated sharing" : "Condivisione federata",
    "Add to" : "Aggiungi a",
Severity: Major
Found in apps/federatedfilesharing/l10n/it.js and 18 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/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 19 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 18 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/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 19 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 18 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/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 19 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 18 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
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 19 locations. Consider refactoring.
Open

OC.L10N.register(
    "federatedfilesharing",
    {
    "Federated sharing" : "연합 공유",
    "Add to" : "다음에 추가",
Severity: Major
Found in apps/federatedfilesharing/l10n/ko.js and 18 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/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 19 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 18 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/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

Severity
Category
Status
Source
Language