owncloud/core

View on GitHub

Showing 1,266 of 4,502 total issues

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

OC.L10N.register(
    "core",
    {
    "Sunday" : "Linggo",
    "Monday" : "Lunes",
Severity: Major
Found in core/l10n/fil.js and 19 other locations - About 6 hrs to fix
apps/federatedfilesharing/l10n/ar.js on lines 1..33
apps/federatedfilesharing/l10n/de_CH.js on lines 1..33
apps/federatedfilesharing/l10n/gl.js on lines 1..33
apps/federatedfilesharing/l10n/he.js on lines 1..33
apps/federatedfilesharing/l10n/sv.js on lines 1..33
apps/files/l10n/ta.js on lines 1..33
apps/files_sharing/l10n/km.js on lines 1..33
apps/systemtags/l10n/ar.js on lines 1..33
apps/systemtags/l10n/ca.js on lines 1..33
apps/systemtags/l10n/de_CH.js on lines 1..33
apps/systemtags/l10n/gl.js on lines 1..33
apps/systemtags/l10n/is.js on lines 1..33
apps/systemtags/l10n/it.js on lines 1..33
apps/systemtags/l10n/ko.js on lines 1..33
apps/systemtags/l10n/pl.js on lines 1..33
apps/systemtags/l10n/pt_PT.js on lines 1..33
apps/systemtags/l10n/sv.js on lines 1..33
apps/systemtags/l10n/zh_TW.js on lines 1..33
core/l10n/be.js on lines 1..33

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

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

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

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

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

Refactorings

Further Reading

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

OC.L10N.register(
    "federatedfilesharing",
    {
    "Federated sharing" : "Federated Delning",
    "Add to" : "Lägg till till",
Severity: Major
Found in apps/federatedfilesharing/l10n/sv.js and 19 other locations - About 6 hrs to fix
apps/federatedfilesharing/l10n/ar.js on lines 1..33
apps/federatedfilesharing/l10n/de_CH.js on lines 1..33
apps/federatedfilesharing/l10n/gl.js on lines 1..33
apps/federatedfilesharing/l10n/he.js on lines 1..33
apps/files/l10n/ta.js on lines 1..33
apps/files_sharing/l10n/km.js on lines 1..33
apps/systemtags/l10n/ar.js on lines 1..33
apps/systemtags/l10n/ca.js on lines 1..33
apps/systemtags/l10n/de_CH.js on lines 1..33
apps/systemtags/l10n/gl.js on lines 1..33
apps/systemtags/l10n/is.js on lines 1..33
apps/systemtags/l10n/it.js on lines 1..33
apps/systemtags/l10n/ko.js on lines 1..33
apps/systemtags/l10n/pl.js on lines 1..33
apps/systemtags/l10n/pt_PT.js on lines 1..33
apps/systemtags/l10n/sv.js on lines 1..33
apps/systemtags/l10n/zh_TW.js on lines 1..33
core/l10n/be.js on lines 1..33
core/l10n/fil.js on lines 1..33

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

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

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

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

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

Refactorings

Further Reading

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

OC.L10N.register(
    "systemtags",
    {
    "Tags" : "Tags",
    "Tagged files" : "Tags",
Severity: Major
Found in apps/systemtags/l10n/de_CH.js and 19 other locations - About 6 hrs to fix
apps/federatedfilesharing/l10n/ar.js on lines 1..33
apps/federatedfilesharing/l10n/de_CH.js on lines 1..33
apps/federatedfilesharing/l10n/gl.js on lines 1..33
apps/federatedfilesharing/l10n/he.js on lines 1..33
apps/federatedfilesharing/l10n/sv.js on lines 1..33
apps/files/l10n/ta.js on lines 1..33
apps/files_sharing/l10n/km.js on lines 1..33
apps/systemtags/l10n/ar.js on lines 1..33
apps/systemtags/l10n/ca.js on lines 1..33
apps/systemtags/l10n/gl.js on lines 1..33
apps/systemtags/l10n/is.js on lines 1..33
apps/systemtags/l10n/it.js on lines 1..33
apps/systemtags/l10n/ko.js on lines 1..33
apps/systemtags/l10n/pl.js on lines 1..33
apps/systemtags/l10n/pt_PT.js on lines 1..33
apps/systemtags/l10n/sv.js on lines 1..33
apps/systemtags/l10n/zh_TW.js on lines 1..33
core/l10n/be.js on lines 1..33
core/l10n/fil.js on lines 1..33

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

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

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

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

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

Refactorings

Further Reading

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

OC.L10N.register(
    "systemtags",
    {
    "Tags" : "Merki",
    "Tagged files" : "Merktar skrár",
Severity: Major
Found in apps/systemtags/l10n/is.js and 19 other locations - About 6 hrs to fix
apps/federatedfilesharing/l10n/ar.js on lines 1..33
apps/federatedfilesharing/l10n/de_CH.js on lines 1..33
apps/federatedfilesharing/l10n/gl.js on lines 1..33
apps/federatedfilesharing/l10n/he.js on lines 1..33
apps/federatedfilesharing/l10n/sv.js on lines 1..33
apps/files/l10n/ta.js on lines 1..33
apps/files_sharing/l10n/km.js on lines 1..33
apps/systemtags/l10n/ar.js on lines 1..33
apps/systemtags/l10n/ca.js on lines 1..33
apps/systemtags/l10n/de_CH.js on lines 1..33
apps/systemtags/l10n/gl.js on lines 1..33
apps/systemtags/l10n/it.js on lines 1..33
apps/systemtags/l10n/ko.js on lines 1..33
apps/systemtags/l10n/pl.js on lines 1..33
apps/systemtags/l10n/pt_PT.js on lines 1..33
apps/systemtags/l10n/sv.js on lines 1..33
apps/systemtags/l10n/zh_TW.js on lines 1..33
core/l10n/be.js on lines 1..33
core/l10n/fil.js on lines 1..33

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

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

<?php

namespace OCA\FederatedFileSharing\Migrations;

use Doctrine\DBAL\Schema\Schema;
apps/files_sharing/appinfo/Migrations/Version20170804201253.php on lines 1..30

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

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 (!empty($search)) {
            // only user backends have the capability to do a complex search for users
            $searchOffset = 0;
            $searchLimit = $limit * 100;
            if ($limit === -1) {
Severity: Major
Found in lib/private/Group/Manager.php and 1 other location - About 6 hrs to fix
lib/private/Group/Manager.php on lines 396..421

Duplicated Code

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

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

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

Tuning

This issue has a mass of 206.

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

<?php

namespace OCA\Files_Sharing\Migrations;

use Doctrine\DBAL\Schema\Schema;
apps/federatedfilesharing/appinfo/Migrations/Version20170804201253.php on lines 1..30

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

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 (!empty($search)) {
            // only user backends have the capability to do a complex search for users
            $searchOffset = 0;
            $searchLimit = $limit * 100;
            if ($limit === -1) {
Severity: Major
Found in lib/private/Group/Manager.php and 1 other location - About 6 hrs to fix
lib/private/Group/Manager.php on lines 448..473

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

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 newFile($path) {
        if ($this->checkPermissions(\OCP\Constants::PERMISSION_CREATE)) {
            $fullPath = $this->getFullPath($path);
            $nonExisting = new NonExistingFile($this->root, $this->view, $fullPath);
            $this->root->emit('\OC\Files', 'preWrite', [$nonExisting]);
Severity: Major
Found in lib/private/Files/Node/Folder.php and 1 other location - About 6 hrs to fix
lib/private/Files/Node/Folder.php on lines 152..166

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

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 (!$schema->hasTable("{$prefix}external_options")) {
            $table = $schema->createTable("{$prefix}external_options");
            $table->addColumn('option_id', 'bigint', [
                'autoincrement' => true,
                'notnull' => true,
Severity: Major
Found in core/Migrations/Version20170111103310.php and 1 other location - About 6 hrs to fix
core/Migrations/Version20170111103310.php on lines 92..115

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

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 newFolder($path) {
        if ($this->checkPermissions(\OCP\Constants::PERMISSION_CREATE)) {
            $fullPath = $this->getFullPath($path);
            $nonExisting = new NonExistingFolder($this->root, $this->view, $fullPath);
            $this->root->emit('\OC\Files', 'preWrite', [$nonExisting]);
Severity: Major
Found in lib/private/Files/Node/Folder.php and 1 other location - About 6 hrs to fix
lib/private/Files/Node/Folder.php on lines 173..187

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

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 (!$schema->hasTable("{$prefix}external_config")) {
            $table = $schema->createTable("{$prefix}external_config");
            $table->addColumn('config_id', 'bigint', [
                'autoincrement' => true,
                'notnull' => true,
Severity: Major
Found in core/Migrations/Version20170111103310.php and 1 other location - About 6 hrs to fix
core/Migrations/Version20170111103310.php on lines 117..140

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

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

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

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

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

Refactorings

Further Reading

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

OC.L10N.register(
    "federatedfilesharing",
    {
    "Federated sharing" : "Deiling milli þjóna",
    "Loading..." : "Hleð...",
Severity: Major
Found in apps/federatedfilesharing/l10n/is.js and 19 other locations - About 5 hrs to fix
apps/federatedfilesharing/l10n/eu.js on lines 1..32
apps/federatedfilesharing/l10n/nl.js on lines 1..32
apps/files/l10n/cy_GB.js on lines 1..32
apps/files/l10n/si_LK.js on lines 1..32
apps/files/l10n/ta_LK.js on lines 1..32
apps/systemtags/l10n/af_ZA.js on lines 1..32
apps/systemtags/l10n/ast.js on lines 1..32
apps/systemtags/l10n/cs_CZ.js on lines 1..32
apps/systemtags/l10n/da.js on lines 1..32
apps/systemtags/l10n/fr.js on lines 1..32
apps/systemtags/l10n/hu_HU.js on lines 1..32
apps/systemtags/l10n/ja.js on lines 1..32
apps/systemtags/l10n/lb.js on lines 1..32
apps/systemtags/l10n/nb_NO.js on lines 1..32
apps/systemtags/l10n/nl.js on lines 1..32
apps/systemtags/l10n/oc.js on lines 1..32
apps/systemtags/l10n/ro.js on lines 1..32
apps/systemtags/l10n/sl.js on lines 1..32
apps/systemtags/l10n/uk.js on lines 1..32

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

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

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

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

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

Refactorings

Further Reading

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

OC.L10N.register(
    "systemtags",
    {
    "Tags" : "Stikkord",
    "Tagged files" : "Merkede filer",
Severity: Major
Found in apps/systemtags/l10n/nb_NO.js and 19 other locations - About 5 hrs to fix
apps/federatedfilesharing/l10n/eu.js on lines 1..32
apps/federatedfilesharing/l10n/is.js on lines 1..32
apps/federatedfilesharing/l10n/nl.js on lines 1..32
apps/files/l10n/cy_GB.js on lines 1..32
apps/files/l10n/si_LK.js on lines 1..32
apps/files/l10n/ta_LK.js on lines 1..32
apps/systemtags/l10n/af_ZA.js on lines 1..32
apps/systemtags/l10n/ast.js on lines 1..32
apps/systemtags/l10n/cs_CZ.js on lines 1..32
apps/systemtags/l10n/da.js on lines 1..32
apps/systemtags/l10n/fr.js on lines 1..32
apps/systemtags/l10n/hu_HU.js on lines 1..32
apps/systemtags/l10n/ja.js on lines 1..32
apps/systemtags/l10n/lb.js on lines 1..32
apps/systemtags/l10n/nl.js on lines 1..32
apps/systemtags/l10n/oc.js on lines 1..32
apps/systemtags/l10n/ro.js on lines 1..32
apps/systemtags/l10n/sl.js on lines 1..32
apps/systemtags/l10n/uk.js on lines 1..32

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

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

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

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

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

Refactorings

Further Reading

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

OC.L10N.register(
    "systemtags",
    {
    "Tags" : "Etikette",
    "Tagged files" : "Geëtiketteerde lêers",
Severity: Major
Found in apps/systemtags/l10n/af_ZA.js and 19 other locations - About 5 hrs to fix
apps/federatedfilesharing/l10n/eu.js on lines 1..32
apps/federatedfilesharing/l10n/is.js on lines 1..32
apps/federatedfilesharing/l10n/nl.js on lines 1..32
apps/files/l10n/cy_GB.js on lines 1..32
apps/files/l10n/si_LK.js on lines 1..32
apps/files/l10n/ta_LK.js on lines 1..32
apps/systemtags/l10n/ast.js on lines 1..32
apps/systemtags/l10n/cs_CZ.js on lines 1..32
apps/systemtags/l10n/da.js on lines 1..32
apps/systemtags/l10n/fr.js on lines 1..32
apps/systemtags/l10n/hu_HU.js on lines 1..32
apps/systemtags/l10n/ja.js on lines 1..32
apps/systemtags/l10n/lb.js on lines 1..32
apps/systemtags/l10n/nb_NO.js on lines 1..32
apps/systemtags/l10n/nl.js on lines 1..32
apps/systemtags/l10n/oc.js on lines 1..32
apps/systemtags/l10n/ro.js on lines 1..32
apps/systemtags/l10n/sl.js on lines 1..32
apps/systemtags/l10n/uk.js on lines 1..32

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

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

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

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

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

Refactorings

Further Reading

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

OC.L10N.register(
    "systemtags",
    {
    "Tags" : "Značky",
    "Tagged files" : "Otagované soubory",
Severity: Major
Found in apps/systemtags/l10n/cs_CZ.js and 19 other locations - About 5 hrs to fix
apps/federatedfilesharing/l10n/eu.js on lines 1..32
apps/federatedfilesharing/l10n/is.js on lines 1..32
apps/federatedfilesharing/l10n/nl.js on lines 1..32
apps/files/l10n/cy_GB.js on lines 1..32
apps/files/l10n/si_LK.js on lines 1..32
apps/files/l10n/ta_LK.js on lines 1..32
apps/systemtags/l10n/af_ZA.js on lines 1..32
apps/systemtags/l10n/ast.js on lines 1..32
apps/systemtags/l10n/da.js on lines 1..32
apps/systemtags/l10n/fr.js on lines 1..32
apps/systemtags/l10n/hu_HU.js on lines 1..32
apps/systemtags/l10n/ja.js on lines 1..32
apps/systemtags/l10n/lb.js on lines 1..32
apps/systemtags/l10n/nb_NO.js on lines 1..32
apps/systemtags/l10n/nl.js on lines 1..32
apps/systemtags/l10n/oc.js on lines 1..32
apps/systemtags/l10n/ro.js on lines 1..32
apps/systemtags/l10n/sl.js on lines 1..32
apps/systemtags/l10n/uk.js on lines 1..32

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

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

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

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

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

Refactorings

Further Reading

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

OC.L10N.register(
    "files",
    {
    "Close" : "වසන්න",
    "Upload cancelled." : "උඩුගත කිරීම අත් හරින්න ලදී",
Severity: Major
Found in apps/files/l10n/si_LK.js and 19 other locations - About 5 hrs to fix
apps/federatedfilesharing/l10n/eu.js on lines 1..32
apps/federatedfilesharing/l10n/is.js on lines 1..32
apps/federatedfilesharing/l10n/nl.js on lines 1..32
apps/files/l10n/cy_GB.js on lines 1..32
apps/files/l10n/ta_LK.js on lines 1..32
apps/systemtags/l10n/af_ZA.js on lines 1..32
apps/systemtags/l10n/ast.js on lines 1..32
apps/systemtags/l10n/cs_CZ.js on lines 1..32
apps/systemtags/l10n/da.js on lines 1..32
apps/systemtags/l10n/fr.js on lines 1..32
apps/systemtags/l10n/hu_HU.js on lines 1..32
apps/systemtags/l10n/ja.js on lines 1..32
apps/systemtags/l10n/lb.js on lines 1..32
apps/systemtags/l10n/nb_NO.js on lines 1..32
apps/systemtags/l10n/nl.js on lines 1..32
apps/systemtags/l10n/oc.js on lines 1..32
apps/systemtags/l10n/ro.js on lines 1..32
apps/systemtags/l10n/sl.js on lines 1..32
apps/systemtags/l10n/uk.js on lines 1..32

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

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

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

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

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

Refactorings

Further Reading

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

OC.L10N.register(
    "files",
    {
    "Close" : "Cau",
    "Upload cancelled." : "Diddymwyd llwytho i fyny.",
Severity: Major
Found in apps/files/l10n/cy_GB.js and 19 other locations - About 5 hrs to fix
apps/federatedfilesharing/l10n/eu.js on lines 1..32
apps/federatedfilesharing/l10n/is.js on lines 1..32
apps/federatedfilesharing/l10n/nl.js on lines 1..32
apps/files/l10n/si_LK.js on lines 1..32
apps/files/l10n/ta_LK.js on lines 1..32
apps/systemtags/l10n/af_ZA.js on lines 1..32
apps/systemtags/l10n/ast.js on lines 1..32
apps/systemtags/l10n/cs_CZ.js on lines 1..32
apps/systemtags/l10n/da.js on lines 1..32
apps/systemtags/l10n/fr.js on lines 1..32
apps/systemtags/l10n/hu_HU.js on lines 1..32
apps/systemtags/l10n/ja.js on lines 1..32
apps/systemtags/l10n/lb.js on lines 1..32
apps/systemtags/l10n/nb_NO.js on lines 1..32
apps/systemtags/l10n/nl.js on lines 1..32
apps/systemtags/l10n/oc.js on lines 1..32
apps/systemtags/l10n/ro.js on lines 1..32
apps/systemtags/l10n/sl.js on lines 1..32
apps/systemtags/l10n/uk.js on lines 1..32

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

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

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

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

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

Refactorings

Further Reading

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

OC.L10N.register(
    "systemtags",
    {
    "Tags" : "Etiquetes",
    "Tagged files" : "Ficheros marcaos",
Severity: Major
Found in apps/systemtags/l10n/ast.js and 19 other locations - About 5 hrs to fix
apps/federatedfilesharing/l10n/eu.js on lines 1..32
apps/federatedfilesharing/l10n/is.js on lines 1..32
apps/federatedfilesharing/l10n/nl.js on lines 1..32
apps/files/l10n/cy_GB.js on lines 1..32
apps/files/l10n/si_LK.js on lines 1..32
apps/files/l10n/ta_LK.js on lines 1..32
apps/systemtags/l10n/af_ZA.js on lines 1..32
apps/systemtags/l10n/cs_CZ.js on lines 1..32
apps/systemtags/l10n/da.js on lines 1..32
apps/systemtags/l10n/fr.js on lines 1..32
apps/systemtags/l10n/hu_HU.js on lines 1..32
apps/systemtags/l10n/ja.js on lines 1..32
apps/systemtags/l10n/lb.js on lines 1..32
apps/systemtags/l10n/nb_NO.js on lines 1..32
apps/systemtags/l10n/nl.js on lines 1..32
apps/systemtags/l10n/oc.js on lines 1..32
apps/systemtags/l10n/ro.js on lines 1..32
apps/systemtags/l10n/sl.js on lines 1..32
apps/systemtags/l10n/uk.js on lines 1..32

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

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

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

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

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

Refactorings

Further Reading

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

OC.L10N.register(
    "files",
    {
    "Home" : "அகம்",
    "Close" : "மூடுக",
Severity: Major
Found in apps/files/l10n/ta_LK.js and 19 other locations - About 5 hrs to fix
apps/federatedfilesharing/l10n/eu.js on lines 1..32
apps/federatedfilesharing/l10n/is.js on lines 1..32
apps/federatedfilesharing/l10n/nl.js on lines 1..32
apps/files/l10n/cy_GB.js on lines 1..32
apps/files/l10n/si_LK.js on lines 1..32
apps/systemtags/l10n/af_ZA.js on lines 1..32
apps/systemtags/l10n/ast.js on lines 1..32
apps/systemtags/l10n/cs_CZ.js on lines 1..32
apps/systemtags/l10n/da.js on lines 1..32
apps/systemtags/l10n/fr.js on lines 1..32
apps/systemtags/l10n/hu_HU.js on lines 1..32
apps/systemtags/l10n/ja.js on lines 1..32
apps/systemtags/l10n/lb.js on lines 1..32
apps/systemtags/l10n/nb_NO.js on lines 1..32
apps/systemtags/l10n/nl.js on lines 1..32
apps/systemtags/l10n/oc.js on lines 1..32
apps/systemtags/l10n/ro.js on lines 1..32
apps/systemtags/l10n/sl.js on lines 1..32
apps/systemtags/l10n/uk.js on lines 1..32

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

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