wikimedia/mediawiki-extensions-Translate

View on GitHub
Translate.alias.php

Summary

Maintainability
F
1 wk
Test Coverage

File Translate.alias.php has 934 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php
/**
 * Aliases for special pages of Translate extension.
 *
 * @file
Severity: Major
Found in Translate.alias.php - About 2 days to fix

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

    $specialPageAliases['sr-ec'] = [
        'AggregateGroups' => [ 'Спојене_групе' ],
        'ImportTranslations' => [ 'Увоз_превода' ],
        'ExportTranslations' => [ 'Извоз_превода' ],
        'LanguageStats' => [ 'Статистика_језика' ],
    Severity: Major
    Found in Translate.alias.php and 1 other location - About 4 hrs to fix
    Translate.alias.php on lines 955..973

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

    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

    $specialPageAliases['sr-el'] = [
        'AggregateGroups' => [ 'Spojene_grupe' ],
        'ImportTranslations' => [ 'Uvoz_prevoda' ],
        'ExportTranslations' => [ 'Izvoz_prevoda' ],
        'LanguageStats' => [ 'Statistika_jezika' ],
    Severity: Major
    Found in Translate.alias.php and 1 other location - About 4 hrs to fix
    Translate.alias.php on lines 934..952

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

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

    $specialPageAliases['zh-hant'] = [
        'AggregateGroups' => [ '集合群組' ],
        'ImportTranslations' => [ '匯入翻譯' ],
        'LanguageStats' => [ '語言統計' ],
        'ManageMessageGroups' => [ '管理訊息群組' ],
    Severity: Major
    Found in Translate.alias.php and 4 other locations - About 3 hrs to fix
    Translate.alias.php on lines 274..291
    Translate.alias.php on lines 441..458
    Translate.alias.php on lines 668..685
    Translate.alias.php on lines 1116..1133

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

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

    $specialPageAliases['de'] = [
        'AggregateGroups' => [ 'Zusammenfassende_Nachrichtengruppen' ],
        'ImportTranslations' => [ 'Übersetzungen_importieren' ],
        'LanguageStats' => [ 'Sprachstatistiken' ],
        'ManageMessageGroups' => [ 'Nachrichtengruppen_verwalten' ],
    Severity: Major
    Found in Translate.alias.php and 4 other locations - About 3 hrs to fix
    Translate.alias.php on lines 441..458
    Translate.alias.php on lines 668..685
    Translate.alias.php on lines 1116..1133
    Translate.alias.php on lines 1136..1153

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

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

    $specialPageAliases['mk'] = [
        'AggregateGroups' => [ 'ЗбирниГрупи' ],
        'ImportTranslations' => [ 'УвезиПреводи' ],
        'LanguageStats' => [ 'СтатистикиЗаЈазик' ],
        'ManageMessageGroups' => [ 'РаководењеСоГрупиНаПораки' ],
    Severity: Major
    Found in Translate.alias.php and 4 other locations - About 3 hrs to fix
    Translate.alias.php on lines 274..291
    Translate.alias.php on lines 441..458
    Translate.alias.php on lines 1116..1133
    Translate.alias.php on lines 1136..1153

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

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

    $specialPageAliases['zh-hans'] = [
        'AggregateGroups' => [ '信息组总计' ],
        'ImportTranslations' => [ '导入翻译' ],
        'LanguageStats' => [ '语言统计' ],
        'ManageMessageGroups' => [ '信息组管理' ],
    Severity: Major
    Found in Translate.alias.php and 4 other locations - About 3 hrs to fix
    Translate.alias.php on lines 274..291
    Translate.alias.php on lines 441..458
    Translate.alias.php on lines 668..685
    Translate.alias.php on lines 1136..1153

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

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

    $specialPageAliases['he'] = [
        'AggregateGroups' => [ 'קבוצות_משולבות' ],
        'ImportTranslations' => [ 'ייבוא_תרגומים' ],
        'LanguageStats' => [ 'סטטיסטיקות_שפה' ],
        'ManageMessageGroups' => [ 'ניהול_קבוצות_הודעות' ],
    Severity: Major
    Found in Translate.alias.php and 4 other locations - About 3 hrs to fix
    Translate.alias.php on lines 274..291
    Translate.alias.php on lines 668..685
    Translate.alias.php on lines 1116..1133
    Translate.alias.php on lines 1136..1153

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

    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

    $specialPageAliases['fa'] = [
        'AggregateGroups' => [ 'جمع_گروه‌ها' ],
        'ImportTranslations' => [ 'درون‌بری_ترجمه‌ها' ],
        'LanguageStats' => [ 'آمار_زبان‌ها' ],
        'ManageMessageGroups' => [ 'مدیریت_گروه‌های_پیغام' ],
    Severity: Major
    Found in Translate.alias.php and 1 other location - About 2 hrs to fix
    Translate.alias.php on lines 294..309

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

    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

    $specialPageAliases['diq'] = [
        'AggregateGroups' => [ 'GrubéAggregate' ],
        'ImportTranslations' => [ 'AçarnayışaZerrefi' ],
        'LanguageStats' => [ 'İstatistikêZıwani' ],
        'ManageMessageGroups' => [ 'GrubanéMesacanİdareke' ],
    Severity: Major
    Found in Translate.alias.php and 1 other location - About 2 hrs to fix
    Translate.alias.php on lines 361..376

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

    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

    $specialPageAliases['bgn'] = [
        'AggregateGroups' => [ 'گروپ_ئآنی_جم' ],
        'ImportTranslations' => [ 'ترجمه_ئانی_درون_بررّگ' ],
        'LanguageStats' => [ 'زبان_ئانی_سرجم' ],
        'ManageMessageGroups' => [ 'پیامی_گروپ_ئانی_مدیریت' ],
    Severity: Major
    Found in Translate.alias.php and 1 other location - About 2 hrs to fix
    Translate.alias.php on lines 633..648

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

    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

    $specialPageAliases['lb'] = [
        'ImportTranslations' => [ 'Iwwersetzungen_importéieren' ],
        'LanguageStats' => [ 'Sproochestatistiken' ],
        'ManageMessageGroups' => [ 'Gruppe_vu_Message_geréieren' ],
        'ManageTranslatorSandbox' => [ 'Iwwersetzungssandkëscht_geréieren' ],
    Severity: Major
    Found in Translate.alias.php and 1 other location - About 2 hrs to fix
    Translate.alias.php on lines 151..166

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 138.

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

    $specialPageAliases['ce'] = [
        'AggregateGroups' => [ 'Агрегированни_тобанаш' ],
        'ImportTranslations' => [ 'Гоч_йинарш_импорт_яр' ],
        'LanguageStats' => [ 'Меттан_статистика' ],
        'ManageMessageGroups' => [ 'Хаамийн_тобанийн_урхалла_дар' ],
    Severity: Major
    Found in Translate.alias.php and 3 other locations - About 1 hr to fix
    Translate.alias.php on lines 106..119
    Translate.alias.php on lines 766..779
    Translate.alias.php on lines 877..890

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

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

    $specialPageAliases['nds-nl'] = [
        'AggregateGroups' => [ 'Samen-evoegden_groepen' ],
        'ImportTranslations' => [ 'Vertalingen_invoeren' ],
        'LanguageStats' => [ 'Taalstaotistieken' ],
        'ManageMessageGroups' => [ 'Berichtengroepen_beheren' ],
    Severity: Major
    Found in Translate.alias.php and 3 other locations - About 1 hr to fix
    Translate.alias.php on lines 106..119
    Translate.alias.php on lines 242..255
    Translate.alias.php on lines 877..890

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

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

    $specialPageAliases['av'] = [
        'AggregateGroups' => [ 'Агрегированные_группы' ],
        'ImportTranslations' => [ 'Импорт_переводов' ],
        'LanguageStats' => [ 'Статистика_языка' ],
        'ManageMessageGroups' => [ 'Управление_группами_сообщений' ],
    Severity: Major
    Found in Translate.alias.php and 3 other locations - About 1 hr to fix
    Translate.alias.php on lines 242..255
    Translate.alias.php on lines 766..779
    Translate.alias.php on lines 877..890

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

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

    $specialPageAliases['ru'] = [
        'AggregateGroups' => [ 'Агрегированные_группы' ],
        'ImportTranslations' => [ 'Импорт_переводов' ],
        'LanguageStats' => [ 'Статистика_языка' ],
        'ManageMessageGroups' => [ 'Управление_группами_сообщений' ],
    Severity: Major
    Found in Translate.alias.php and 3 other locations - About 1 hr to fix
    Translate.alias.php on lines 106..119
    Translate.alias.php on lines 242..255
    Translate.alias.php on lines 766..779

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

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

    $specialPageAliases['it'] = [
        'AggregateGroups' => [ 'GruppiAggregati' ],
        'ImportTranslations' => [ 'ImportaTraduzioni' ],
        'LanguageStats' => [ 'StatisticheLingua' ],
        'ManageMessageGroups' => [ 'GestisciGruppiMessaggio' ],
    Severity: Major
    Found in Translate.alias.php and 2 other locations - About 1 hr to fix
    Translate.alias.php on lines 746..758
    Translate.alias.php on lines 824..836

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

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

    $specialPageAliases['nb'] = [
        'AggregateGroups' => [ 'Samlingsgrupper' ],
        'ImportTranslations' => [ 'Importer_oversettelser' ],
        'LanguageStats' => [ 'Språkstatistikk' ],
        'ManageMessageGroups' => [ 'Behandle_meldingsgrupper' ],
    Severity: Major
    Found in Translate.alias.php and 2 other locations - About 1 hr to fix
    Translate.alias.php on lines 536..548
    Translate.alias.php on lines 824..836

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

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

    $specialPageAliases['pl'] = [
        'AggregateGroups' => [ 'Grupy_zbiorcze' ],
        'ImportTranslations' => [ 'Import_tłumaczeń' ],
        'LanguageStats' => [ 'Statystyka_językowa' ],
        'ManageMessageGroups' => [ 'Zarządzanie_grupami_komunikatów' ],
    Severity: Major
    Found in Translate.alias.php and 2 other locations - About 1 hr to fix
    Translate.alias.php on lines 536..548
    Translate.alias.php on lines 746..758

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

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

    $specialPageAliases['gsw'] = [
        'ImportTranslations' => [ 'Übersetzige_importiere' ],
        'LanguageStats' => [ 'Sprochstatischtik' ],
        'ManageMessageGroups' => [ 'Noochrichtegruppe_verwalte' ],
        'MessageGroupStats' => [ 'Noochrichtegruppestatistike' ],
    Severity: Major
    Found in Translate.alias.php and 3 other locations - About 1 hr to fix
    Translate.alias.php on lines 503..514
    Translate.alias.php on lines 688..699
    Translate.alias.php on lines 901..912

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

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

    $specialPageAliases['scn'] = [
        'AggregateGroups' => [ 'GruppiAggregati' ],
        'ImportTranslations' => [ 'ImportaTraduzioni' ],
        'LanguageStats' => [ 'StatisticheLingua' ],
        'ManageMessageGroups' => [ 'GestisciGruppiMessaggio' ],
    Severity: Major
    Found in Translate.alias.php and 3 other locations - About 1 hr to fix
    Translate.alias.php on lines 427..438
    Translate.alias.php on lines 503..514
    Translate.alias.php on lines 688..699

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

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

    $specialPageAliases['ml'] = [
        'ImportTranslations' => [ 'പരിഭാഷാ_ഇറക്കുമതി' ],
        'LanguageStats' => [ 'ഭാഷാസ്ഥിതിവിവരം' ],
        'ManageMessageGroups' => [ 'സന്ദേശസംഘങ്ങളുടെകൈകാര്യം' ],
        'MessageGroupStats' => [ 'സന്ദേശഗണസ്ഥിതിവിവരം' ],
    Severity: Major
    Found in Translate.alias.php and 3 other locations - About 1 hr to fix
    Translate.alias.php on lines 427..438
    Translate.alias.php on lines 503..514
    Translate.alias.php on lines 901..912

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

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

    $specialPageAliases['ia'] = [
        'ImportTranslations' => [ 'Importar_traductiones' ],
        'LanguageStats' => [ 'Statisticas_de_linguas' ],
        'ManageMessageGroups' => [ 'Gerer_gruppos_de_messages' ],
        'MessageGroupStats' => [ 'Statisticas_de_gruppos_de_messages' ],
    Severity: Major
    Found in Translate.alias.php and 3 other locations - About 1 hr to fix
    Translate.alias.php on lines 427..438
    Translate.alias.php on lines 688..699
    Translate.alias.php on lines 901..912

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

    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

    There are no issues that match your filters.

    Category
    Status