xoopscube/altsys

View on GitHub

Showing 47 of 162 total issues

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

<?php
define( '_MD_A_MYBLOCKSADMIN_TIPS' , 'Select the module to manage its available blocks : side, target modules, user group permissions and cache duration.');
define( '_MD_A_MYBLOCKSADMIN_CUSTOM_TIPS' , 'First, give the <b>Block Title</b> a name, select a <b>Custom Type</b> and <b>Save</b>. 
The <b>editor</b> will change according to the selected custom type.<br>
You can then edit your new block to create reusable components with BBcode and PHP or HTML, JavaScript and CSS.');
xoops_trust_path/libs/altsys/language/fr_utf8/myblocksadmin.php on lines 1..56
xoops_trust_path/libs/altsys/language/ja_utf8/myblocksadmin.php on lines 1..59
xoops_trust_path/libs/altsys/language/pt_utf8/myblocksadmin.php on lines 1..53
xoops_trust_path/libs/altsys/language/ru_utf8/myblocksadmin.php on lines 1..59

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

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

<?php
define( '_MD_A_MYBLOCKSADMIN_TIPS' , "Sélectionnez le module pour gérer ses blocs disponibles : emplacement, modules cibles, autorisations des groupes d'utilisateurs et temps de cache.");
define( '_MD_A_MYBLOCKSADMIN_CUSTOM_TIPS' , "Tout d'abord, donnez un nom au <b>Titre du bloc</b>, sélectionnez un <b>Type personnalisé</b> et enregistrez. L'<b>éditeur</b> changera en fonction du <b>type personnalisé</b> sélectionné. 
Vous pouvez ensuite modifier le nouveau bloc pour créer des composants réutilisables avec BBcode et PHP ou HTML, JavaScript et CSS.");
define( '_MD_A_MYBLOCKSADMIN_PERMUPDATED' , 'Permissions mises à jour avec succès');
xoops_trust_path/libs/altsys/language/english/myblocksadmin.php on lines 1..57
xoops_trust_path/libs/altsys/language/ja_utf8/myblocksadmin.php on lines 1..59
xoops_trust_path/libs/altsys/language/pt_utf8/myblocksadmin.php on lines 1..53
xoops_trust_path/libs/altsys/language/ru_utf8/myblocksadmin.php on lines 1..59

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

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

<?php
define( '_MD_A_MYBLOCKSADMIN_TIPS' , 'Выберите модуль для управления его доступными блоками: стороной, целевыми модулями, разрешениями групп пользователей и продолжительностью кэша.');
define( '_MD_A_MYBLOCKSADMIN_CUSTOM_TIPS' , 'Сначала дайте имя <b>названию блока</b>, выберите <b>Пользовательский тип</b> и <b>сохраните</b>.
<b>редактор</b> изменится в соответствии с выбранным пользовательским типом.<br>
Затем вы можете отредактировать новый блок, чтобы создать повторно используемые компоненты с BBcode и PHP или HTML, JavaScript и CSS.');
xoops_trust_path/libs/altsys/language/english/myblocksadmin.php on lines 1..57
xoops_trust_path/libs/altsys/language/fr_utf8/myblocksadmin.php on lines 1..56
xoops_trust_path/libs/altsys/language/ja_utf8/myblocksadmin.php on lines 1..59
xoops_trust_path/libs/altsys/language/pt_utf8/myblocksadmin.php on lines 1..53

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

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

<?php
define( '_MD_A_MYBLOCKSADMIN_TIPS' , 'モジュールを選択して、その利用可能なブロック :サイド、ターゲットモジュール、ユーザーグループ権限、キャッシュ期間を管理します。');
define( '_MD_A_MYBLOCKSADMIN_CUSTOM_TIPS' , 'まず、<b>ブロック タイトル</b>に名前を付け、<b>カスタム タイプ</b>を選択して<b>保存</b>します。
<b>エディタ</b>は、選択したカスタム タイプに応じて変化します。<br>
その後、新しいブロックを編集して、BBcode と PHP または HTML、JavaScript と CSS を使用して再利用可能なコンポーネントを作成できます。');
xoops_trust_path/libs/altsys/language/english/myblocksadmin.php on lines 1..57
xoops_trust_path/libs/altsys/language/fr_utf8/myblocksadmin.php on lines 1..56
xoops_trust_path/libs/altsys/language/pt_utf8/myblocksadmin.php on lines 1..53
xoops_trust_path/libs/altsys/language/ru_utf8/myblocksadmin.php on lines 1..59

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

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

<?php
// XCL 2.4.0 Nuno Luciano aka gigamaster XCL-PHP7+
// $Id: myblocksadmin.php 1040 2011-11-06 05:24:00Z mikhail $
// License http://creativecommons.org/licenses/by/2.5/br/
define( '_MD_A_MYBLOCKSADMIN_TIPS' , 'Selecione um módulo para gerenciar seus blocos disponíveis : lado, módulos de destino, permissões de grupo de usuários e duração do cache.');
xoops_trust_path/libs/altsys/language/english/myblocksadmin.php on lines 1..57
xoops_trust_path/libs/altsys/language/fr_utf8/myblocksadmin.php on lines 1..56
xoops_trust_path/libs/altsys/language/ja_utf8/myblocksadmin.php on lines 1..59
xoops_trust_path/libs/altsys/language/ru_utf8/myblocksadmin.php on lines 1..59

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

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

<?php

define( '_TPLSADMIN_INTRO', "Présentation d'un crochet pour compiler des modèles");

define( '_TPLSADMIN_DESC', "Les crochets de compilation offrent un moyen simple d'insérer des assistants d'édition visuels dans vos modèles et de collecter des variables Smarty.
xoops_trust_path/libs/altsys/language/english/compilehookadmin.php on lines 1..69
xoops_trust_path/libs/altsys/language/ja_utf8/compilehookadmin.php on lines 1..71
xoops_trust_path/libs/altsys/language/pt_utf8/compilehookadmin.php on lines 1..71
xoops_trust_path/libs/altsys/language/ru_utf8/compilehookadmin.php on lines 1..71

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

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

<?php

define( '_TPLSADMIN_INTRO', 'Introducing the Template Compilation Hook');

define( '_TPLSADMIN_DESC', 'Compilation hooks can be used to insert visual guides into your templates and helpers for collecting Smarty variables.<br>
xoops_trust_path/libs/altsys/language/fr_utf8/compilehookadmin.php on lines 1..68
xoops_trust_path/libs/altsys/language/ja_utf8/compilehookadmin.php on lines 1..71
xoops_trust_path/libs/altsys/language/pt_utf8/compilehookadmin.php on lines 1..71
xoops_trust_path/libs/altsys/language/ru_utf8/compilehookadmin.php on lines 1..71

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

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

<?php

define( '_TPLSADMIN_INTRO', 'Представляем хук для компиляции шаблонов');

define( '_TPLSADMIN_DESC', 'Перехватчики компиляции обеспечивают простой способ вставки помощников визуального редактирования в ваши шаблоны и сбора переменных Smarty.
xoops_trust_path/libs/altsys/language/english/compilehookadmin.php on lines 1..69
xoops_trust_path/libs/altsys/language/fr_utf8/compilehookadmin.php on lines 1..68
xoops_trust_path/libs/altsys/language/ja_utf8/compilehookadmin.php on lines 1..71
xoops_trust_path/libs/altsys/language/pt_utf8/compilehookadmin.php on lines 1..71

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

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

<?php

define( '_TPLSADMIN_INTRO', 'テンプレートをコンパイルするためのフックの導入');

define( '_TPLSADMIN_DESC', 'コンパイル フックは、ビジュアル編集ヘルパーをテンプレートに挿入し、Smarty 変数を収集する簡単な方法を提供します。
xoops_trust_path/libs/altsys/language/english/compilehookadmin.php on lines 1..69
xoops_trust_path/libs/altsys/language/fr_utf8/compilehookadmin.php on lines 1..68
xoops_trust_path/libs/altsys/language/pt_utf8/compilehookadmin.php on lines 1..71
xoops_trust_path/libs/altsys/language/ru_utf8/compilehookadmin.php on lines 1..71

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

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

<?php
/**
 * @author Nuno Luciano aka gigamaster XCL23/PHP7
 * @author Mikhail Miguel <mikhail.miguel@gmail.com> - 2011-11-06 05:24:00Z
 * @license http://creativecommons.org/licenses/by/2.5/br/
xoops_trust_path/libs/altsys/language/english/compilehookadmin.php on lines 1..69
xoops_trust_path/libs/altsys/language/fr_utf8/compilehookadmin.php on lines 1..68
xoops_trust_path/libs/altsys/language/ja_utf8/compilehookadmin.php on lines 1..71
xoops_trust_path/libs/altsys/language/ru_utf8/compilehookadmin.php on lines 1..71

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

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

<?php
// $Id: modinfo.php 1040 2011-11-06 05:24:00Z mikhail $
// License http://creativecommons.org/licenses/by/2.5/br/

define( '_MI_ALTSYS_MODULENAME' , "Componentes");
Severity: Major
Found in xoops_trust_path/libs/altsys/language/pt_utf8/modinfo.php and 4 other locations - About 1 day to fix
xoops_trust_path/libs/altsys/language/english/mytplsadmin.php on lines 1..32
xoops_trust_path/libs/altsys/language/fr_utf8/modinfo.php on lines 1..37
xoops_trust_path/libs/altsys/language/ja_utf8/modinfo.php on lines 1..37
xoops_trust_path/libs/altsys/language/ru_utf8/modinfo.php on lines 1..37

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

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

<?php

define( '_MI_ALTSYS_MODULENAME' , 'Composants');
define( '_MI_ALTSYS_MODULEDESC' , 'Gestion générale des composants personnalisés, des blocs, des modèles, internationalisation de la langue (i18n) et localisation (l10n).');

Severity: Major
Found in xoops_trust_path/libs/altsys/language/fr_utf8/modinfo.php and 4 other locations - About 1 day to fix
xoops_trust_path/libs/altsys/language/english/mytplsadmin.php on lines 1..32
xoops_trust_path/libs/altsys/language/ja_utf8/modinfo.php on lines 1..37
xoops_trust_path/libs/altsys/language/pt_utf8/modinfo.php on lines 1..39
xoops_trust_path/libs/altsys/language/ru_utf8/modinfo.php on lines 1..37

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

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

<?php

define( '_MI_ALTSYS_MODULENAME' , 'コンポーネント');
define( '_MI_ALTSYS_MODULEDESC' , 'カスタム コンポーネント、ブロック、テンプレート、言語の国際化 (i18n) およびローカリゼーション (l10n) の一般的な管理。');

Severity: Major
Found in xoops_trust_path/libs/altsys/language/ja_utf8/modinfo.php and 4 other locations - About 1 day to fix
xoops_trust_path/libs/altsys/language/english/mytplsadmin.php on lines 1..32
xoops_trust_path/libs/altsys/language/fr_utf8/modinfo.php on lines 1..37
xoops_trust_path/libs/altsys/language/pt_utf8/modinfo.php on lines 1..39
xoops_trust_path/libs/altsys/language/ru_utf8/modinfo.php on lines 1..37

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

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

<?php

define( '_MYTPLSADMIN_TIPS' , 'The original template file is read-only for security reasons. You can create a new Template Set (collection of template files).<br>
    Start with a copy of the Base Set: "Default". Alternatively, create an empty template set to select only the templates you want to customize.<br>
    You can manage and select your Template Set from the module <b>Render</b>');
xoops_trust_path/libs/altsys/language/fr_utf8/modinfo.php on lines 1..37
xoops_trust_path/libs/altsys/language/ja_utf8/modinfo.php on lines 1..37
xoops_trust_path/libs/altsys/language/pt_utf8/modinfo.php on lines 1..39
xoops_trust_path/libs/altsys/language/ru_utf8/modinfo.php on lines 1..37

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

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

<?php

define( '_MI_ALTSYS_MODULENAME' , 'Компоненты');
define( '_MI_ALTSYS_MODULEDESC' , 'Общее управление пользовательскими компонентами, блоками, шаблонами, языковой интернационализацией (i18n) и локализацией (l10n).');

Severity: Major
Found in xoops_trust_path/libs/altsys/language/ru_utf8/modinfo.php and 4 other locations - About 1 day to fix
xoops_trust_path/libs/altsys/language/english/mytplsadmin.php on lines 1..32
xoops_trust_path/libs/altsys/language/fr_utf8/modinfo.php on lines 1..37
xoops_trust_path/libs/altsys/language/ja_utf8/modinfo.php on lines 1..37
xoops_trust_path/libs/altsys/language/pt_utf8/modinfo.php on lines 1..39

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

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

<?php

define( '_MYTPLSADMIN_TIPS' , '元のテンプレート ファイルは、セキュリティ上の理由から読み取り専用です。 新しいテンプレート セット (テンプレート ファイルのコレクション) を作成できます。<br>
基本セットのコピーから始めます: "Default "を作成します。または、「空のテンプレートセット」を作成し、カスタマイズしたいテンプレートだけを選択します。<br>
<b>Render</b> モジュールから、テンプレート セットとテンプレート ファイルを管理できます。');
xoops_trust_path/libs/altsys/language/fr_utf8/mytplsadmin.php on lines 1..28
xoops_trust_path/libs/altsys/language/pt_utf8/mytplsadmin.php on lines 1..30
xoops_trust_path/libs/altsys/language/ru_utf8/mytplsadmin.php on lines 1..31

Duplicated Code

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

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

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

Tuning

This issue has a mass of 313.

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

<?php

define( '_MYTPLSADMIN_TIPS' , 'Исходный файл шаблона доступен только для чтения по соображениям безопасности. Вы можете создавать новые наборы шаблонов (коллекцию файлов шаблонов).<br>
Начните с копии базового набора: «По умолчанию». Или создайте «пустой набор шаблонов», чтобы выбрать только те шаблоны, которые вы хотите настроить.<br>
Вы можете управлять наборами шаблонов, а также файлами шаблонов из модуля <b>Render</b>.');
xoops_trust_path/libs/altsys/language/fr_utf8/mytplsadmin.php on lines 1..28
xoops_trust_path/libs/altsys/language/ja_utf8/mytplsadmin.php on lines 1..32
xoops_trust_path/libs/altsys/language/pt_utf8/mytplsadmin.php on lines 1..30

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

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

<?php

define( '_MYTPLSADMIN_TIPS' , 'Le fichier de Template original est en lecture seule pour des raisons de sécurité. Vous pouvez créer un nouveau lot de Templates (ensemble de fichiers templates).<br>
Commencez par une copie du lot de Base : "Default". Vous pouvez également créer un lot de Templates vide pour ne sélectionner que les Templates que vous souhaitez personnaliser.<br>
<b>Render</b> vous permet de sélectionner, modifier, copier, télécharger ou supprimer un jeu de modèles.');
xoops_trust_path/libs/altsys/language/ja_utf8/mytplsadmin.php on lines 1..32
xoops_trust_path/libs/altsys/language/pt_utf8/mytplsadmin.php on lines 1..30
xoops_trust_path/libs/altsys/language/ru_utf8/mytplsadmin.php on lines 1..31

Duplicated Code

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

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

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

Tuning

This issue has a mass of 313.

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

<?php

// $Id: mytplsadmin.php 1040 2011-11-06 05:24:00Z mikhail $
// License http://creativecommons.org/licenses/by/2.5/br/
define( '_MYTPLSADMIN_TIPS' , 'O Template original é somente leitura por motivos de segurança. Você pode criar um novo conjunto de Templates (conjunto de arquivos de modelos).<br>
xoops_trust_path/libs/altsys/language/fr_utf8/mytplsadmin.php on lines 1..28
xoops_trust_path/libs/altsys/language/ja_utf8/mytplsadmin.php on lines 1..32
xoops_trust_path/libs/altsys/language/ru_utf8/mytplsadmin.php on lines 1..31

Duplicated Code

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

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

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

Tuning

This issue has a mass of 313.

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

<?php

define( '_MYLANGADMIN_H3_MODULE' , 'Module cible');
define( '_MYLANGADMIN_CACHEUPDATED' , 'Le fichier de cache a été mis à jour');
define( '_MYLANGADMIN_BTN_UPDATE' , 'Mise à jour');
xoops_trust_path/libs/altsys/language/english/mylangadmin.php on lines 1..27
xoops_trust_path/libs/altsys/language/ja_utf8/mylangadmin.php on lines 1..27
xoops_trust_path/libs/altsys/language/pt_utf8/mylangadmin.php on lines 1..23
xoops_trust_path/libs/altsys/language/ru_utf8/mylangadmin.php on lines 1..27

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

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