owncloud/core

View on GitHub

Showing 1,266 of 4,502 total issues

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

            } else {
                $("#save-to-oc-button-loading").addClass('hidden');
                that.$saveToOcButtonText.removeClass('hidden');
                that.$saveToOcButton.prop('disabled', false);
            }
Severity: Minor
Found in apps/files_sharing/js/public.js and 1 other location - About 40 mins to fix
apps/files_sharing/js/public.js on lines 391..395

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

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

    public function getVersionTag() : string {
        if (!$this->versionInfo) {
            $storage = $this->node->getStorage();
            $internalPath = $this->node->getInternalPath();
    
Severity: Minor
Found in lib/private/Files/Meta/MetaVersionCollection.php and 1 other location - About 40 mins to fix
lib/private/Files/Meta/MetaVersionCollection.php on lines 69..85

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

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

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

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

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

Refactorings

Further Reading

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

        try {
            $token = $this->request->getParam('token', null);
            $this->ocmMiddleware->assertOutgoingSharingEnabled();
            $share = $this->ocmMiddleware->getValidShare($id, $token);
            $this->fedShareManager->declineShare($share);
apps/federatedfilesharing/lib/Controller/RequestHandlerController.php on lines 264..287

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

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

    public function userDisplayNames($users): JSONResponse {
        $result = [];

        foreach ($users as $user) {
            $userObject = $this->userManager->get($user);
Severity: Minor
Found in apps/files_external/lib/Controller/ApplicableController.php and 1 other location - About 40 mins to fix
apps/files_external/lib/Controller/ApplicableController.php on lines 95..111

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

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

    public function groupDisplayNames($groups): JSONResponse {
        $result = [];

        foreach ($groups as $group) {
            $groupObject = $this->groupManager->get($group);
Severity: Minor
Found in apps/files_external/lib/Controller/ApplicableController.php and 1 other location - About 40 mins to fix
apps/files_external/lib/Controller/ApplicableController.php on lines 73..89

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

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

    public function getEditedBy() : string {
        if (!$this->versionInfo) {
            $storage = $this->node->getStorage();
            $internalPath = $this->node->getInternalPath();
    
Severity: Minor
Found in lib/private/Files/Meta/MetaVersionCollection.php and 1 other location - About 40 mins to fix
lib/private/Files/Meta/MetaVersionCollection.php on lines 90..106

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

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

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

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

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

Refactorings

Further Reading

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

        try {
            $this->ocmMiddleware->assertOutgoingSharingEnabled();
            $token = $this->request->getParam('token', null);
            $share = $this->ocmMiddleware->getValidShare($id, $token);
            $this->fedShareManager->acceptShare($share);
apps/federatedfilesharing/lib/Controller/RequestHandlerController.php on lines 302..325

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

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

OC.L10N.register(
    "settings",
    {
    "Saved" : "Guardado",
    "None" : "Ninguno",
Severity: Major
Found in settings/l10n/es_ES.js and 34 other locations - About 40 mins to fix
apps/dav/l10n/af_ZA.js on lines 1..11
apps/dav/l10n/ca.js on lines 1..11
apps/dav/l10n/de_AT.js on lines 1..11
apps/dav/l10n/eo.js on lines 1..11
apps/dav/l10n/es_AR.js on lines 1..11
apps/dav/l10n/es_MX.js on lines 1..11
apps/dav/l10n/et_EE.js on lines 1..11
apps/dav/l10n/eu.js on lines 1..11
apps/dav/l10n/fa.js on lines 1..11
apps/dav/l10n/gu.js on lines 1..11
apps/dav/l10n/hr.js on lines 1..11
apps/dav/l10n/ia.js on lines 1..11
apps/dav/l10n/lb.js on lines 1..11
apps/dav/l10n/lo.js on lines 1..11
apps/dav/l10n/mk.js on lines 1..11
apps/dav/l10n/nn_NO.js on lines 1..11
apps/dav/l10n/sr.js on lines 1..11
apps/federatedfilesharing/l10n/af_ZA.js on lines 1..11
apps/federation/l10n/eo.js on lines 1..11
apps/files_external/l10n/pa.js on lines 1..11
apps/files_sharing/l10n/ku_IQ.js on lines 1..11
apps/files_sharing/l10n/ml_IN.js on lines 1..11
apps/files_sharing/l10n/ta_IN.js on lines 1..11
apps/systemtags/l10n/az.js on lines 1..11
apps/systemtags/l10n/es_AR.js on lines 1..11
apps/systemtags/l10n/hy.js on lines 1..11
apps/systemtags/l10n/id.js on lines 1..11
apps/systemtags/l10n/lv.js on lines 1..11
apps/systemtags/l10n/nn_NO.js on lines 1..11
apps/systemtags/l10n/sk_SK.js on lines 1..11
apps/systemtags/l10n/sr@latin.js on lines 1..11
core/l10n/mr.js on lines 1..11
lib/l10n/be.js on lines 1..11
settings/l10n/pl_PL.js on lines 1..11

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

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

OC.L10N.register(
    "dav",
    {
    "Contact birthdays" : "Рођендани контаката",
    "Personal" : "Лично",
Severity: Major
Found in apps/dav/l10n/sr.js and 34 other locations - About 40 mins to fix
apps/dav/l10n/af_ZA.js on lines 1..11
apps/dav/l10n/ca.js on lines 1..11
apps/dav/l10n/de_AT.js on lines 1..11
apps/dav/l10n/eo.js on lines 1..11
apps/dav/l10n/es_AR.js on lines 1..11
apps/dav/l10n/es_MX.js on lines 1..11
apps/dav/l10n/et_EE.js on lines 1..11
apps/dav/l10n/eu.js on lines 1..11
apps/dav/l10n/fa.js on lines 1..11
apps/dav/l10n/gu.js on lines 1..11
apps/dav/l10n/hr.js on lines 1..11
apps/dav/l10n/ia.js on lines 1..11
apps/dav/l10n/lb.js on lines 1..11
apps/dav/l10n/lo.js on lines 1..11
apps/dav/l10n/mk.js on lines 1..11
apps/dav/l10n/nn_NO.js on lines 1..11
apps/federatedfilesharing/l10n/af_ZA.js on lines 1..11
apps/federation/l10n/eo.js on lines 1..11
apps/files_external/l10n/pa.js on lines 1..11
apps/files_sharing/l10n/ku_IQ.js on lines 1..11
apps/files_sharing/l10n/ml_IN.js on lines 1..11
apps/files_sharing/l10n/ta_IN.js on lines 1..11
apps/systemtags/l10n/az.js on lines 1..11
apps/systemtags/l10n/es_AR.js on lines 1..11
apps/systemtags/l10n/hy.js on lines 1..11
apps/systemtags/l10n/id.js on lines 1..11
apps/systemtags/l10n/lv.js on lines 1..11
apps/systemtags/l10n/nn_NO.js on lines 1..11
apps/systemtags/l10n/sk_SK.js on lines 1..11
apps/systemtags/l10n/sr@latin.js on lines 1..11
core/l10n/mr.js on lines 1..11
lib/l10n/be.js on lines 1..11
settings/l10n/es_ES.js on lines 1..11
settings/l10n/pl_PL.js on lines 1..11

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

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

OC.L10N.register(
    "systemtags",
    {
    "Tags" : "Պիտակներ",
    "No files in here" : "Ֆայլեր չկան այստեղ",
Severity: Major
Found in apps/systemtags/l10n/hy.js and 34 other locations - About 40 mins to fix
apps/dav/l10n/af_ZA.js on lines 1..11
apps/dav/l10n/ca.js on lines 1..11
apps/dav/l10n/de_AT.js on lines 1..11
apps/dav/l10n/eo.js on lines 1..11
apps/dav/l10n/es_AR.js on lines 1..11
apps/dav/l10n/es_MX.js on lines 1..11
apps/dav/l10n/et_EE.js on lines 1..11
apps/dav/l10n/eu.js on lines 1..11
apps/dav/l10n/fa.js on lines 1..11
apps/dav/l10n/gu.js on lines 1..11
apps/dav/l10n/hr.js on lines 1..11
apps/dav/l10n/ia.js on lines 1..11
apps/dav/l10n/lb.js on lines 1..11
apps/dav/l10n/lo.js on lines 1..11
apps/dav/l10n/mk.js on lines 1..11
apps/dav/l10n/nn_NO.js on lines 1..11
apps/dav/l10n/sr.js on lines 1..11
apps/federatedfilesharing/l10n/af_ZA.js on lines 1..11
apps/federation/l10n/eo.js on lines 1..11
apps/files_external/l10n/pa.js on lines 1..11
apps/files_sharing/l10n/ku_IQ.js on lines 1..11
apps/files_sharing/l10n/ml_IN.js on lines 1..11
apps/files_sharing/l10n/ta_IN.js on lines 1..11
apps/systemtags/l10n/az.js on lines 1..11
apps/systemtags/l10n/es_AR.js on lines 1..11
apps/systemtags/l10n/id.js on lines 1..11
apps/systemtags/l10n/lv.js on lines 1..11
apps/systemtags/l10n/nn_NO.js on lines 1..11
apps/systemtags/l10n/sk_SK.js on lines 1..11
apps/systemtags/l10n/sr@latin.js on lines 1..11
core/l10n/mr.js on lines 1..11
lib/l10n/be.js on lines 1..11
settings/l10n/es_ES.js on lines 1..11
settings/l10n/pl_PL.js on lines 1..11

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

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

OC.L10N.register(
    "files_external",
    {
    "Username" : "ਯੂਜ਼ਰ-ਨਾਂ",
    "Password" : "ਪਾਸਵਰ",
Severity: Major
Found in apps/files_external/l10n/pa.js and 34 other locations - About 40 mins to fix
apps/dav/l10n/af_ZA.js on lines 1..11
apps/dav/l10n/ca.js on lines 1..11
apps/dav/l10n/de_AT.js on lines 1..11
apps/dav/l10n/eo.js on lines 1..11
apps/dav/l10n/es_AR.js on lines 1..11
apps/dav/l10n/es_MX.js on lines 1..11
apps/dav/l10n/et_EE.js on lines 1..11
apps/dav/l10n/eu.js on lines 1..11
apps/dav/l10n/fa.js on lines 1..11
apps/dav/l10n/gu.js on lines 1..11
apps/dav/l10n/hr.js on lines 1..11
apps/dav/l10n/ia.js on lines 1..11
apps/dav/l10n/lb.js on lines 1..11
apps/dav/l10n/lo.js on lines 1..11
apps/dav/l10n/mk.js on lines 1..11
apps/dav/l10n/nn_NO.js on lines 1..11
apps/dav/l10n/sr.js on lines 1..11
apps/federatedfilesharing/l10n/af_ZA.js on lines 1..11
apps/federation/l10n/eo.js on lines 1..11
apps/files_sharing/l10n/ku_IQ.js on lines 1..11
apps/files_sharing/l10n/ml_IN.js on lines 1..11
apps/files_sharing/l10n/ta_IN.js on lines 1..11
apps/systemtags/l10n/az.js on lines 1..11
apps/systemtags/l10n/es_AR.js on lines 1..11
apps/systemtags/l10n/hy.js on lines 1..11
apps/systemtags/l10n/id.js on lines 1..11
apps/systemtags/l10n/lv.js on lines 1..11
apps/systemtags/l10n/nn_NO.js on lines 1..11
apps/systemtags/l10n/sk_SK.js on lines 1..11
apps/systemtags/l10n/sr@latin.js on lines 1..11
core/l10n/mr.js on lines 1..11
lib/l10n/be.js on lines 1..11
settings/l10n/es_ES.js on lines 1..11
settings/l10n/pl_PL.js on lines 1..11

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

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

OC.L10N.register(
    "systemtags",
    {
    "Tags" : "Oznake",
    "No files in here" : "Ovde nema fajlova",
Severity: Major
Found in apps/systemtags/l10n/sr@latin.js and 34 other locations - About 40 mins to fix
apps/dav/l10n/af_ZA.js on lines 1..11
apps/dav/l10n/ca.js on lines 1..11
apps/dav/l10n/de_AT.js on lines 1..11
apps/dav/l10n/eo.js on lines 1..11
apps/dav/l10n/es_AR.js on lines 1..11
apps/dav/l10n/es_MX.js on lines 1..11
apps/dav/l10n/et_EE.js on lines 1..11
apps/dav/l10n/eu.js on lines 1..11
apps/dav/l10n/fa.js on lines 1..11
apps/dav/l10n/gu.js on lines 1..11
apps/dav/l10n/hr.js on lines 1..11
apps/dav/l10n/ia.js on lines 1..11
apps/dav/l10n/lb.js on lines 1..11
apps/dav/l10n/lo.js on lines 1..11
apps/dav/l10n/mk.js on lines 1..11
apps/dav/l10n/nn_NO.js on lines 1..11
apps/dav/l10n/sr.js on lines 1..11
apps/federatedfilesharing/l10n/af_ZA.js on lines 1..11
apps/federation/l10n/eo.js on lines 1..11
apps/files_external/l10n/pa.js on lines 1..11
apps/files_sharing/l10n/ku_IQ.js on lines 1..11
apps/files_sharing/l10n/ml_IN.js on lines 1..11
apps/files_sharing/l10n/ta_IN.js on lines 1..11
apps/systemtags/l10n/az.js on lines 1..11
apps/systemtags/l10n/es_AR.js on lines 1..11
apps/systemtags/l10n/hy.js on lines 1..11
apps/systemtags/l10n/id.js on lines 1..11
apps/systemtags/l10n/lv.js on lines 1..11
apps/systemtags/l10n/nn_NO.js on lines 1..11
apps/systemtags/l10n/sk_SK.js on lines 1..11
core/l10n/mr.js on lines 1..11
lib/l10n/be.js on lines 1..11
settings/l10n/es_ES.js on lines 1..11
settings/l10n/pl_PL.js on lines 1..11

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

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

OC.L10N.register(
    "systemtags",
    {
    "Tags" : "Tag",
    "No files in here" : "Tidak ada berkas disini",
Severity: Major
Found in apps/systemtags/l10n/id.js and 34 other locations - About 40 mins to fix
apps/dav/l10n/af_ZA.js on lines 1..11
apps/dav/l10n/ca.js on lines 1..11
apps/dav/l10n/de_AT.js on lines 1..11
apps/dav/l10n/eo.js on lines 1..11
apps/dav/l10n/es_AR.js on lines 1..11
apps/dav/l10n/es_MX.js on lines 1..11
apps/dav/l10n/et_EE.js on lines 1..11
apps/dav/l10n/eu.js on lines 1..11
apps/dav/l10n/fa.js on lines 1..11
apps/dav/l10n/gu.js on lines 1..11
apps/dav/l10n/hr.js on lines 1..11
apps/dav/l10n/ia.js on lines 1..11
apps/dav/l10n/lb.js on lines 1..11
apps/dav/l10n/lo.js on lines 1..11
apps/dav/l10n/mk.js on lines 1..11
apps/dav/l10n/nn_NO.js on lines 1..11
apps/dav/l10n/sr.js on lines 1..11
apps/federatedfilesharing/l10n/af_ZA.js on lines 1..11
apps/federation/l10n/eo.js on lines 1..11
apps/files_external/l10n/pa.js on lines 1..11
apps/files_sharing/l10n/ku_IQ.js on lines 1..11
apps/files_sharing/l10n/ml_IN.js on lines 1..11
apps/files_sharing/l10n/ta_IN.js on lines 1..11
apps/systemtags/l10n/az.js on lines 1..11
apps/systemtags/l10n/es_AR.js on lines 1..11
apps/systemtags/l10n/hy.js on lines 1..11
apps/systemtags/l10n/lv.js on lines 1..11
apps/systemtags/l10n/nn_NO.js on lines 1..11
apps/systemtags/l10n/sk_SK.js on lines 1..11
apps/systemtags/l10n/sr@latin.js on lines 1..11
core/l10n/mr.js on lines 1..11
lib/l10n/be.js on lines 1..11
settings/l10n/es_ES.js on lines 1..11
settings/l10n/pl_PL.js on lines 1..11

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

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

OC.L10N.register(
    "federation",
    {
    "Server added to the list of trusted ownClouds" : "Servilo aldoniĝis al la listo de fidataj ownCloud-oj.",
    "Server is already in the list of trusted servers." : "Servilo jam estas en la listo de fidataj serviloj.",
Severity: Major
Found in apps/federation/l10n/eo.js and 34 other locations - About 40 mins to fix
apps/dav/l10n/af_ZA.js on lines 1..11
apps/dav/l10n/ca.js on lines 1..11
apps/dav/l10n/de_AT.js on lines 1..11
apps/dav/l10n/eo.js on lines 1..11
apps/dav/l10n/es_AR.js on lines 1..11
apps/dav/l10n/es_MX.js on lines 1..11
apps/dav/l10n/et_EE.js on lines 1..11
apps/dav/l10n/eu.js on lines 1..11
apps/dav/l10n/fa.js on lines 1..11
apps/dav/l10n/gu.js on lines 1..11
apps/dav/l10n/hr.js on lines 1..11
apps/dav/l10n/ia.js on lines 1..11
apps/dav/l10n/lb.js on lines 1..11
apps/dav/l10n/lo.js on lines 1..11
apps/dav/l10n/mk.js on lines 1..11
apps/dav/l10n/nn_NO.js on lines 1..11
apps/dav/l10n/sr.js on lines 1..11
apps/federatedfilesharing/l10n/af_ZA.js on lines 1..11
apps/files_external/l10n/pa.js on lines 1..11
apps/files_sharing/l10n/ku_IQ.js on lines 1..11
apps/files_sharing/l10n/ml_IN.js on lines 1..11
apps/files_sharing/l10n/ta_IN.js on lines 1..11
apps/systemtags/l10n/az.js on lines 1..11
apps/systemtags/l10n/es_AR.js on lines 1..11
apps/systemtags/l10n/hy.js on lines 1..11
apps/systemtags/l10n/id.js on lines 1..11
apps/systemtags/l10n/lv.js on lines 1..11
apps/systemtags/l10n/nn_NO.js on lines 1..11
apps/systemtags/l10n/sk_SK.js on lines 1..11
apps/systemtags/l10n/sr@latin.js on lines 1..11
core/l10n/mr.js on lines 1..11
lib/l10n/be.js on lines 1..11
settings/l10n/es_ES.js on lines 1..11
settings/l10n/pl_PL.js on lines 1..11

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

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

OC.L10N.register(
    "federatedfilesharing",
    {
    "Loading..." : "Laai tans…",
    "File is already shared with %s" : "Lêer is reeds met %s gedeel",
Severity: Major
Found in apps/federatedfilesharing/l10n/af_ZA.js and 34 other locations - About 40 mins to fix
apps/dav/l10n/af_ZA.js on lines 1..11
apps/dav/l10n/ca.js on lines 1..11
apps/dav/l10n/de_AT.js on lines 1..11
apps/dav/l10n/eo.js on lines 1..11
apps/dav/l10n/es_AR.js on lines 1..11
apps/dav/l10n/es_MX.js on lines 1..11
apps/dav/l10n/et_EE.js on lines 1..11
apps/dav/l10n/eu.js on lines 1..11
apps/dav/l10n/fa.js on lines 1..11
apps/dav/l10n/gu.js on lines 1..11
apps/dav/l10n/hr.js on lines 1..11
apps/dav/l10n/ia.js on lines 1..11
apps/dav/l10n/lb.js on lines 1..11
apps/dav/l10n/lo.js on lines 1..11
apps/dav/l10n/mk.js on lines 1..11
apps/dav/l10n/nn_NO.js on lines 1..11
apps/dav/l10n/sr.js on lines 1..11
apps/federation/l10n/eo.js on lines 1..11
apps/files_external/l10n/pa.js on lines 1..11
apps/files_sharing/l10n/ku_IQ.js on lines 1..11
apps/files_sharing/l10n/ml_IN.js on lines 1..11
apps/files_sharing/l10n/ta_IN.js on lines 1..11
apps/systemtags/l10n/az.js on lines 1..11
apps/systemtags/l10n/es_AR.js on lines 1..11
apps/systemtags/l10n/hy.js on lines 1..11
apps/systemtags/l10n/id.js on lines 1..11
apps/systemtags/l10n/lv.js on lines 1..11
apps/systemtags/l10n/nn_NO.js on lines 1..11
apps/systemtags/l10n/sk_SK.js on lines 1..11
apps/systemtags/l10n/sr@latin.js on lines 1..11
core/l10n/mr.js on lines 1..11
lib/l10n/be.js on lines 1..11
settings/l10n/es_ES.js on lines 1..11
settings/l10n/pl_PL.js on lines 1..11

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

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

OC.L10N.register(
    "dav",
    {
    "Contact birthdays" : "Rođendani kontakata",
    "Personal" : "Osobno",
Severity: Major
Found in apps/dav/l10n/hr.js and 34 other locations - About 40 mins to fix
apps/dav/l10n/af_ZA.js on lines 1..11
apps/dav/l10n/ca.js on lines 1..11
apps/dav/l10n/de_AT.js on lines 1..11
apps/dav/l10n/eo.js on lines 1..11
apps/dav/l10n/es_AR.js on lines 1..11
apps/dav/l10n/es_MX.js on lines 1..11
apps/dav/l10n/et_EE.js on lines 1..11
apps/dav/l10n/eu.js on lines 1..11
apps/dav/l10n/fa.js on lines 1..11
apps/dav/l10n/gu.js on lines 1..11
apps/dav/l10n/ia.js on lines 1..11
apps/dav/l10n/lb.js on lines 1..11
apps/dav/l10n/lo.js on lines 1..11
apps/dav/l10n/mk.js on lines 1..11
apps/dav/l10n/nn_NO.js on lines 1..11
apps/dav/l10n/sr.js on lines 1..11
apps/federatedfilesharing/l10n/af_ZA.js on lines 1..11
apps/federation/l10n/eo.js on lines 1..11
apps/files_external/l10n/pa.js on lines 1..11
apps/files_sharing/l10n/ku_IQ.js on lines 1..11
apps/files_sharing/l10n/ml_IN.js on lines 1..11
apps/files_sharing/l10n/ta_IN.js on lines 1..11
apps/systemtags/l10n/az.js on lines 1..11
apps/systemtags/l10n/es_AR.js on lines 1..11
apps/systemtags/l10n/hy.js on lines 1..11
apps/systemtags/l10n/id.js on lines 1..11
apps/systemtags/l10n/lv.js on lines 1..11
apps/systemtags/l10n/nn_NO.js on lines 1..11
apps/systemtags/l10n/sk_SK.js on lines 1..11
apps/systemtags/l10n/sr@latin.js on lines 1..11
core/l10n/mr.js on lines 1..11
lib/l10n/be.js on lines 1..11
settings/l10n/es_ES.js on lines 1..11
settings/l10n/pl_PL.js on lines 1..11

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

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

OC.L10N.register(
    "dav",
    {
    "Contact birthdays" : "Cumpleaños",
    "Personal" : "Personal",
Severity: Major
Found in apps/dav/l10n/es_AR.js and 34 other locations - About 40 mins to fix
apps/dav/l10n/af_ZA.js on lines 1..11
apps/dav/l10n/ca.js on lines 1..11
apps/dav/l10n/de_AT.js on lines 1..11
apps/dav/l10n/eo.js on lines 1..11
apps/dav/l10n/es_MX.js on lines 1..11
apps/dav/l10n/et_EE.js on lines 1..11
apps/dav/l10n/eu.js on lines 1..11
apps/dav/l10n/fa.js on lines 1..11
apps/dav/l10n/gu.js on lines 1..11
apps/dav/l10n/hr.js on lines 1..11
apps/dav/l10n/ia.js on lines 1..11
apps/dav/l10n/lb.js on lines 1..11
apps/dav/l10n/lo.js on lines 1..11
apps/dav/l10n/mk.js on lines 1..11
apps/dav/l10n/nn_NO.js on lines 1..11
apps/dav/l10n/sr.js on lines 1..11
apps/federatedfilesharing/l10n/af_ZA.js on lines 1..11
apps/federation/l10n/eo.js on lines 1..11
apps/files_external/l10n/pa.js on lines 1..11
apps/files_sharing/l10n/ku_IQ.js on lines 1..11
apps/files_sharing/l10n/ml_IN.js on lines 1..11
apps/files_sharing/l10n/ta_IN.js on lines 1..11
apps/systemtags/l10n/az.js on lines 1..11
apps/systemtags/l10n/es_AR.js on lines 1..11
apps/systemtags/l10n/hy.js on lines 1..11
apps/systemtags/l10n/id.js on lines 1..11
apps/systemtags/l10n/lv.js on lines 1..11
apps/systemtags/l10n/nn_NO.js on lines 1..11
apps/systemtags/l10n/sk_SK.js on lines 1..11
apps/systemtags/l10n/sr@latin.js on lines 1..11
core/l10n/mr.js on lines 1..11
lib/l10n/be.js on lines 1..11
settings/l10n/es_ES.js on lines 1..11
settings/l10n/pl_PL.js on lines 1..11

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

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

OC.L10N.register(
    "dav",
    {
    "Contact birthdays" : "Kontaktbursdagar",
    "Personal" : "Personleg",
Severity: Major
Found in apps/dav/l10n/nn_NO.js and 34 other locations - About 40 mins to fix
apps/dav/l10n/af_ZA.js on lines 1..11
apps/dav/l10n/ca.js on lines 1..11
apps/dav/l10n/de_AT.js on lines 1..11
apps/dav/l10n/eo.js on lines 1..11
apps/dav/l10n/es_AR.js on lines 1..11
apps/dav/l10n/es_MX.js on lines 1..11
apps/dav/l10n/et_EE.js on lines 1..11
apps/dav/l10n/eu.js on lines 1..11
apps/dav/l10n/fa.js on lines 1..11
apps/dav/l10n/gu.js on lines 1..11
apps/dav/l10n/hr.js on lines 1..11
apps/dav/l10n/ia.js on lines 1..11
apps/dav/l10n/lb.js on lines 1..11
apps/dav/l10n/lo.js on lines 1..11
apps/dav/l10n/mk.js on lines 1..11
apps/dav/l10n/sr.js on lines 1..11
apps/federatedfilesharing/l10n/af_ZA.js on lines 1..11
apps/federation/l10n/eo.js on lines 1..11
apps/files_external/l10n/pa.js on lines 1..11
apps/files_sharing/l10n/ku_IQ.js on lines 1..11
apps/files_sharing/l10n/ml_IN.js on lines 1..11
apps/files_sharing/l10n/ta_IN.js on lines 1..11
apps/systemtags/l10n/az.js on lines 1..11
apps/systemtags/l10n/es_AR.js on lines 1..11
apps/systemtags/l10n/hy.js on lines 1..11
apps/systemtags/l10n/id.js on lines 1..11
apps/systemtags/l10n/lv.js on lines 1..11
apps/systemtags/l10n/nn_NO.js on lines 1..11
apps/systemtags/l10n/sk_SK.js on lines 1..11
apps/systemtags/l10n/sr@latin.js on lines 1..11
core/l10n/mr.js on lines 1..11
lib/l10n/be.js on lines 1..11
settings/l10n/es_ES.js on lines 1..11
settings/l10n/pl_PL.js on lines 1..11

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

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

OC.L10N.register(
    "files_sharing",
    {
    "A file or folder has been <strong>shared</strong>" : "ஒரு கோப்புறை அல்லது ஆவணம் <strong> பகிர்வு செய்யப்பட்டுள்ளது.</strong>",
    "You shared %1$s with %2$s" : "நீங்கள் %1$s 'ஐ %2$s உடன் பகிர்ந்துள்ளிர்கள். ",
Severity: Major
Found in apps/files_sharing/l10n/ta_IN.js and 34 other locations - About 40 mins to fix
apps/dav/l10n/af_ZA.js on lines 1..11
apps/dav/l10n/ca.js on lines 1..11
apps/dav/l10n/de_AT.js on lines 1..11
apps/dav/l10n/eo.js on lines 1..11
apps/dav/l10n/es_AR.js on lines 1..11
apps/dav/l10n/es_MX.js on lines 1..11
apps/dav/l10n/et_EE.js on lines 1..11
apps/dav/l10n/eu.js on lines 1..11
apps/dav/l10n/fa.js on lines 1..11
apps/dav/l10n/gu.js on lines 1..11
apps/dav/l10n/hr.js on lines 1..11
apps/dav/l10n/ia.js on lines 1..11
apps/dav/l10n/lb.js on lines 1..11
apps/dav/l10n/lo.js on lines 1..11
apps/dav/l10n/mk.js on lines 1..11
apps/dav/l10n/nn_NO.js on lines 1..11
apps/dav/l10n/sr.js on lines 1..11
apps/federatedfilesharing/l10n/af_ZA.js on lines 1..11
apps/federation/l10n/eo.js on lines 1..11
apps/files_external/l10n/pa.js on lines 1..11
apps/files_sharing/l10n/ku_IQ.js on lines 1..11
apps/files_sharing/l10n/ml_IN.js on lines 1..11
apps/systemtags/l10n/az.js on lines 1..11
apps/systemtags/l10n/es_AR.js on lines 1..11
apps/systemtags/l10n/hy.js on lines 1..11
apps/systemtags/l10n/id.js on lines 1..11
apps/systemtags/l10n/lv.js on lines 1..11
apps/systemtags/l10n/nn_NO.js on lines 1..11
apps/systemtags/l10n/sk_SK.js on lines 1..11
apps/systemtags/l10n/sr@latin.js on lines 1..11
core/l10n/mr.js on lines 1..11
lib/l10n/be.js on lines 1..11
settings/l10n/es_ES.js on lines 1..11
settings/l10n/pl_PL.js on lines 1..11

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

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

OC.L10N.register(
    "systemtags",
    {
    "Tags" : "Işarələr",
    "No files in here" : "Burda fayl yoxdur",
Severity: Major
Found in apps/systemtags/l10n/az.js and 34 other locations - About 40 mins to fix
apps/dav/l10n/af_ZA.js on lines 1..11
apps/dav/l10n/ca.js on lines 1..11
apps/dav/l10n/de_AT.js on lines 1..11
apps/dav/l10n/eo.js on lines 1..11
apps/dav/l10n/es_AR.js on lines 1..11
apps/dav/l10n/es_MX.js on lines 1..11
apps/dav/l10n/et_EE.js on lines 1..11
apps/dav/l10n/eu.js on lines 1..11
apps/dav/l10n/fa.js on lines 1..11
apps/dav/l10n/gu.js on lines 1..11
apps/dav/l10n/hr.js on lines 1..11
apps/dav/l10n/ia.js on lines 1..11
apps/dav/l10n/lb.js on lines 1..11
apps/dav/l10n/lo.js on lines 1..11
apps/dav/l10n/mk.js on lines 1..11
apps/dav/l10n/nn_NO.js on lines 1..11
apps/dav/l10n/sr.js on lines 1..11
apps/federatedfilesharing/l10n/af_ZA.js on lines 1..11
apps/federation/l10n/eo.js on lines 1..11
apps/files_external/l10n/pa.js on lines 1..11
apps/files_sharing/l10n/ku_IQ.js on lines 1..11
apps/files_sharing/l10n/ml_IN.js on lines 1..11
apps/files_sharing/l10n/ta_IN.js on lines 1..11
apps/systemtags/l10n/es_AR.js on lines 1..11
apps/systemtags/l10n/hy.js on lines 1..11
apps/systemtags/l10n/id.js on lines 1..11
apps/systemtags/l10n/lv.js on lines 1..11
apps/systemtags/l10n/nn_NO.js on lines 1..11
apps/systemtags/l10n/sk_SK.js on lines 1..11
apps/systemtags/l10n/sr@latin.js on lines 1..11
core/l10n/mr.js on lines 1..11
lib/l10n/be.js on lines 1..11
settings/l10n/es_ES.js on lines 1..11
settings/l10n/pl_PL.js on lines 1..11

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

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