amtgard/ORK3

View on GitHub

Showing 621 of 2,354 total issues

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

jQuery(function($){
    $.datepicker.regional['th'] = {
        closeText: 'ปิด',
        prevText: '« ย้อน',
        nextText: 'ถัดไป »',
orkui/template/default/script/development-bundle/ui/i18n/jquery-ui-i18n.js on lines 1497..1517
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-af.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-az.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cy-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-da.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-de.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-el.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-es.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-et.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js on lines 5..25
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-he.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-id.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-is.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-it.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-kk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-km.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lb.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-mk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-nl-BE.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-no.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js on lines 3..21
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js on lines 3..23

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

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

jQuery(function($){
    $.datepicker.regional['sr'] = {
        closeText: 'Затвори',
        prevText: '<',
        nextText: '>',
orkui/template/default/script/development-bundle/ui/i18n/jquery-ui-i18n.js on lines 1497..1517
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-af.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-az.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cy-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-da.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-de.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-el.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-es.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-et.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js on lines 5..25
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-he.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-id.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-is.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-it.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-kk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-km.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lb.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-mk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-nl-BE.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-no.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js on lines 3..21
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-th.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js on lines 3..23

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

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

jQuery(function($){
    $.datepicker.regional['af'] = {
        closeText: 'Selekteer',
        prevText: 'Vorige',
        nextText: 'Volgende',
orkui/template/default/script/development-bundle/ui/i18n/jquery-ui-i18n.js on lines 1497..1517
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-az.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cy-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-da.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-de.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-el.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-es.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-et.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js on lines 5..25
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-he.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-id.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-is.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-it.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-kk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-km.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lb.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-mk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-nl-BE.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-no.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js on lines 3..21
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-th.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js on lines 3..23

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

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

jQuery(function($){
  $.datepicker.regional['no'] = {
    closeText: 'Lukk',
    prevText: '«Forrige',
    nextText: 'Neste»',
orkui/template/default/script/development-bundle/ui/i18n/jquery-ui-i18n.js on lines 1497..1517
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-af.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-az.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cy-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-da.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-de.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-el.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-es.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-et.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js on lines 5..25
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-he.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-id.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-is.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-it.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-kk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-km.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lb.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-mk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-nl-BE.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js on lines 3..21
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-th.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js on lines 3..23

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

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

jQuery(function($){
    $.datepicker.regional['en-AU'] = {
        closeText: 'Done',
        prevText: 'Prev',
        nextText: 'Next',
orkui/template/default/script/development-bundle/ui/i18n/jquery-ui-i18n.js on lines 1497..1517
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-af.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-az.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cy-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-da.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-de.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-el.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-es.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-et.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js on lines 5..25
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-he.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-id.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-is.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-it.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-kk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-km.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lb.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-mk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-nl-BE.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-no.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js on lines 3..21
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-th.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js on lines 3..23

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

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

jQuery(function($){
    $.datepicker.regional['lb'] = {
        closeText: 'Fäerdeg',
        prevText: 'Zréck',
        nextText: 'Weider',
orkui/template/default/script/development-bundle/ui/i18n/jquery-ui-i18n.js on lines 1497..1517
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-af.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-az.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cy-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-da.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-de.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-el.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-es.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-et.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js on lines 5..25
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-he.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-id.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-is.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-it.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-kk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-km.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-mk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-nl-BE.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-no.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js on lines 3..21
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-th.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js on lines 3..23

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

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

jQuery(function($){
    $.datepicker.regional['sk'] = {
        closeText: 'Zavrieť',
        prevText: '<Predchádzajúci',
        nextText: 'Nasledujúci>',
orkui/template/default/script/development-bundle/ui/i18n/jquery-ui-i18n.js on lines 1497..1517
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-af.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-az.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cy-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-da.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-de.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-el.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-es.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-et.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js on lines 5..25
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-he.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-id.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-is.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-it.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-kk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-km.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lb.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-mk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-nl-BE.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-no.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js on lines 3..21
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-th.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js on lines 3..23

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

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

jQuery(function($){
    $.datepicker.regional['hy'] = {
        closeText: 'Փակել',
        prevText: '<Նախ.',
        nextText: 'Հաջ.>',
orkui/template/default/script/development-bundle/ui/i18n/jquery-ui-i18n.js on lines 1497..1517
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-af.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-az.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cy-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-da.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-de.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-el.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-es.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-et.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js on lines 5..25
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-he.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-id.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-is.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-it.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-kk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-km.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lb.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-mk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-nl-BE.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-no.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js on lines 3..21
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-th.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js on lines 3..23

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

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

jQuery(function($){
    $.datepicker.regional['ar-DZ'] = {
        closeText: 'إغلاق',
        prevText: '<السابق',
        nextText: 'التالي>',
orkui/template/default/script/development-bundle/ui/i18n/jquery-ui-i18n.js on lines 1497..1517
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-af.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-az.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cy-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-da.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-de.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-el.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-es.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-et.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js on lines 5..25
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-he.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-id.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-is.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-it.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-kk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-km.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lb.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-mk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-nl-BE.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-no.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js on lines 3..21
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-th.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js on lines 3..23

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

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

jQuery(function($){
    $.datepicker.regional['et'] = {
        closeText: 'Sulge',
        prevText: 'Eelnev',
        nextText: 'Järgnev',
orkui/template/default/script/development-bundle/ui/i18n/jquery-ui-i18n.js on lines 1497..1517
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-af.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-az.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cy-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-da.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-de.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-el.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-es.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js on lines 5..25
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-he.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-id.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-is.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-it.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-kk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-km.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lb.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-mk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-nl-BE.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-no.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js on lines 3..21
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-th.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js on lines 3..23

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

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

jQuery(function($){
    $.datepicker.regional['en-GB'] = {
        closeText: 'Done',
        prevText: 'Prev',
        nextText: 'Next',
orkui/template/default/script/development-bundle/ui/i18n/jquery-ui-i18n.js on lines 1497..1517
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-af.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-az.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cy-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-da.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-de.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-el.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-es.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-et.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js on lines 5..25
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-he.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-id.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-is.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-it.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-kk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-km.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lb.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-mk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-nl-BE.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-no.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js on lines 3..21
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-th.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js on lines 3..23

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

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

jQuery(function($){
    $.datepicker.regional['fi'] = {
        closeText: 'Sulje',
        prevText: '«Edellinen',
        nextText: 'Seuraava»',
orkui/template/default/script/development-bundle/ui/i18n/jquery-ui-i18n.js on lines 1497..1517
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-af.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-az.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cy-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-da.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-de.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-el.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-es.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-et.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js on lines 5..25
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-he.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-id.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-is.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-it.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-kk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-km.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lb.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-mk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-nl-BE.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-no.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js on lines 3..21
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-th.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js on lines 3..23

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

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

jQuery(function($){
    $.datepicker.regional['it'] = {
        closeText: 'Chiudi',
        prevText: '<Prec',
        nextText: 'Succ>',
orkui/template/default/script/development-bundle/ui/i18n/jquery-ui-i18n.js on lines 1497..1517
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-af.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-az.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cy-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-da.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-de.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-el.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-es.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-et.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js on lines 5..25
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-he.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-id.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-is.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-kk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-km.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lb.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-mk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-nl-BE.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-no.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js on lines 3..21
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-th.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js on lines 3..23

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

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

jQuery(function($) {
    $.datepicker.regional['az'] = {
        closeText: 'Bağla',
        prevText: '<Geri',
        nextText: 'İrəli>',
orkui/template/default/script/development-bundle/ui/i18n/jquery-ui-i18n.js on lines 1497..1517
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-af.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cy-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-da.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-de.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-el.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-es.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-et.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js on lines 5..25
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-he.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-id.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-is.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-it.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-kk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-km.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lb.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-mk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-nl-BE.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-no.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js on lines 3..21
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-th.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js on lines 3..23

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

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

jQuery(function($){
    $.datepicker.regional['en-NZ'] = {
        closeText: 'Done',
        prevText: 'Prev',
        nextText: 'Next',
orkui/template/default/script/development-bundle/ui/i18n/jquery-ui-i18n.js on lines 1497..1517
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-af.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-az.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-cy-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-da.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-de.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-el.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-es.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-et.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js on lines 5..25
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-he.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-id.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-is.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-it.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-kk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-km.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lb.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-mk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-nl-BE.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-no.js on lines 4..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js on lines 3..21
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-th.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js on lines 3..23
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js on lines 3..23

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

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

jQuery(function($){
    $.datepicker.regional['pt'] = {
        closeText: 'Fechar',
        prevText: '<Anterior',
        nextText: 'Seguinte',
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-ro.js on lines 6..26

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

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

jQuery(function($){
    $.datepicker.regional['ro'] = {
        closeText: 'Închide',
        prevText: '« Luna precedentă',
        nextText: 'Luna următoare »',
orkui/template/default/script/development-bundle/ui/i18n/jquery.ui.datepicker-pt.js on lines 2..22

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

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

Identical blocks of code found in 7 locations. Consider refactoring.
Open

<?php

/******************

    Inventory Service Definitions
Severity: Major
Found in orkservice/Notification/NotificationService.definitions.php and 6 other locations - About 7 hrs to fix
orkservice/DataSet/DataSetService.definitions.php on lines 1..43
orkservice/Map/MapService.definitions.php on lines 1..43
orkservice/Principality/PrincipalityService.definitions.php on lines 1..43
orkservice/Tournament/TournamentService.definitions.php on lines 1..43
orkservice/Treasury/TreasuryService.definitions.php on lines 1..43
orkservice/Unit/UnitService.definitions.php on lines 1..43

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

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

Identical blocks of code found in 7 locations. Consider refactoring.
Open

<?php

/******************

    Inventory Service Definitions
Severity: Major
Found in orkservice/Tournament/TournamentService.definitions.php and 6 other locations - About 7 hrs to fix
orkservice/DataSet/DataSetService.definitions.php on lines 1..43
orkservice/Map/MapService.definitions.php on lines 1..43
orkservice/Notification/NotificationService.definitions.php on lines 1..43
orkservice/Principality/PrincipalityService.definitions.php on lines 1..43
orkservice/Treasury/TreasuryService.definitions.php on lines 1..43
orkservice/Unit/UnitService.definitions.php on lines 1..43

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

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

Identical blocks of code found in 7 locations. Consider refactoring.
Open

<?php

/******************

    Inventory Service Definitions
Severity: Major
Found in orkservice/Principality/PrincipalityService.definitions.php and 6 other locations - About 7 hrs to fix
orkservice/DataSet/DataSetService.definitions.php on lines 1..43
orkservice/Map/MapService.definitions.php on lines 1..43
orkservice/Notification/NotificationService.definitions.php on lines 1..43
orkservice/Tournament/TournamentService.definitions.php on lines 1..43
orkservice/Treasury/TreasuryService.definitions.php on lines 1..43
orkservice/Unit/UnitService.definitions.php on lines 1..43

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

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