xoopscube/altsys

View on GitHub

Showing 78 of 288 total issues

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

<?php

define('_MD_A_MYBLOCKSADMIN_PERMUPDATED', 'Permissions updated successfully') ;
define('_MD_A_MYBLOCKSADMIN_BLOCKADMIN', 'Blocks administration') ;
define('_MD_A_MYBLOCKSADMIN_NAME', 'Name') ;
xoops_trust_path/libs/altsys/language/ja_utf8/myblocksadmin.php on lines 1..56
xoops_trust_path/libs/altsys/language/persian/myblocksadmin.php on lines 1..70
xoops_trust_path/libs/altsys/language/pt_utf8/myblocksadmin.php on lines 1..48

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

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
/**
* Translation of altsys for Persian users
*
* @copyright          http://www.impresscms.ir/ The Persian ImpressCMS Project 
xoops_trust_path/libs/altsys/language/english/myblocksadmin.php on lines 1..56
xoops_trust_path/libs/altsys/language/ja_utf8/myblocksadmin.php on lines 1..56
xoops_trust_path/libs/altsys/language/pt_utf8/myblocksadmin.php on lines 1..48

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

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: myblocksadmin.php 1040 2011-11-06 05:24:00Z mikhail $
// License http://creativecommons.org/licenses/by/2.5/br/
define("_MD_A_MYBLOCKSADMIN_ACTION", "Ação");
define("_MD_A_MYBLOCKSADMIN_ALLPAGES", "Todas as páginas");
xoops_trust_path/libs/altsys/language/english/myblocksadmin.php on lines 1..56
xoops_trust_path/libs/altsys/language/ja_utf8/myblocksadmin.php on lines 1..56
xoops_trust_path/libs/altsys/language/persian/myblocksadmin.php on lines 1..70

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

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('_MD_A_MYBLOCKSADMIN_PERMUPDATED', '権限を更新しました') ;
define('_MD_A_MYBLOCKSADMIN_BLOCKADMIN', 'ブロック管理') ;
define('_MD_A_MYBLOCKSADMIN_NAME', '名称') ;
xoops_trust_path/libs/altsys/language/english/myblocksadmin.php on lines 1..56
xoops_trust_path/libs/altsys/language/persian/myblocksadmin.php on lines 1..70
xoops_trust_path/libs/altsys/language/pt_utf8/myblocksadmin.php on lines 1..48

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

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_FMT_MSG_ENCLOSEBYCOMMENT', '%d template caches have been enclosed by tplsadmin comments') ;
define('_TPLSADMIN_DT_ENCLOSEBYCOMMENT', 'Implant comments') ;
define('_TPLSADMIN_DD_ENCLOSEBYCOMMENT', 'Two HTML comments will be implanted in the begging/ending point of each templates. Since this rarely breaks its design, it is recommended to professionals can read HTML itself') ;
xoops_trust_path/libs/altsys/language/french/compilehookadmin.php on lines 1..50
xoops_trust_path/libs/altsys/language/ja_utf8/compilehookadmin.php on lines 1..50
xoops_trust_path/libs/altsys/language/persian/compilehookadmin.php on lines 1..62
xoops_trust_path/libs/altsys/language/pt_utf8/compilehookadmin.php on lines 1..41

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

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
/**
* Translation of altsys for Persian users
*
* @copyright          http://www.impresscms.ir/ The Persian ImpressCMS Project 
xoops_trust_path/libs/altsys/language/english/compilehookadmin.php on lines 1..50
xoops_trust_path/libs/altsys/language/french/compilehookadmin.php on lines 1..50
xoops_trust_path/libs/altsys/language/ja_utf8/compilehookadmin.php on lines 1..50
xoops_trust_path/libs/altsys/language/pt_utf8/compilehookadmin.php on lines 1..41

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

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
// ******************************************************************** //
// ** XOOPS Cube Legacy - AltSys Module - Portuguese
// ** Por Mikhail Miguel <mikhail.miguel@gmail.com> - http://xoops.net.br/
// ** $Id: compilehookadmin.php 1040 2011-11-06 05:24:00Z mikhail $
xoops_trust_path/libs/altsys/language/english/compilehookadmin.php on lines 1..50
xoops_trust_path/libs/altsys/language/french/compilehookadmin.php on lines 1..50
xoops_trust_path/libs/altsys/language/ja_utf8/compilehookadmin.php on lines 1..50
xoops_trust_path/libs/altsys/language/persian/compilehookadmin.php on lines 1..62

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

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_FMT_MSG_ENCLOSEBYCOMMENT', '%d template caches have been enclosed by tplsadmin comments') ;
define('_TPLSADMIN_DT_ENCLOSEBYCOMMENT', 'Implant comments') ;
define('_TPLSADMIN_DD_ENCLOSEBYCOMMENT', 'Two HTML comments will be implanted in the begging/ending point of each templates. Since this rarely breaks its design, it is recommended to professionals can read HTML itself') ;
xoops_trust_path/libs/altsys/language/english/compilehookadmin.php on lines 1..50
xoops_trust_path/libs/altsys/language/ja_utf8/compilehookadmin.php on lines 1..50
xoops_trust_path/libs/altsys/language/persian/compilehookadmin.php on lines 1..62
xoops_trust_path/libs/altsys/language/pt_utf8/compilehookadmin.php on lines 1..41

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

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_FMT_MSG_ENCLOSEBYCOMMENT', '%d 個のコンパイル済テンプレートキャッシュに、コメントを埋め込みました') ;
define('_TPLSADMIN_DT_ENCLOSEBYCOMMENT', 'テンプレート名をコメントとして埋め込む') ;
define('_TPLSADMIN_DD_ENCLOSEBYCOMMENT', '各テンプレートの開始点および終了点に、HTMLコメントの形でテンプレート名が埋め込まれます。デザイン的な影響も少ないので、HTMLのソースコードを読みこなせる方にお勧めです。') ;
xoops_trust_path/libs/altsys/language/english/compilehookadmin.php on lines 1..50
xoops_trust_path/libs/altsys/language/french/compilehookadmin.php on lines 1..50
xoops_trust_path/libs/altsys/language/persian/compilehookadmin.php on lines 1..62
xoops_trust_path/libs/altsys/language/pt_utf8/compilehookadmin.php on lines 1..41

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

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

        if ($handler = @opendir($tpl_path . '/')) {
            while (($file = readdir($handler)) !== false) {
                if (substr($file, 0, 1) == '.') {
                    continue ;
                }
Severity: Major
Found in xoops_trust_path/libs/altsys/oninstall.php and 1 other location - About 1 day to fix
xoops_trust_path/libs/altsys/onupdate.php on lines 47..83

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

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

        if ($handler = @opendir($tpl_path . '/')) {
            while (($file = readdir($handler)) !== false) {
                if (substr($file, 0, 1) == '.') {
                    continue ;
                }
Severity: Major
Found in xoops_trust_path/libs/altsys/onupdate.php and 1 other location - About 1 day to fix
xoops_trust_path/libs/altsys/oninstall.php on lines 73..110

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

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: modinfo.php 1040 2011-11-06 05:24:00Z mikhail $
// License http://creativecommons.org/licenses/by/2.5/br/
define("_MI_ALTSYS_ADMIN_IN_THEME", "Tema configurado para administrador");
define("_MI_ALTSYS_ADMIN_IN_THEMEDSC", "Configure o nome do tema mostrado na área administrativa. Insira uma linha apenas depois da inclusão do common.php no mainfile.php<br />include XOOPS_TRUST_PATH.\"/libs/altsys/include/admin_in_theme.inc.php\";<br /> para habilitar isso. Esta característica trabalha somente com XOOPS 2.0.x");
Severity: Major
Found in xoops_trust_path/libs/altsys/language/pt_utf8/modinfo.php and 3 other locations - About 1 day to fix
xoops_trust_path/libs/altsys/language/english/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/persian/modinfo.php on lines 1..48

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('_MI_ALTSYS_MODULENAME', 'ALTSYS') ;
define('_MI_ALTSYS_MODULEDESC', 'もっと使いやすいシステム管理を!') ;

Severity: Major
Found in xoops_trust_path/libs/altsys/language/ja_utf8/modinfo.php and 3 other locations - About 1 day to fix
xoops_trust_path/libs/altsys/language/english/modinfo.php on lines 1..37
xoops_trust_path/libs/altsys/language/persian/modinfo.php on lines 1..48
xoops_trust_path/libs/altsys/language/pt_utf8/modinfo.php on lines 1..28

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
/**
* Translation of altsys for Persian users
*
* @copyright          http://www.impresscms.ir/ The Persian ImpressCMS Project 
Severity: Major
Found in xoops_trust_path/libs/altsys/language/persian/modinfo.php and 3 other locations - About 1 day to fix
xoops_trust_path/libs/altsys/language/english/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..28

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('_MI_ALTSYS_MODULENAME', 'ALTSYS') ;
define('_MI_ALTSYS_MODULEDESC', 'Managing system easily') ;

Severity: Major
Found in xoops_trust_path/libs/altsys/language/english/modinfo.php and 3 other locations - About 1 day to fix
xoops_trust_path/libs/altsys/language/ja_utf8/modinfo.php on lines 1..37
xoops_trust_path/libs/altsys/language/persian/modinfo.php on lines 1..48
xoops_trust_path/libs/altsys/language/pt_utf8/modinfo.php on lines 1..28

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

<?php

define('_MYTPLSADMIN_CREATE_NEW_TPLSET', '新規にテンプレートセットを作成する') ;
define('_MYTPLSADMIN_CAPTION_BASE', 'ベース') ;
define('_MYTPLSADMIN_CAPTION_SETNAME', 'セット名') ;
xoops_trust_path/libs/altsys/language/english/mytplsadmin.php on lines 1..27
xoops_trust_path/libs/altsys/language/german/mytplsadmin.php on lines 1..29
xoops_trust_path/libs/altsys/language/persian/mytplsadmin.php on lines 1..38
xoops_trust_path/libs/altsys/language/portuguese/mytplsadmin.php on lines 1..25
xoops_trust_path/libs/altsys/language/pt_utf8/mytplsadmin.php on lines 1..25

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

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

<?php
/**
* Translation of altsys for Persian users
*
* @copyright          http://www.impresscms.ir/ The Persian ImpressCMS Project 
xoops_trust_path/libs/altsys/language/english/mytplsadmin.php on lines 1..27
xoops_trust_path/libs/altsys/language/german/mytplsadmin.php on lines 1..29
xoops_trust_path/libs/altsys/language/ja_utf8/mytplsadmin.php on lines 1..28
xoops_trust_path/libs/altsys/language/portuguese/mytplsadmin.php on lines 1..25
xoops_trust_path/libs/altsys/language/pt_utf8/mytplsadmin.php on lines 1..25

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

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 6 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_BTN_COPY", "Copiar");
define("_MYTPLSADMIN_BTN_NEWTPLSET", "Criar");
xoops_trust_path/libs/altsys/language/english/mytplsadmin.php on lines 1..27
xoops_trust_path/libs/altsys/language/german/mytplsadmin.php on lines 1..29
xoops_trust_path/libs/altsys/language/ja_utf8/mytplsadmin.php on lines 1..28
xoops_trust_path/libs/altsys/language/persian/mytplsadmin.php on lines 1..38
xoops_trust_path/libs/altsys/language/pt_utf8/mytplsadmin.php on lines 1..25

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

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

<?php

define('_MYTPLSADMIN_CREATE_NEW_TPLSET', 'Create a new set') ;
define('_MYTPLSADMIN_CAPTION_BASE', 'Base') ;
define('_MYTPLSADMIN_CAPTION_SETNAME', 'name') ;
xoops_trust_path/libs/altsys/language/german/mytplsadmin.php on lines 1..29
xoops_trust_path/libs/altsys/language/ja_utf8/mytplsadmin.php on lines 1..28
xoops_trust_path/libs/altsys/language/persian/mytplsadmin.php on lines 1..38
xoops_trust_path/libs/altsys/language/portuguese/mytplsadmin.php on lines 1..25
xoops_trust_path/libs/altsys/language/pt_utf8/mytplsadmin.php on lines 1..25

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

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

<?php


// Appended by Xoops Language Checker -GIJOE- in 2007-12-28 04:46:28
define('_MYTPLSADMIN_CUSTOMTEMPLATE', 'Custom template');
xoops_trust_path/libs/altsys/language/english/mytplsadmin.php on lines 1..27
xoops_trust_path/libs/altsys/language/ja_utf8/mytplsadmin.php on lines 1..28
xoops_trust_path/libs/altsys/language/persian/mytplsadmin.php on lines 1..38
xoops_trust_path/libs/altsys/language/portuguese/mytplsadmin.php on lines 1..25
xoops_trust_path/libs/altsys/language/pt_utf8/mytplsadmin.php on lines 1..25

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

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