interfasys/galleryplus

View on GitHub

Showing 178 of 178 total issues

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "Gallery",
    "There was a problem reading files from this album" : "There was a problem reading files from this album",
Severity: Major
Found in l10n/en_GB.js and 17 other locations - About 3 days to fix
l10n/de.js on lines 1..116
l10n/de_DE.js on lines 1..116
l10n/el.js on lines 1..116
l10n/es.js on lines 1..116
l10n/gl.js on lines 1..116
l10n/he.js on lines 1..116
l10n/is.js on lines 1..116
l10n/it.js on lines 1..116
l10n/lt_LT.js on lines 1..116
l10n/mk.js on lines 1..116
l10n/nb_NO.js on lines 1..116
l10n/pl.js on lines 1..116
l10n/pt_BR.js on lines 1..116
l10n/ru.js on lines 1..116
l10n/sq.js on lines 1..116
l10n/th_TH.js on lines 1..116
l10n/zh_CN.js on lines 1..116

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

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "Galería",
    "There was a problem reading files from this album" : "Produciuse un problema lendo os ficheiros deste álbum ",
Severity: Major
Found in l10n/gl.js and 17 other locations - About 3 days to fix
l10n/de.js on lines 1..116
l10n/de_DE.js on lines 1..116
l10n/el.js on lines 1..116
l10n/en_GB.js on lines 1..116
l10n/es.js on lines 1..116
l10n/he.js on lines 1..116
l10n/is.js on lines 1..116
l10n/it.js on lines 1..116
l10n/lt_LT.js on lines 1..116
l10n/mk.js on lines 1..116
l10n/nb_NO.js on lines 1..116
l10n/pl.js on lines 1..116
l10n/pt_BR.js on lines 1..116
l10n/ru.js on lines 1..116
l10n/sq.js on lines 1..116
l10n/th_TH.js on lines 1..116
l10n/zh_CN.js on lines 1..116

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

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "Galleri",
    "There was a problem reading files from this album" : "Det oppstod ett problem under lasting av filer fra dette albumet",
Severity: Major
Found in l10n/nb_NO.js and 17 other locations - About 3 days to fix
l10n/de.js on lines 1..116
l10n/de_DE.js on lines 1..116
l10n/el.js on lines 1..116
l10n/en_GB.js on lines 1..116
l10n/es.js on lines 1..116
l10n/gl.js on lines 1..116
l10n/he.js on lines 1..116
l10n/is.js on lines 1..116
l10n/it.js on lines 1..116
l10n/lt_LT.js on lines 1..116
l10n/mk.js on lines 1..116
l10n/pl.js on lines 1..116
l10n/pt_BR.js on lines 1..116
l10n/ru.js on lines 1..116
l10n/sq.js on lines 1..116
l10n/th_TH.js on lines 1..116
l10n/zh_CN.js on lines 1..116

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

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "גלריה",
    "There was a problem reading files from this album" : "קיימת בעיה בקריאת הקבצים מאלבום זה",
Severity: Major
Found in l10n/he.js and 17 other locations - About 3 days to fix
l10n/de.js on lines 1..116
l10n/de_DE.js on lines 1..116
l10n/el.js on lines 1..116
l10n/en_GB.js on lines 1..116
l10n/es.js on lines 1..116
l10n/gl.js on lines 1..116
l10n/is.js on lines 1..116
l10n/it.js on lines 1..116
l10n/lt_LT.js on lines 1..116
l10n/mk.js on lines 1..116
l10n/nb_NO.js on lines 1..116
l10n/pl.js on lines 1..116
l10n/pt_BR.js on lines 1..116
l10n/ru.js on lines 1..116
l10n/sq.js on lines 1..116
l10n/th_TH.js on lines 1..116
l10n/zh_CN.js on lines 1..116

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

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "Galería",
    "There was a problem reading files from this album" : "Hubo un problema al leer los archivos de este álbum",
Severity: Major
Found in l10n/es.js and 17 other locations - About 3 days to fix
l10n/de.js on lines 1..116
l10n/de_DE.js on lines 1..116
l10n/el.js on lines 1..116
l10n/en_GB.js on lines 1..116
l10n/gl.js on lines 1..116
l10n/he.js on lines 1..116
l10n/is.js on lines 1..116
l10n/it.js on lines 1..116
l10n/lt_LT.js on lines 1..116
l10n/mk.js on lines 1..116
l10n/nb_NO.js on lines 1..116
l10n/pl.js on lines 1..116
l10n/pt_BR.js on lines 1..116
l10n/ru.js on lines 1..116
l10n/sq.js on lines 1..116
l10n/th_TH.js on lines 1..116
l10n/zh_CN.js on lines 1..116

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

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "Galerie",
    "There was a problem reading files from this album" : "Es gab ein Problem Dateien aus diesem Album zu lesen",
Severity: Major
Found in l10n/de_DE.js and 17 other locations - About 3 days to fix
l10n/de.js on lines 1..116
l10n/el.js on lines 1..116
l10n/en_GB.js on lines 1..116
l10n/es.js on lines 1..116
l10n/gl.js on lines 1..116
l10n/he.js on lines 1..116
l10n/is.js on lines 1..116
l10n/it.js on lines 1..116
l10n/lt_LT.js on lines 1..116
l10n/mk.js on lines 1..116
l10n/nb_NO.js on lines 1..116
l10n/pl.js on lines 1..116
l10n/pt_BR.js on lines 1..116
l10n/ru.js on lines 1..116
l10n/sq.js on lines 1..116
l10n/th_TH.js on lines 1..116
l10n/zh_CN.js on lines 1..116

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

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "แกลอรี่",
    "There was a problem reading files from this album" : "เกิดปัญหาการอ่านไฟล์จากอัลบั้มนี้",
Severity: Major
Found in l10n/th_TH.js and 17 other locations - About 3 days to fix
l10n/de.js on lines 1..116
l10n/de_DE.js on lines 1..116
l10n/el.js on lines 1..116
l10n/en_GB.js on lines 1..116
l10n/es.js on lines 1..116
l10n/gl.js on lines 1..116
l10n/he.js on lines 1..116
l10n/is.js on lines 1..116
l10n/it.js on lines 1..116
l10n/lt_LT.js on lines 1..116
l10n/mk.js on lines 1..116
l10n/nb_NO.js on lines 1..116
l10n/pl.js on lines 1..116
l10n/pt_BR.js on lines 1..116
l10n/ru.js on lines 1..116
l10n/sq.js on lines 1..116
l10n/zh_CN.js on lines 1..116

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

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "Galeri",
    "There was a problem reading files from this album" : "Pati një problem me leximin e kartelave prej këtij albumi",
Severity: Major
Found in l10n/sq.js and 17 other locations - About 3 days to fix
l10n/de.js on lines 1..116
l10n/de_DE.js on lines 1..116
l10n/el.js on lines 1..116
l10n/en_GB.js on lines 1..116
l10n/es.js on lines 1..116
l10n/gl.js on lines 1..116
l10n/he.js on lines 1..116
l10n/is.js on lines 1..116
l10n/it.js on lines 1..116
l10n/lt_LT.js on lines 1..116
l10n/mk.js on lines 1..116
l10n/nb_NO.js on lines 1..116
l10n/pl.js on lines 1..116
l10n/pt_BR.js on lines 1..116
l10n/ru.js on lines 1..116
l10n/th_TH.js on lines 1..116
l10n/zh_CN.js on lines 1..116

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

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "Галерея",
    "There was a problem reading files from this album" : "Проблема при чтении файлов из этого альбома",
Severity: Major
Found in l10n/ru.js and 17 other locations - About 3 days to fix
l10n/de.js on lines 1..116
l10n/de_DE.js on lines 1..116
l10n/el.js on lines 1..116
l10n/en_GB.js on lines 1..116
l10n/es.js on lines 1..116
l10n/gl.js on lines 1..116
l10n/he.js on lines 1..116
l10n/is.js on lines 1..116
l10n/it.js on lines 1..116
l10n/lt_LT.js on lines 1..116
l10n/mk.js on lines 1..116
l10n/nb_NO.js on lines 1..116
l10n/pl.js on lines 1..116
l10n/pt_BR.js on lines 1..116
l10n/sq.js on lines 1..116
l10n/th_TH.js on lines 1..116
l10n/zh_CN.js on lines 1..116

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

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "Galleria",
    "There was a problem reading files from this album" : "Si è verificato un problema durante la lettura dei file da questo album.",
Severity: Major
Found in l10n/it.js and 17 other locations - About 3 days to fix
l10n/de.js on lines 1..116
l10n/de_DE.js on lines 1..116
l10n/el.js on lines 1..116
l10n/en_GB.js on lines 1..116
l10n/es.js on lines 1..116
l10n/gl.js on lines 1..116
l10n/he.js on lines 1..116
l10n/is.js on lines 1..116
l10n/lt_LT.js on lines 1..116
l10n/mk.js on lines 1..116
l10n/nb_NO.js on lines 1..116
l10n/pl.js on lines 1..116
l10n/pt_BR.js on lines 1..116
l10n/ru.js on lines 1..116
l10n/sq.js on lines 1..116
l10n/th_TH.js on lines 1..116
l10n/zh_CN.js on lines 1..116

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

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "Galeria",
    "There was a problem reading files from this album" : "Houve um problema ao ler arquivos desse álbum",
Severity: Major
Found in l10n/pt_BR.js and 17 other locations - About 3 days to fix
l10n/de.js on lines 1..116
l10n/de_DE.js on lines 1..116
l10n/el.js on lines 1..116
l10n/en_GB.js on lines 1..116
l10n/es.js on lines 1..116
l10n/gl.js on lines 1..116
l10n/he.js on lines 1..116
l10n/is.js on lines 1..116
l10n/it.js on lines 1..116
l10n/lt_LT.js on lines 1..116
l10n/mk.js on lines 1..116
l10n/nb_NO.js on lines 1..116
l10n/pl.js on lines 1..116
l10n/ru.js on lines 1..116
l10n/sq.js on lines 1..116
l10n/th_TH.js on lines 1..116
l10n/zh_CN.js on lines 1..116

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

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "Galerija",
    "There was a problem reading files from this album" : "Klaida nuskaitant šio albumo failus",
Severity: Major
Found in l10n/lt_LT.js and 17 other locations - About 3 days to fix
l10n/de.js on lines 1..116
l10n/de_DE.js on lines 1..116
l10n/el.js on lines 1..116
l10n/en_GB.js on lines 1..116
l10n/es.js on lines 1..116
l10n/gl.js on lines 1..116
l10n/he.js on lines 1..116
l10n/is.js on lines 1..116
l10n/it.js on lines 1..116
l10n/mk.js on lines 1..116
l10n/nb_NO.js on lines 1..116
l10n/pl.js on lines 1..116
l10n/pt_BR.js on lines 1..116
l10n/ru.js on lines 1..116
l10n/sq.js on lines 1..116
l10n/th_TH.js on lines 1..116
l10n/zh_CN.js on lines 1..116

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

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "Συλλογή",
    "There was a problem reading files from this album" : "Υπήρξε πρόβλημα ανάγνωσης αρχείων από το άλμπουμ",
Severity: Major
Found in l10n/el.js and 17 other locations - About 3 days to fix
l10n/de.js on lines 1..116
l10n/de_DE.js on lines 1..116
l10n/en_GB.js on lines 1..116
l10n/es.js on lines 1..116
l10n/gl.js on lines 1..116
l10n/he.js on lines 1..116
l10n/is.js on lines 1..116
l10n/it.js on lines 1..116
l10n/lt_LT.js on lines 1..116
l10n/mk.js on lines 1..116
l10n/nb_NO.js on lines 1..116
l10n/pl.js on lines 1..116
l10n/pt_BR.js on lines 1..116
l10n/ru.js on lines 1..116
l10n/sq.js on lines 1..116
l10n/th_TH.js on lines 1..116
l10n/zh_CN.js on lines 1..116

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

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "Galeria",
    "There was a problem reading files from this album" : "Wystąpił problem podczas odczytywania pliku z tego albumu",
Severity: Major
Found in l10n/pl.js and 17 other locations - About 3 days to fix
l10n/de.js on lines 1..116
l10n/de_DE.js on lines 1..116
l10n/el.js on lines 1..116
l10n/en_GB.js on lines 1..116
l10n/es.js on lines 1..116
l10n/gl.js on lines 1..116
l10n/he.js on lines 1..116
l10n/is.js on lines 1..116
l10n/it.js on lines 1..116
l10n/lt_LT.js on lines 1..116
l10n/mk.js on lines 1..116
l10n/nb_NO.js on lines 1..116
l10n/pt_BR.js on lines 1..116
l10n/ru.js on lines 1..116
l10n/sq.js on lines 1..116
l10n/th_TH.js on lines 1..116
l10n/zh_CN.js on lines 1..116

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

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "相册",
    "There was a problem reading files from this album" : "从相册中读文件时出现了一个问题",
Severity: Major
Found in l10n/zh_CN.js and 17 other locations - About 3 days to fix
l10n/de.js on lines 1..116
l10n/de_DE.js on lines 1..116
l10n/el.js on lines 1..116
l10n/en_GB.js on lines 1..116
l10n/es.js on lines 1..116
l10n/gl.js on lines 1..116
l10n/he.js on lines 1..116
l10n/is.js on lines 1..116
l10n/it.js on lines 1..116
l10n/lt_LT.js on lines 1..116
l10n/mk.js on lines 1..116
l10n/nb_NO.js on lines 1..116
l10n/pl.js on lines 1..116
l10n/pt_BR.js on lines 1..116
l10n/ru.js on lines 1..116
l10n/sq.js on lines 1..116
l10n/th_TH.js on lines 1..116

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

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "Galerie",
    "There was a problem reading files from this album" : "Es gab ein Problem Dateien aus diesem Album zu lesen",
Severity: Major
Found in l10n/de.js and 17 other locations - About 3 days to fix
l10n/de_DE.js on lines 1..116
l10n/el.js on lines 1..116
l10n/en_GB.js on lines 1..116
l10n/es.js on lines 1..116
l10n/gl.js on lines 1..116
l10n/he.js on lines 1..116
l10n/is.js on lines 1..116
l10n/it.js on lines 1..116
l10n/lt_LT.js on lines 1..116
l10n/mk.js on lines 1..116
l10n/nb_NO.js on lines 1..116
l10n/pl.js on lines 1..116
l10n/pt_BR.js on lines 1..116
l10n/ru.js on lines 1..116
l10n/sq.js on lines 1..116
l10n/th_TH.js on lines 1..116
l10n/zh_CN.js on lines 1..116

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

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "Myndasafn",
    "There was a problem reading files from this album" : "Það kom upp vandamál við að lesa skrár úr þessu albúmi",
Severity: Major
Found in l10n/is.js and 17 other locations - About 3 days to fix
l10n/de.js on lines 1..116
l10n/de_DE.js on lines 1..116
l10n/el.js on lines 1..116
l10n/en_GB.js on lines 1..116
l10n/es.js on lines 1..116
l10n/gl.js on lines 1..116
l10n/he.js on lines 1..116
l10n/it.js on lines 1..116
l10n/lt_LT.js on lines 1..116
l10n/mk.js on lines 1..116
l10n/nb_NO.js on lines 1..116
l10n/pl.js on lines 1..116
l10n/pt_BR.js on lines 1..116
l10n/ru.js on lines 1..116
l10n/sq.js on lines 1..116
l10n/th_TH.js on lines 1..116
l10n/zh_CN.js on lines 1..116

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

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "Галерија",
    "There was a problem reading files from this album" : "Има проблем при вчитувањето на некој датотеки од овој албум",
Severity: Major
Found in l10n/mk.js and 17 other locations - About 3 days to fix
l10n/de.js on lines 1..116
l10n/de_DE.js on lines 1..116
l10n/el.js on lines 1..116
l10n/en_GB.js on lines 1..116
l10n/es.js on lines 1..116
l10n/gl.js on lines 1..116
l10n/he.js on lines 1..116
l10n/is.js on lines 1..116
l10n/it.js on lines 1..116
l10n/lt_LT.js on lines 1..116
l10n/nb_NO.js on lines 1..116
l10n/pl.js on lines 1..116
l10n/pt_BR.js on lines 1..116
l10n/ru.js on lines 1..116
l10n/sq.js on lines 1..116
l10n/th_TH.js on lines 1..116
l10n/zh_CN.js on lines 1..116

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

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

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

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

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

Refactorings

Further Reading

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "Galleria",
    "There was a problem reading files from this album" : "Ongelma tämä kansion tiedostoja lukiessa",
Severity: Major
Found in l10n/fi_FI.js and 18 other locations - About 3 days to fix
l10n/af_ZA.js on lines 1..115
l10n/ast.js on lines 1..115
l10n/bg_BG.js on lines 1..115
l10n/cs_CZ.js on lines 1..115
l10n/da.js on lines 1..115
l10n/fa.js on lines 1..115
l10n/fr.js on lines 1..115
l10n/hu_HU.js on lines 1..115
l10n/ja.js on lines 1..115
l10n/ko.js on lines 1..115
l10n/nl.js on lines 1..115
l10n/oc.js on lines 1..115
l10n/pt_PT.js on lines 1..115
l10n/sk_SK.js on lines 1..115
l10n/sl.js on lines 1..115
l10n/sv.js on lines 1..115
l10n/tr.js on lines 1..115
l10n/zh_TW.js on lines 1..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 568.

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

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

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

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

Refactorings

Further Reading

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "Galleri",
    "There was a problem reading files from this album" : "Der opstod et problem med at læse filer fra dette album",
Severity: Major
Found in l10n/da.js and 18 other locations - About 3 days to fix
l10n/af_ZA.js on lines 1..115
l10n/ast.js on lines 1..115
l10n/bg_BG.js on lines 1..115
l10n/cs_CZ.js on lines 1..115
l10n/fa.js on lines 1..115
l10n/fi_FI.js on lines 1..115
l10n/fr.js on lines 1..115
l10n/hu_HU.js on lines 1..115
l10n/ja.js on lines 1..115
l10n/ko.js on lines 1..115
l10n/nl.js on lines 1..115
l10n/oc.js on lines 1..115
l10n/pt_PT.js on lines 1..115
l10n/sk_SK.js on lines 1..115
l10n/sl.js on lines 1..115
l10n/sv.js on lines 1..115
l10n/tr.js on lines 1..115
l10n/zh_TW.js on lines 1..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 568.

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