luyadev/luya-generic

View on GitHub

Showing 18 of 18 total issues

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

<?php

return [
      'block_file_list_name' => 'Lista de archivos',
      'block_file_list_files_label' => 'Archivos',
Severity: Major
Found in src/messages/es/generic.php and 15 other locations - About 7 hrs to fix
src/messages/bg/generic.php on lines 1..54
src/messages/de/generic.php on lines 1..54
src/messages/el/generic.php on lines 1..54
src/messages/en/generic.php on lines 1..54
src/messages/fa/generic.php on lines 1..53
src/messages/fr/generic.php on lines 1..54
src/messages/id/generic.php on lines 1..54
src/messages/it/generic.php on lines 1..54
src/messages/nl/generic.php on lines 1..53
src/messages/pl/generic.php on lines 1..54
src/messages/pt/generic.php on lines 1..54
src/messages/ru/generic.php on lines 1..54
src/messages/tr/generic.php on lines 1..54
src/messages/ua/generic.php on lines 1..54
src/messages/vi/generic.php on lines 1..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 225.

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

<?php

return [
    'block_file_list_name' => 'Список файлов',
    'block_file_list_files_label' => 'Файлы',
Severity: Major
Found in src/messages/ru/generic.php and 15 other locations - About 7 hrs to fix
src/messages/bg/generic.php on lines 1..54
src/messages/de/generic.php on lines 1..54
src/messages/el/generic.php on lines 1..54
src/messages/en/generic.php on lines 1..54
src/messages/es/generic.php on lines 1..54
src/messages/fa/generic.php on lines 1..53
src/messages/fr/generic.php on lines 1..54
src/messages/id/generic.php on lines 1..54
src/messages/it/generic.php on lines 1..54
src/messages/nl/generic.php on lines 1..53
src/messages/pl/generic.php on lines 1..54
src/messages/pt/generic.php on lines 1..54
src/messages/tr/generic.php on lines 1..54
src/messages/ua/generic.php on lines 1..54
src/messages/vi/generic.php on lines 1..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 225.

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

<?php

return [
    'block_file_list_name' => 'Fileslist',
    'block_file_list_files_label' => 'Files',
Severity: Major
Found in src/messages/en/generic.php and 15 other locations - About 7 hrs to fix
src/messages/bg/generic.php on lines 1..54
src/messages/de/generic.php on lines 1..54
src/messages/el/generic.php on lines 1..54
src/messages/es/generic.php on lines 1..54
src/messages/fa/generic.php on lines 1..53
src/messages/fr/generic.php on lines 1..54
src/messages/id/generic.php on lines 1..54
src/messages/it/generic.php on lines 1..54
src/messages/nl/generic.php on lines 1..53
src/messages/pl/generic.php on lines 1..54
src/messages/pt/generic.php on lines 1..54
src/messages/ru/generic.php on lines 1..54
src/messages/tr/generic.php on lines 1..54
src/messages/ua/generic.php on lines 1..54
src/messages/vi/generic.php on lines 1..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 225.

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

<?php

return [
    'block_file_list_name' => 'Lista dei file',
    'block_file_list_files_label' => 'Files',
Severity: Major
Found in src/messages/it/generic.php and 15 other locations - About 7 hrs to fix
src/messages/bg/generic.php on lines 1..54
src/messages/de/generic.php on lines 1..54
src/messages/el/generic.php on lines 1..54
src/messages/en/generic.php on lines 1..54
src/messages/es/generic.php on lines 1..54
src/messages/fa/generic.php on lines 1..53
src/messages/fr/generic.php on lines 1..54
src/messages/id/generic.php on lines 1..54
src/messages/nl/generic.php on lines 1..53
src/messages/pl/generic.php on lines 1..54
src/messages/pt/generic.php on lines 1..54
src/messages/ru/generic.php on lines 1..54
src/messages/tr/generic.php on lines 1..54
src/messages/ua/generic.php on lines 1..54
src/messages/vi/generic.php on lines 1..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 225.

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

<?php

return [
    'block_file_list_name' => 'Lista de arquivos',
    'block_file_list_files_label' => 'Arquivos',
Severity: Major
Found in src/messages/pt/generic.php and 15 other locations - About 7 hrs to fix
src/messages/bg/generic.php on lines 1..54
src/messages/de/generic.php on lines 1..54
src/messages/el/generic.php on lines 1..54
src/messages/en/generic.php on lines 1..54
src/messages/es/generic.php on lines 1..54
src/messages/fa/generic.php on lines 1..53
src/messages/fr/generic.php on lines 1..54
src/messages/id/generic.php on lines 1..54
src/messages/it/generic.php on lines 1..54
src/messages/nl/generic.php on lines 1..53
src/messages/pl/generic.php on lines 1..54
src/messages/ru/generic.php on lines 1..54
src/messages/tr/generic.php on lines 1..54
src/messages/ua/generic.php on lines 1..54
src/messages/vi/generic.php on lines 1..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 225.

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

<?php

return [
    'block_file_list_name' => 'Liste des fichiers',
    'block_file_list_files_label' => 'Fichiers',
Severity: Major
Found in src/messages/fr/generic.php and 15 other locations - About 7 hrs to fix
src/messages/bg/generic.php on lines 1..54
src/messages/de/generic.php on lines 1..54
src/messages/el/generic.php on lines 1..54
src/messages/en/generic.php on lines 1..54
src/messages/es/generic.php on lines 1..54
src/messages/fa/generic.php on lines 1..53
src/messages/id/generic.php on lines 1..54
src/messages/it/generic.php on lines 1..54
src/messages/nl/generic.php on lines 1..53
src/messages/pl/generic.php on lines 1..54
src/messages/pt/generic.php on lines 1..54
src/messages/ru/generic.php on lines 1..54
src/messages/tr/generic.php on lines 1..54
src/messages/ua/generic.php on lines 1..54
src/messages/vi/generic.php on lines 1..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 225.

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

<?php

return [
    'block_file_list_name' => 'Списък с файлове',
    'block_file_list_files_label' => 'Файлове',
Severity: Major
Found in src/messages/bg/generic.php and 15 other locations - About 7 hrs to fix
src/messages/de/generic.php on lines 1..54
src/messages/el/generic.php on lines 1..54
src/messages/en/generic.php on lines 1..54
src/messages/es/generic.php on lines 1..54
src/messages/fa/generic.php on lines 1..53
src/messages/fr/generic.php on lines 1..54
src/messages/id/generic.php on lines 1..54
src/messages/it/generic.php on lines 1..54
src/messages/nl/generic.php on lines 1..53
src/messages/pl/generic.php on lines 1..54
src/messages/pt/generic.php on lines 1..54
src/messages/ru/generic.php on lines 1..54
src/messages/tr/generic.php on lines 1..54
src/messages/ua/generic.php on lines 1..54
src/messages/vi/generic.php on lines 1..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 225.

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

<?php
return [
    'block_file_list_name' => 'لیست فایل ها',
    'block_file_list_files_label' => 'فایل ها',
    'block_file_list_files_showtype_label' => 'نمایش نوع فایل',
Severity: Major
Found in src/messages/fa/generic.php and 15 other locations - About 7 hrs to fix
src/messages/bg/generic.php on lines 1..54
src/messages/de/generic.php on lines 1..54
src/messages/el/generic.php on lines 1..54
src/messages/en/generic.php on lines 1..54
src/messages/es/generic.php on lines 1..54
src/messages/fr/generic.php on lines 1..54
src/messages/id/generic.php on lines 1..54
src/messages/it/generic.php on lines 1..54
src/messages/nl/generic.php on lines 1..53
src/messages/pl/generic.php on lines 1..54
src/messages/pt/generic.php on lines 1..54
src/messages/ru/generic.php on lines 1..54
src/messages/tr/generic.php on lines 1..54
src/messages/ua/generic.php on lines 1..54
src/messages/vi/generic.php on lines 1..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 225.

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

<?php

return [
    'block_file_list_name' => 'Список файлів',
    'block_file_list_files_label' => 'Файли',
Severity: Major
Found in src/messages/ua/generic.php and 15 other locations - About 7 hrs to fix
src/messages/bg/generic.php on lines 1..54
src/messages/de/generic.php on lines 1..54
src/messages/el/generic.php on lines 1..54
src/messages/en/generic.php on lines 1..54
src/messages/es/generic.php on lines 1..54
src/messages/fa/generic.php on lines 1..53
src/messages/fr/generic.php on lines 1..54
src/messages/id/generic.php on lines 1..54
src/messages/it/generic.php on lines 1..54
src/messages/nl/generic.php on lines 1..53
src/messages/pl/generic.php on lines 1..54
src/messages/pt/generic.php on lines 1..54
src/messages/ru/generic.php on lines 1..54
src/messages/tr/generic.php on lines 1..54
src/messages/vi/generic.php on lines 1..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 225.

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

<?php

return [
    'block_file_list_name' => 'Daftar File',
    'block_file_list_files_label' => 'File',
Severity: Major
Found in src/messages/id/generic.php and 15 other locations - About 7 hrs to fix
src/messages/bg/generic.php on lines 1..54
src/messages/de/generic.php on lines 1..54
src/messages/el/generic.php on lines 1..54
src/messages/en/generic.php on lines 1..54
src/messages/es/generic.php on lines 1..54
src/messages/fa/generic.php on lines 1..53
src/messages/fr/generic.php on lines 1..54
src/messages/it/generic.php on lines 1..54
src/messages/nl/generic.php on lines 1..53
src/messages/pl/generic.php on lines 1..54
src/messages/pt/generic.php on lines 1..54
src/messages/ru/generic.php on lines 1..54
src/messages/tr/generic.php on lines 1..54
src/messages/ua/generic.php on lines 1..54
src/messages/vi/generic.php on lines 1..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 225.

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

<?php

return [
    'block_file_list_name' => 'Danh sách tệp',
    'block_file_list_files_label' => 'Tệp tin',
Severity: Major
Found in src/messages/vi/generic.php and 15 other locations - About 7 hrs to fix
src/messages/bg/generic.php on lines 1..54
src/messages/de/generic.php on lines 1..54
src/messages/el/generic.php on lines 1..54
src/messages/en/generic.php on lines 1..54
src/messages/es/generic.php on lines 1..54
src/messages/fa/generic.php on lines 1..53
src/messages/fr/generic.php on lines 1..54
src/messages/id/generic.php on lines 1..54
src/messages/it/generic.php on lines 1..54
src/messages/nl/generic.php on lines 1..53
src/messages/pl/generic.php on lines 1..54
src/messages/pt/generic.php on lines 1..54
src/messages/ru/generic.php on lines 1..54
src/messages/tr/generic.php on lines 1..54
src/messages/ua/generic.php on lines 1..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 225.

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

<?php
return [
    'block_file_list_name' => 'Bestandslijst',
    'block_file_list_files_label' => 'Bestanden',
    'block_file_list_files_showtype_label' => 'Toon bestandstype?',
Severity: Major
Found in src/messages/nl/generic.php and 15 other locations - About 7 hrs to fix
src/messages/bg/generic.php on lines 1..54
src/messages/de/generic.php on lines 1..54
src/messages/el/generic.php on lines 1..54
src/messages/en/generic.php on lines 1..54
src/messages/es/generic.php on lines 1..54
src/messages/fa/generic.php on lines 1..53
src/messages/fr/generic.php on lines 1..54
src/messages/id/generic.php on lines 1..54
src/messages/it/generic.php on lines 1..54
src/messages/pl/generic.php on lines 1..54
src/messages/pt/generic.php on lines 1..54
src/messages/ru/generic.php on lines 1..54
src/messages/tr/generic.php on lines 1..54
src/messages/ua/generic.php on lines 1..54
src/messages/vi/generic.php on lines 1..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 225.

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

<?php

return [
    'block_file_list_name' => 'Dateiliste',
    'block_file_list_files_label' => 'Dateien',
Severity: Major
Found in src/messages/de/generic.php and 15 other locations - About 7 hrs to fix
src/messages/bg/generic.php on lines 1..54
src/messages/el/generic.php on lines 1..54
src/messages/en/generic.php on lines 1..54
src/messages/es/generic.php on lines 1..54
src/messages/fa/generic.php on lines 1..53
src/messages/fr/generic.php on lines 1..54
src/messages/id/generic.php on lines 1..54
src/messages/it/generic.php on lines 1..54
src/messages/nl/generic.php on lines 1..53
src/messages/pl/generic.php on lines 1..54
src/messages/pt/generic.php on lines 1..54
src/messages/ru/generic.php on lines 1..54
src/messages/tr/generic.php on lines 1..54
src/messages/ua/generic.php on lines 1..54
src/messages/vi/generic.php on lines 1..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 225.

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

<?php

return [
    'block_file_list_name' => 'Λίστα αρχείων',
    'block_file_list_files_label' => 'Αρχεία',
Severity: Major
Found in src/messages/el/generic.php and 15 other locations - About 7 hrs to fix
src/messages/bg/generic.php on lines 1..54
src/messages/de/generic.php on lines 1..54
src/messages/en/generic.php on lines 1..54
src/messages/es/generic.php on lines 1..54
src/messages/fa/generic.php on lines 1..53
src/messages/fr/generic.php on lines 1..54
src/messages/id/generic.php on lines 1..54
src/messages/it/generic.php on lines 1..54
src/messages/nl/generic.php on lines 1..53
src/messages/pl/generic.php on lines 1..54
src/messages/pt/generic.php on lines 1..54
src/messages/ru/generic.php on lines 1..54
src/messages/tr/generic.php on lines 1..54
src/messages/ua/generic.php on lines 1..54
src/messages/vi/generic.php on lines 1..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 225.

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

<?php

return [
    'block_file_list_name' => 'Lista plików',
    'block_file_list_files_label' => 'Pliki',
Severity: Major
Found in src/messages/pl/generic.php and 15 other locations - About 7 hrs to fix
src/messages/bg/generic.php on lines 1..54
src/messages/de/generic.php on lines 1..54
src/messages/el/generic.php on lines 1..54
src/messages/en/generic.php on lines 1..54
src/messages/es/generic.php on lines 1..54
src/messages/fa/generic.php on lines 1..53
src/messages/fr/generic.php on lines 1..54
src/messages/id/generic.php on lines 1..54
src/messages/it/generic.php on lines 1..54
src/messages/nl/generic.php on lines 1..53
src/messages/pt/generic.php on lines 1..54
src/messages/ru/generic.php on lines 1..54
src/messages/tr/generic.php on lines 1..54
src/messages/ua/generic.php on lines 1..54
src/messages/vi/generic.php on lines 1..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 225.

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

<?php

return [
    'block_file_list_name' => 'Dosya listesi',
    'block_file_list_files_label' => 'Dosyalar',
Severity: Major
Found in src/messages/tr/generic.php and 15 other locations - About 7 hrs to fix
src/messages/bg/generic.php on lines 1..54
src/messages/de/generic.php on lines 1..54
src/messages/el/generic.php on lines 1..54
src/messages/en/generic.php on lines 1..54
src/messages/es/generic.php on lines 1..54
src/messages/fa/generic.php on lines 1..53
src/messages/fr/generic.php on lines 1..54
src/messages/id/generic.php on lines 1..54
src/messages/it/generic.php on lines 1..54
src/messages/nl/generic.php on lines 1..53
src/messages/pl/generic.php on lines 1..54
src/messages/pt/generic.php on lines 1..54
src/messages/ru/generic.php on lines 1..54
src/messages/ua/generic.php on lines 1..54
src/messages/vi/generic.php on lines 1..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 225.

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

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

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

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

Refactorings

Further Reading

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

<?php

namespace luya\generic\blocks;

use luya\generic\Module;
Severity: Major
Found in src/blocks/QuoteBlock.php and 1 other location - About 1 hr to fix
src/blocks/WysiwygBlock.php on lines 1..67

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

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

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

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

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

Refactorings

Further Reading

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

<?php

namespace luya\generic\blocks;

use luya\generic\Module;
Severity: Major
Found in src/blocks/WysiwygBlock.php and 1 other location - About 1 hr to fix
src/blocks/QuoteBlock.php on lines 1..65

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

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