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(
    "systemtags",
    {
    "Tags" : "Címkék",
    "Tagged files" : "Címkézett fájlok",
Severity: Major
Found in apps/systemtags/l10n/hu_HU.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/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" : "Oznake",
    "Tagged files" : "Označene datoteke",
Severity: Major
Found in apps/systemtags/l10n/sl.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/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/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" : "Etiketten",
    "Tagged files" : "Etikettéiert Fichieren",
Severity: Major
Found in apps/systemtags/l10n/lb.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/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" : "Tags",
    "Tagged files" : "Getagde bestanden",
Severity: Major
Found in apps/systemtags/l10n/nl.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/nb_NO.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" : "Мітки",
    "Tagged files" : "Відмічені файли",
Severity: Major
Found in apps/systemtags/l10n/uk.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/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

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(
    "federatedfilesharing",
    {
    "Federated sharing" : "Gefedereerd delen",
    "Loading..." : "Laden ...",
Severity: Major
Found in apps/federatedfilesharing/l10n/nl.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/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" : "Étiquettes",
    "Tagged files" : "Fichiers étiquetés",
Severity: Major
Found in apps/systemtags/l10n/fr.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/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" : "Mærker",
    "Tagged files" : "Mærkede filer",
Severity: Major
Found in apps/systemtags/l10n/da.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/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" : "Etiquetas",
    "Tagged files" : "Fichièrs etiquetats",
Severity: Major
Found in apps/systemtags/l10n/oc.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/nb_NO.js on lines 1..32
apps/systemtags/l10n/nl.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" : "Cuvinte cheie",
    "Tagged files" : "Fișiere etichetate",
Severity: Major
Found in apps/systemtags/l10n/ro.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/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/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(
    "federatedfilesharing",
    {
    "Federated sharing" : "Partekatze federatua",
    "Loading..." : "Kargatzen...",
Severity: Major
Found in apps/federatedfilesharing/l10n/eu.js and 19 other locations - About 5 hrs to fix
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/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" : "タグ",
    "Tagged files" : "タグ済ファイル",
Severity: Major
Found in apps/systemtags/l10n/ja.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/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

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

    public function isExpired($timestamp, $quotaExceeded = false) {
        // No expiration if disabled
        if (!$this->isEnabled()) {
            return false;
        }
Severity: Major
Found in apps/files_trashbin/lib/Expiration.php and 1 other location - About 5 hrs to fix
apps/files_versions/lib/Expiration.php on lines 77..112

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

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

    public function isExpired($timestamp, $quotaExceeded = false) {
        // No expiration if disabled
        if (!$this->isEnabled()) {
            return false;
        }
Severity: Major
Found in apps/files_versions/lib/Expiration.php and 1 other location - About 5 hrs to fix
apps/files_trashbin/lib/Expiration.php on lines 71..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 198.

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

        '<div class="error-message-global hidden"></div>' +
        '<div class="public-link-modal">'+
            '<div class="public-link-modal--item">' +
                '<label class="public-link-modal--label">{{linkNameLabel}}</label>' +
                '<input class="public-link-modal--input" type="text" name="linkName" placeholder="{{namePlaceholder}}" value="{{name}}" maxlength="64" />' +
Severity: Major
Found in core/js/sharedialoglinkshareview.js and 1 other location - About 5 hrs to fix
core/js/sharedialoglinklistview.js on lines 17..54

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

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

        '<span class="icon-loading-small hidden"></span>' +
        '<ul class="link-shares">' +
        '{{#each shares}}' +
        '<li class="link-entry" data-id="{{id}}">' +
            '<span class="link-entry--icon icon-public-white"></span>' +
Severity: Major
Found in core/js/sharedialoglinklistview.js and 1 other location - About 5 hrs to fix
core/js/sharedialoglinkshareview.js on lines 19..56

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

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(!result || result.status !== 'success') {
                    if (result.data && result.data.message) {
                        OC.Settings.Apps.showErrorMessage(appId, result.data.message);
                        appItem.data('errormsg', result.data.message);
                    } else {
Severity: Major
Found in settings/js/admin-apps.js and 1 other location - About 5 hrs to fix
settings/js/admin-apps.js on lines 300..360

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

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(!result || result.status !== 'success') {
                    if (result.data && result.data.message) {
                        OC.Settings.Apps.showErrorMessage(appId, result.data.message);
                        appItem.data('errormsg', result.data.message);
                    } else {
Severity: Major
Found in settings/js/admin-apps.js and 1 other location - About 5 hrs to fix
settings/js/admin-apps.js on lines 274..294

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

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" : "Unbekannter Fehler",
    "Close" : "Schliessen",
Severity: Major
Found in apps/files/l10n/de_AT.js and 1 other location - About 5 hrs to fix
apps/files_external/l10n/bn_BD.js on lines 1..31

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

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_external",
    {
    "Step 1 failed. Exception: %s" : "প্রথম ধাপ ব্যার্থ। ব্যতিক্রম: %s",
    "External storage" : "বাহ্যিক সংরক্ষণাগার",
Severity: Major
Found in apps/files_external/l10n/bn_BD.js and 1 other location - About 5 hrs to fix
apps/files/l10n/de_AT.js on lines 1..31

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

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