DariusIII/newznab-tmux

View on GitHub

Showing 1,315 of 2,964 total issues

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

tinymce.Resource.add('tinymce.html-i18n.help-keynav.zh_TW',
'<h1>開始鍵盤瀏覽</h1>\n' +
  '\n' +
  '<dl>\n' +
  '  <dt>跳至功能表列</dt>\n' +
Severity: Major
Found in public/assets/js/plugins/help/js/i18n/keynav/zh_TW.js and 37 other locations - About 2 days to fix
public/assets/js/plugins/help/js/i18n/keynav/ar.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/bg_BG.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ca.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/cs.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/da.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/de.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/el.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/en.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/es.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/eu.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/fa.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/fi.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/fr_FR.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/he_IL.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/hi.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/hr.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/hu_HU.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/id.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/it.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ja.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/kk.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ko_KR.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ms.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/nb_NO.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/nl.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/pl.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/pt_BR.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/pt_PT.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ro.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ru.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/sk.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/sl_SI.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/sv_SE.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/th_TH.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/tr.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/uk.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/vi.js on lines 1..90

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

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

tinymce.Resource.add('tinymce.html-i18n.help-keynav.ro',
'<h1>Începeți navigarea de la tastatură</h1>\n' +
  '\n' +
  '<dl>\n' +
  '  <dt>Focalizare pe bara de meniu</dt>\n' +
Severity: Major
Found in public/assets/js/plugins/help/js/i18n/keynav/ro.js and 37 other locations - About 2 days to fix
public/assets/js/plugins/help/js/i18n/keynav/ar.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/bg_BG.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ca.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/cs.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/da.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/de.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/el.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/en.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/es.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/eu.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/fa.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/fi.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/fr_FR.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/he_IL.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/hi.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/hr.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/hu_HU.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/id.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/it.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ja.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/kk.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ko_KR.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ms.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/nb_NO.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/nl.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/pl.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/pt_BR.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/pt_PT.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ru.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/sk.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/sl_SI.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/sv_SE.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/th_TH.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/tr.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/uk.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/vi.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/zh_TW.js on lines 1..90

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

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

tinymce.Resource.add('tinymce.html-i18n.help-keynav.ms',
'<h1>Mulakan navigasi papan kekunci</h1>\n' +
  '\n' +
  '<dl>\n' +
  '  <dt>Fokus bar Menu</dt>\n' +
Severity: Major
Found in public/assets/js/plugins/help/js/i18n/keynav/ms.js and 37 other locations - About 2 days to fix
public/assets/js/plugins/help/js/i18n/keynav/ar.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/bg_BG.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ca.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/cs.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/da.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/de.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/el.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/en.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/es.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/eu.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/fa.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/fi.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/fr_FR.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/he_IL.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/hi.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/hr.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/hu_HU.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/id.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/it.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ja.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/kk.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ko_KR.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/nb_NO.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/nl.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/pl.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/pt_BR.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/pt_PT.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ro.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ru.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/sk.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/sl_SI.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/sv_SE.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/th_TH.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/tr.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/uk.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/vi.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/zh_TW.js on lines 1..90

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

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

tinymce.Resource.add('tinymce.html-i18n.help-keynav.it',
'<h1>Iniziare la navigazione tramite tastiera</h1>\n' +
  '\n' +
  '<dl>\n' +
  '  <dt>Impostare lo stato attivo per la barra dei menu</dt>\n' +
Severity: Major
Found in public/assets/js/plugins/help/js/i18n/keynav/it.js and 37 other locations - About 2 days to fix
public/assets/js/plugins/help/js/i18n/keynav/ar.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/bg_BG.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ca.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/cs.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/da.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/de.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/el.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/en.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/es.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/eu.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/fa.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/fi.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/fr_FR.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/he_IL.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/hi.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/hr.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/hu_HU.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/id.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ja.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/kk.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ko_KR.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ms.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/nb_NO.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/nl.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/pl.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/pt_BR.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/pt_PT.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ro.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ru.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/sk.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/sl_SI.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/sv_SE.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/th_TH.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/tr.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/uk.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/vi.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/zh_TW.js on lines 1..90

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

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

tinymce.Resource.add('tinymce.html-i18n.help-keynav.hu_HU',
'<h1>Billentyűzetes navigáció indítása</h1>\n' +
  '\n' +
  '<dl>\n' +
  '  <dt>Fókusz a menüsávra</dt>\n' +
Severity: Major
Found in public/assets/js/plugins/help/js/i18n/keynav/hu_HU.js and 37 other locations - About 2 days to fix
public/assets/js/plugins/help/js/i18n/keynav/ar.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/bg_BG.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ca.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/cs.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/da.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/de.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/el.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/en.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/es.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/eu.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/fa.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/fi.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/fr_FR.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/he_IL.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/hi.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/hr.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/id.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/it.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ja.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/kk.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ko_KR.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ms.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/nb_NO.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/nl.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/pl.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/pt_BR.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/pt_PT.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ro.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ru.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/sk.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/sl_SI.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/sv_SE.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/th_TH.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/tr.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/uk.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/vi.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/zh_TW.js on lines 1..90

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

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

tinymce.Resource.add('tinymce.html-i18n.help-keynav.de',
'<h1>Grundlagen der Tastaturnavigation</h1>\n' +
  '\n' +
  '<dl>\n' +
  '  <dt>Fokus auf Menüleiste</dt>\n' +
Severity: Major
Found in public/assets/js/plugins/help/js/i18n/keynav/de.js and 37 other locations - About 2 days to fix
public/assets/js/plugins/help/js/i18n/keynav/ar.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/bg_BG.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ca.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/cs.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/da.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/el.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/en.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/es.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/eu.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/fa.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/fi.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/fr_FR.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/he_IL.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/hi.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/hr.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/hu_HU.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/id.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/it.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ja.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/kk.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ko_KR.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ms.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/nb_NO.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/nl.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/pl.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/pt_BR.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/pt_PT.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ro.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/ru.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/sk.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/sl_SI.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/sv_SE.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/th_TH.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/tr.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/uk.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/vi.js on lines 1..90
public/assets/js/plugins/help/js/i18n/keynav/zh_TW.js on lines 1..90

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

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

    var Dimension = function (name, getOffset) {
      var set = function (element, h) {
        if (!isNumber(h) && !h.match(/^[0-9]+$/)) {
          throw new Error(name + '.set accepts only positive integer values. Value was ' + h);
        }
Severity: Major
Found in public/assets/js/themes/mobile/theme.js and 1 other location - About 1 day to fix
public/assets/js/plugins/table/plugin.js on lines 2395..2433

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

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

    var Dimension = function (name, getOffset) {
      var set = function (element, h) {
        if (!isNumber(h) && !h.match(/^[0-9]+$/)) {
          throw new Error(name + '.set accepts only positive integer values. Value was ' + h);
        }
Severity: Major
Found in public/assets/js/plugins/table/plugin.js and 1 other location - About 1 day to fix
public/assets/js/themes/mobile/theme.js on lines 3290..3328

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

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

      return {
        up: constant({
          selector: ancestor$1,
          closest: closest$1,
          predicate: ancestor$2,
Severity: Major
Found in public/assets/js/plugins/table/plugin.js and 1 other location - About 1 day to fix
public/assets/js/plugins/accordion/plugin.js on lines 617..681

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

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

      return {
        up: constant({
          selector: ancestor,
          closest: closest,
          predicate: ancestor$1,
Severity: Major
Found in public/assets/js/plugins/accordion/plugin.js and 1 other location - About 1 day to fix
public/assets/js/plugins/table/plugin.js on lines 2011..2075

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

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

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

    var value = function (o) {
      var or = function (_opt) {
        return value(o);
      };
      var orThunk = function (_f) {
Severity: Major
Found in public/assets/js/plugins/textpattern/plugin.js and 2 other locations - About 1 day to fix
public/assets/js/plugins/table/plugin.js on lines 6010..6058
public/assets/js/themes/mobile/theme.js on lines 1349..1397

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

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

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

    var value$1 = function (o) {
      var or = function (_opt) {
        return value$1(o);
      };
      var orThunk = function (_f) {
Severity: Major
Found in public/assets/js/plugins/table/plugin.js and 2 other locations - About 1 day to fix
public/assets/js/plugins/textpattern/plugin.js on lines 387..435
public/assets/js/themes/mobile/theme.js on lines 1349..1397

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

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

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

    var value$2 = function (o) {
      var or = function (_opt) {
        return value$2(o);
      };
      var orThunk = function (_f) {
Severity: Major
Found in public/assets/js/themes/mobile/theme.js and 2 other locations - About 1 day to fix
public/assets/js/plugins/table/plugin.js on lines 6010..6058
public/assets/js/plugins/textpattern/plugin.js on lines 387..435

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

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

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

    var DeviceType = function (os, browser, userAgent, mediaMatch) {
      var isiPad = os.isiOS() && /ipad/i.test(userAgent) === true;
      var isiPhone = os.isiOS() && !isiPad;
      var isMobile = os.isiOS() || os.isAndroid();
      var isTouch = isMobile || mediaMatch('(pointer:coarse)');
Severity: Major
Found in public/assets/js/plugins/fullscreen/plugin.js and 3 other locations - About 1 day to fix
public/assets/js/plugins/lists/plugin.js on lines 300..320
public/assets/js/plugins/table/plugin.js on lines 403..423
public/assets/js/themes/mobile/theme.js on lines 252..272

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

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

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

    var DeviceType = function (os, browser, userAgent, mediaMatch) {
      var isiPad = os.isiOS() && /ipad/i.test(userAgent) === true;
      var isiPhone = os.isiOS() && !isiPad;
      var isMobile = os.isiOS() || os.isAndroid();
      var isTouch = isMobile || mediaMatch('(pointer:coarse)');
Severity: Major
Found in public/assets/js/themes/mobile/theme.js and 3 other locations - About 1 day to fix
public/assets/js/plugins/fullscreen/plugin.js on lines 412..432
public/assets/js/plugins/lists/plugin.js on lines 300..320
public/assets/js/plugins/table/plugin.js on lines 403..423

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

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

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

    var DeviceType = function (os, browser, userAgent, mediaMatch) {
      var isiPad = os.isiOS() && /ipad/i.test(userAgent) === true;
      var isiPhone = os.isiOS() && !isiPad;
      var isMobile = os.isiOS() || os.isAndroid();
      var isTouch = isMobile || mediaMatch('(pointer:coarse)');
Severity: Major
Found in public/assets/js/plugins/table/plugin.js and 3 other locations - About 1 day to fix
public/assets/js/plugins/fullscreen/plugin.js on lines 412..432
public/assets/js/plugins/lists/plugin.js on lines 300..320
public/assets/js/themes/mobile/theme.js on lines 252..272

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

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

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

    var DeviceType = function (os, browser, userAgent, mediaMatch) {
      var isiPad = os.isiOS() && /ipad/i.test(userAgent) === true;
      var isiPhone = os.isiOS() && !isiPad;
      var isMobile = os.isiOS() || os.isAndroid();
      var isTouch = isMobile || mediaMatch('(pointer:coarse)');
Severity: Major
Found in public/assets/js/plugins/lists/plugin.js and 3 other locations - About 1 day to fix
public/assets/js/plugins/fullscreen/plugin.js on lines 412..432
public/assets/js/plugins/table/plugin.js on lines 403..423
public/assets/js/themes/mobile/theme.js on lines 252..272

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

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

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

function ajax_sharing_site_status(id, status) {
    // no caching of results
    let rand_no = Math.random();
    if (status != undefined) {
        $.ajax({
Severity: Major
Found in resources/assets/js/utils-admin.js and 1 other location - About 1 day to fix
resources/assets/js/utils-admin.js on lines 438..475

Duplicated Code

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

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

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

Tuning

This issue has a mass of 261.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

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

function ajax_backfill_status(id, what) {
    // no caching of results
    let rand_no = Math.random();
    if (what != undefined) {
        $.ajax({
Severity: Major
Found in resources/assets/js/utils-admin.js and 1 other location - About 1 day to fix
resources/assets/js/utils-admin.js on lines 54..91

Duplicated Code

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

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

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

Tuning

This issue has a mass of 261.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

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

    var browsers = [
      {
        name: 'Edge',
        versionRegexes: [/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],
        search: function (uastring) {
Severity: Major
Found in public/assets/js/plugins/lists/plugin.js and 3 other locations - About 1 day to fix
public/assets/js/plugins/fullscreen/plugin.js on lines 524..576
public/assets/js/plugins/table/plugin.js on lines 551..603
public/assets/js/themes/mobile/theme.js on lines 530..582

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

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