arastta/arastta

View on GitHub

Showing 2,514 of 7,509 total issues

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

<?php

$rtlSUB = array (
 "00622" => array ( 1 => "0FE82",),
 "00623" => array ( 1 => "0FE84",),
Severity: Major
Found in system/mpdf/ttfontdata/dejavusans.GSUB.arab.URD .php and 11 other locations - About 1 wk to fix
system/mpdf/ttfontdata/dejavusans.GSUB.arab.DFLT.php on lines 1..130
system/mpdf/ttfontdata/dejavusans.GSUB.arab.KUR .php on lines 1..130
system/mpdf/ttfontdata/dejavusans.GSUB.arab.SND .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensed.GSUB.arab.DFLT.php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensed.GSUB.arab.KUR .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensed.GSUB.arab.SND .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensed.GSUB.arab.URD .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensedB.GSUB.arab.DFLT.php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensedB.GSUB.arab.KUR .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensedB.GSUB.arab.SND .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensedB.GSUB.arab.URD .php on lines 1..130

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

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

<?php

$rtlSUB = array (
 "00622" => array ( 1 => "0FE82",),
 "00623" => array ( 1 => "0FE84",),
system/mpdf/ttfontdata/dejavusans.GSUB.arab.DFLT.php on lines 1..130
system/mpdf/ttfontdata/dejavusans.GSUB.arab.KUR .php on lines 1..130
system/mpdf/ttfontdata/dejavusans.GSUB.arab.SND .php on lines 1..130
system/mpdf/ttfontdata/dejavusans.GSUB.arab.URD .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensed.GSUB.arab.DFLT.php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensed.GSUB.arab.SND .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensed.GSUB.arab.URD .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensedB.GSUB.arab.DFLT.php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensedB.GSUB.arab.KUR .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensedB.GSUB.arab.SND .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensedB.GSUB.arab.URD .php on lines 1..130

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

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

<?php

$rtlSUB = array (
 "00622" => array ( 1 => "0FE82",),
 "00623" => array ( 1 => "0FE84",),
Severity: Major
Found in system/mpdf/ttfontdata/dejavusans.GSUB.arab.SND .php and 11 other locations - About 1 wk to fix
system/mpdf/ttfontdata/dejavusans.GSUB.arab.DFLT.php on lines 1..130
system/mpdf/ttfontdata/dejavusans.GSUB.arab.KUR .php on lines 1..130
system/mpdf/ttfontdata/dejavusans.GSUB.arab.URD .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensed.GSUB.arab.DFLT.php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensed.GSUB.arab.KUR .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensed.GSUB.arab.SND .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensed.GSUB.arab.URD .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensedB.GSUB.arab.DFLT.php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensedB.GSUB.arab.KUR .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensedB.GSUB.arab.SND .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensedB.GSUB.arab.URD .php on lines 1..130

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

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

<?php

$rtlSUB = array (
 "00622" => array ( 1 => "0FE82",),
 "00623" => array ( 1 => "0FE84",),
system/mpdf/ttfontdata/dejavusans.GSUB.arab.DFLT.php on lines 1..130
system/mpdf/ttfontdata/dejavusans.GSUB.arab.KUR .php on lines 1..130
system/mpdf/ttfontdata/dejavusans.GSUB.arab.SND .php on lines 1..130
system/mpdf/ttfontdata/dejavusans.GSUB.arab.URD .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensed.GSUB.arab.DFLT.php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensed.GSUB.arab.KUR .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensed.GSUB.arab.SND .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensed.GSUB.arab.URD .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensedB.GSUB.arab.KUR .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensedB.GSUB.arab.SND .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensedB.GSUB.arab.URD .php on lines 1..130

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

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

<?php

$rtlSUB = array (
 "00622" => array ( 1 => "0FE82",),
 "00623" => array ( 1 => "0FE84",),
system/mpdf/ttfontdata/dejavusans.GSUB.arab.DFLT.php on lines 1..130
system/mpdf/ttfontdata/dejavusans.GSUB.arab.KUR .php on lines 1..130
system/mpdf/ttfontdata/dejavusans.GSUB.arab.SND .php on lines 1..130
system/mpdf/ttfontdata/dejavusans.GSUB.arab.URD .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensed.GSUB.arab.DFLT.php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensed.GSUB.arab.KUR .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensed.GSUB.arab.URD .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensedB.GSUB.arab.DFLT.php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensedB.GSUB.arab.KUR .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensedB.GSUB.arab.SND .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensedB.GSUB.arab.URD .php on lines 1..130

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

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

<?php

$rtlSUB = array (
 "00622" => array ( 1 => "0FE82",),
 "00623" => array ( 1 => "0FE84",),
system/mpdf/ttfontdata/dejavusans.GSUB.arab.DFLT.php on lines 1..130
system/mpdf/ttfontdata/dejavusans.GSUB.arab.KUR .php on lines 1..130
system/mpdf/ttfontdata/dejavusans.GSUB.arab.SND .php on lines 1..130
system/mpdf/ttfontdata/dejavusans.GSUB.arab.URD .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensed.GSUB.arab.DFLT.php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensed.GSUB.arab.KUR .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensed.GSUB.arab.SND .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensed.GSUB.arab.URD .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensedB.GSUB.arab.DFLT.php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensedB.GSUB.arab.SND .php on lines 1..130
system/mpdf/ttfontdata/dejavusanscondensedB.GSUB.arab.URD .php on lines 1..130

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

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

+function ($) {
  'use strict';

  // COLLAPSE PUBLIC CLASS DEFINITION
  // ================================
Severity: Major
Found in catalog/view/javascript/bootstrap/js/bootstrap.js and 1 other location - About 1 wk to fix
admin/view/javascript/bootstrap/js/bootstrap.js on lines 540..741

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

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

+function ($) {
  'use strict';

  // COLLAPSE PUBLIC CLASS DEFINITION
  // ================================
Severity: Major
Found in admin/view/javascript/bootstrap/js/bootstrap.js and 1 other location - About 1 wk to fix
catalog/view/javascript/bootstrap/js/bootstrap.js on lines 538..739

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

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 (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
    elFinder.prototype.i18.it = {
        translator : 'Alberto Tocci (alberto.tocci@gmail.com)',
        language   : 'Italiano',
        direction  : 'ltr',
Severity: Major
Found in admin/view/javascript/elfinder/i18n/elfinder.it.js and 1 other location - About 1 wk to fix
admin/view/javascript/elfinder/i18n/elfinder.cs.js on lines 6..366

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

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 (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
    elFinder.prototype.i18.cs = {
        translator : 'Jay Gridley &lt;gridley.jay@hotmail.com&gt;',
        language   : 'čeština',
        direction  : 'ltr',
Severity: Major
Found in admin/view/javascript/elfinder/i18n/elfinder.cs.js and 1 other location - About 1 wk to fix
admin/view/javascript/elfinder/i18n/elfinder.it.js on lines 6..366

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

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

if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
    elFinder.prototype.i18.sk = {
        translator : 'Jakub Ďuraš &lt;jkblmr@gmail.com&gt;',
        language   : 'slovenčina',
        direction  : 'ltr',
Severity: Major
Found in admin/view/javascript/elfinder/i18n/elfinder.sk.js and 3 other locations - About 1 wk to fix
admin/view/javascript/elfinder/i18n/elfinder.da.js on lines 6..366
admin/view/javascript/elfinder/i18n/elfinder.el.js on lines 6..366
admin/view/javascript/elfinder/i18n/elfinder.sv.js on lines 6..366

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

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

if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
    elFinder.prototype.i18.sv = {
        translator : 'Gabriel Satzger &lt;gabriel.satzger@sbg.se&gt;',
        language   : 'Svenska',
        direction  : 'ltr',
Severity: Major
Found in admin/view/javascript/elfinder/i18n/elfinder.sv.js and 3 other locations - About 1 wk to fix
admin/view/javascript/elfinder/i18n/elfinder.da.js on lines 6..366
admin/view/javascript/elfinder/i18n/elfinder.el.js on lines 6..366
admin/view/javascript/elfinder/i18n/elfinder.sk.js on lines 6..366

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

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

if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
    elFinder.prototype.i18.el = {
        translator : 'yawd &lt;ingo@yawd.eu&gt;',
        language   : 'Ελληνικά',
        direction  : 'ltr',
Severity: Major
Found in admin/view/javascript/elfinder/i18n/elfinder.el.js and 3 other locations - About 1 wk to fix
admin/view/javascript/elfinder/i18n/elfinder.da.js on lines 6..366
admin/view/javascript/elfinder/i18n/elfinder.sk.js on lines 6..366
admin/view/javascript/elfinder/i18n/elfinder.sv.js on lines 6..366

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

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

if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
    elFinder.prototype.i18.da = {
        translator : 'Mark Topper (webman.io)',
        language   : 'Language of translation in Danish',
        direction  : 'ltr',
Severity: Major
Found in admin/view/javascript/elfinder/i18n/elfinder.da.js and 3 other locations - About 1 wk to fix
admin/view/javascript/elfinder/i18n/elfinder.el.js on lines 6..366
admin/view/javascript/elfinder/i18n/elfinder.sk.js on lines 6..366
admin/view/javascript/elfinder/i18n/elfinder.sv.js on lines 6..366

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

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

if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
    elFinder.prototype.i18.pl = {
        translator : 'Marcin Mikołajczyk &lt;marcin@pjwstk.edu.pl&gt;, Wojciech Jabłoński &lt;www.jablonski@gmail.com&gt;',
        language   : 'Polski',
        direction  : 'ltr',
Severity: Major
Found in admin/view/javascript/elfinder/i18n/elfinder.pl.js and 3 other locations - About 1 wk to fix
admin/view/javascript/elfinder/i18n/elfinder.ko.js on lines 6..366
admin/view/javascript/elfinder/i18n/elfinder.sl.js on lines 6..366
admin/view/javascript/elfinder/i18n/elfinder.vi.js on lines 6..366

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

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

if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
    elFinder.prototype.i18.ko = {
        translator : 'Hwang Ahreum; &lt;luckmagic@naver.com&gt;',
        language   : 'Korea-한국어',
        direction  : 'ltr',
Severity: Major
Found in admin/view/javascript/elfinder/i18n/elfinder.ko.js and 3 other locations - About 1 wk to fix
admin/view/javascript/elfinder/i18n/elfinder.pl.js on lines 7..367
admin/view/javascript/elfinder/i18n/elfinder.sl.js on lines 6..366
admin/view/javascript/elfinder/i18n/elfinder.vi.js on lines 6..366

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

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

if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
  elFinder.prototype.i18.vi = {
    translator : 'Chung Thủy f &lt;chungthuyf@gmail.com&gt;,Son Nguyen &lt;son.nguyen@catalyst.net.nz&gt;',
    language : 'Ngôn ngữ Việt Nam',
    direction : 'ltr',
Severity: Major
Found in admin/view/javascript/elfinder/i18n/elfinder.vi.js and 3 other locations - About 1 wk to fix
admin/view/javascript/elfinder/i18n/elfinder.ko.js on lines 6..366
admin/view/javascript/elfinder/i18n/elfinder.pl.js on lines 7..367
admin/view/javascript/elfinder/i18n/elfinder.sl.js on lines 6..366

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

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

if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
    elFinder.prototype.i18.sl = {
        translator : 'Damjan Rems &lt;d_rems at yahoo.com&gt;',
        language   : 'Slovenščina',
        direction  : 'ltr',
Severity: Major
Found in admin/view/javascript/elfinder/i18n/elfinder.sl.js and 3 other locations - About 1 wk to fix
admin/view/javascript/elfinder/i18n/elfinder.ko.js on lines 6..366
admin/view/javascript/elfinder/i18n/elfinder.pl.js on lines 7..367
admin/view/javascript/elfinder/i18n/elfinder.vi.js on lines 6..366

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

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

if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
    elFinder.prototype.i18.de = {
        translator : 'JPG & Mace &lt;dev@flying-datacenter.de&gt;, tora60 from pragmaMx.org, osworx.net',
        language   : 'Deutsch',
        direction  : 'ltr',
Severity: Major
Found in admin/view/javascript/elfinder/i18n/elfinder.de.js and 3 other locations - About 1 wk to fix
admin/view/javascript/elfinder/i18n/elfinder.ar.js on lines 6..366
admin/view/javascript/elfinder/i18n/elfinder.bg.js on lines 6..366
admin/view/javascript/elfinder/i18n/elfinder.ca.js on lines 6..366

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

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

if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
    elFinder.prototype.i18.ca = {
        translator : 'Sergio Jovani &lt;lesergi@gmail.com&gt;',
        language   : 'Català',
        direction  : 'ltr',
Severity: Major
Found in admin/view/javascript/elfinder/i18n/elfinder.ca.js and 3 other locations - About 1 wk to fix
admin/view/javascript/elfinder/i18n/elfinder.ar.js on lines 6..366
admin/view/javascript/elfinder/i18n/elfinder.bg.js on lines 6..366
admin/view/javascript/elfinder/i18n/elfinder.de.js on lines 7..367

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

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