interfasys/galleryplus

View on GitHub

Showing 178 of 178 total issues

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "Galerije",
    "There was a problem reading files from this album" : "Prišlo je do težav med branjem datotek tega albuma",
Severity: Major
Found in l10n/sl.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/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/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" : "相片",
    "There was a problem reading files from this album" : "從相簿讀取檔案時發生問題",
Severity: Major
Found in l10n/zh_TW.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/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

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" : "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" : "Galéria",
    "There was a problem reading files from this album" : "Nastal problém s načítaním súborov z tohto albumu",
Severity: Major
Found in l10n/sk_SK.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/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/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" : "Album",
    "There was a problem reading files from this album" : "Er was een probleem met het laden van bestanden van dit album",
Severity: Major
Found in l10n/nl.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/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/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" : "Galeria",
    "There was a problem reading files from this album" : "Ocorreu um problema ao ler os ficheiros deste álbum",
Severity: Major
Found in l10n/pt_PT.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/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/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" : "Galerie",
    "There was a problem reading files from this album" : "Nastal problém při čtení souborů z tohoto alba",
Severity: Major
Found in l10n/cs_CZ.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/da.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

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "Galerie",
    "There was a problem reading files from this album" : "Il y a eu un problème lors de la lecture des fichiers de cet album",
Severity: Major
Found in l10n/fr.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/fi_FI.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" : "Galeri",
    "There was a problem reading files from this album" : "Bu albümden dosyalar okunurken bir hata oluştu",
Severity: Major
Found in l10n/tr.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/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/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" : "Galariá",
    "There was a problem reading files from this album" : "I a agut un problèma al moment e la lectura dels fichièrs d'aqueste album",
Severity: Major
Found in l10n/oc.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/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/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" : "Där uppstod ett problem under inläsning av filer för detta album",
Severity: Major
Found in l10n/sv.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/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/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" : "گالری",
    "There was a problem reading files from this album" : "مشکلی در خواندن فایل ها از این آلبوم وجود داشت",
Severity: Major
Found in l10n/fa.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/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

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "Galería",
    "There was a problem reading files from this album" : "Hubo un problema al lleer arquivos d'esti álbum",
Severity: Major
Found in l10n/ast.js and 18 other locations - About 3 days to fix
l10n/af_ZA.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/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

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "갤러리",
    "There was a problem reading files from this album" : "앨범에서 파일을 읽는 중 문제 발생",
Severity: Major
Found in l10n/ko.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/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/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" : "Галерия",
    "There was a problem reading files from this album" : "Възникна проблем при прочета на файлове от този албум",
Severity: Major
Found in l10n/bg_BG.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/cs_CZ.js on lines 1..115
l10n/da.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

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "Galery",
    "There was a problem reading files from this album" : "Daar was ’n fout toe lêers van hierdie album gelees is",
Severity: Major
Found in l10n/af_ZA.js and 18 other locations - About 3 days to fix
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/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

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

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

OC.L10N.register(
    "gallery",
    {
    "Gallery" : "Galerii",
    "Aborting preview. Could not find the file" : "Eelvaate tühistamine. Faili ei leitud",
Severity: Major
Found in l10n/et_EE.js and 1 other location - About 3 days to fix
l10n/id.js on lines 1..105

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

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(
    "gallery",
    {
    "Gallery" : "Galeri",
    "Aborting preview. Could not find the file" : "Membatalkan pratinjau. Tidak dapat menemukan berkas.",
Severity: Major
Found in l10n/id.js and 1 other location - About 3 days to fix
l10n/et_EE.js on lines 1..105

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

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

Method __construct has 336 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function __construct(array $urlParams = []) {
        parent::__construct('gallery', $urlParams);

        $container = $this->getContainer();

Severity: Major
Found in appinfo/application.php - About 1 day to fix
    Severity
    Category
    Status
    Source
    Language