sibprogrammer/owp

View on GitHub

Showing 695 of 803 total issues

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

if(Ext.DatePicker){
  Ext.apply(Ext.DatePicker.prototype, {
    todayText         : "����",
    minText           : ".����� �� �� ���� ������ ������� �����",
    maxText           : ".����� �� �� ���� ������ ����� �����",
Severity: Major
Found in public/ext/locale/ext-lang-he.js and 28 other locations - About 4 hrs to fix
public/ext/locale/ext-lang-bg.js on lines 97..115
public/ext/locale/ext-lang-ca.js on lines 100..118
public/ext/locale/ext-lang-cs.js on lines 104..122
public/ext/locale/ext-lang-da.js on lines 107..125
public/ext/locale/ext-lang-de.js on lines 115..133
public/ext/locale/ext-lang-en.js on lines 104..122
public/ext/locale/ext-lang-en_GB.js on lines 100..118
public/ext/locale/ext-lang-es.js on lines 103..121
public/ext/locale/ext-lang-fa.js on lines 92..110
public/ext/locale/ext-lang-fr.js on lines 121..139
public/ext/locale/ext-lang-hr.js on lines 107..125
public/ext/locale/ext-lang-hu.js on lines 107..125
public/ext/locale/ext-lang-id.js on lines 112..130
public/ext/locale/ext-lang-it.js on lines 105..123
public/ext/locale/ext-lang-ja.js on lines 103..121
public/ext/locale/ext-lang-ko.js on lines 77..95
public/ext/locale/ext-lang-lt.js on lines 118..136
public/ext/locale/ext-lang-nl.js on lines 108..126
public/ext/locale/ext-lang-no_NB.js on lines 105..123
public/ext/locale/ext-lang-no_NN.js on lines 105..123
public/ext/locale/ext-lang-pt.js on lines 80..98
public/ext/locale/ext-lang-pt_BR.js on lines 122..140
public/ext/locale/ext-lang-pt_PT.js on lines 100..118
public/ext/locale/ext-lang-ro.js on lines 105..123
public/ext/locale/ext-lang-ru.js on lines 119..137
public/ext/locale/ext-lang-th.js on lines 105..123
public/ext/locale/ext-lang-tr.js on lines 119..137
public/ext/locale/ext-lang-ukr.js on lines 81..99

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

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

if(Ext.DatePicker){
  Ext.apply(Ext.DatePicker.prototype, {
    todayText         : "Šiandien",
    minText           : "Ši data yra mažesnė už leistiną",
    maxText           : "Ši data yra didesnė už leistiną",
Severity: Major
Found in public/ext/locale/ext-lang-lt.js and 28 other locations - About 4 hrs to fix
public/ext/locale/ext-lang-bg.js on lines 97..115
public/ext/locale/ext-lang-ca.js on lines 100..118
public/ext/locale/ext-lang-cs.js on lines 104..122
public/ext/locale/ext-lang-da.js on lines 107..125
public/ext/locale/ext-lang-de.js on lines 115..133
public/ext/locale/ext-lang-en.js on lines 104..122
public/ext/locale/ext-lang-en_GB.js on lines 100..118
public/ext/locale/ext-lang-es.js on lines 103..121
public/ext/locale/ext-lang-fa.js on lines 92..110
public/ext/locale/ext-lang-fr.js on lines 121..139
public/ext/locale/ext-lang-he.js on lines 103..121
public/ext/locale/ext-lang-hr.js on lines 107..125
public/ext/locale/ext-lang-hu.js on lines 107..125
public/ext/locale/ext-lang-id.js on lines 112..130
public/ext/locale/ext-lang-it.js on lines 105..123
public/ext/locale/ext-lang-ja.js on lines 103..121
public/ext/locale/ext-lang-ko.js on lines 77..95
public/ext/locale/ext-lang-nl.js on lines 108..126
public/ext/locale/ext-lang-no_NB.js on lines 105..123
public/ext/locale/ext-lang-no_NN.js on lines 105..123
public/ext/locale/ext-lang-pt.js on lines 80..98
public/ext/locale/ext-lang-pt_BR.js on lines 122..140
public/ext/locale/ext-lang-pt_PT.js on lines 100..118
public/ext/locale/ext-lang-ro.js on lines 105..123
public/ext/locale/ext-lang-ru.js on lines 119..137
public/ext/locale/ext-lang-th.js on lines 105..123
public/ext/locale/ext-lang-tr.js on lines 119..137
public/ext/locale/ext-lang-ukr.js on lines 81..99

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

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

if(Ext.DatePicker){
  Ext.apply(Ext.DatePicker.prototype, {
    todayText         : "I dag",
    minText           : "Denne datoen er før tidligste tillatte dato",
    maxText           : "Denne datoen er etter seneste tillatte dato",
Severity: Major
Found in public/ext/locale/ext-lang-no_NB.js and 28 other locations - About 4 hrs to fix
public/ext/locale/ext-lang-bg.js on lines 97..115
public/ext/locale/ext-lang-ca.js on lines 100..118
public/ext/locale/ext-lang-cs.js on lines 104..122
public/ext/locale/ext-lang-da.js on lines 107..125
public/ext/locale/ext-lang-de.js on lines 115..133
public/ext/locale/ext-lang-en.js on lines 104..122
public/ext/locale/ext-lang-en_GB.js on lines 100..118
public/ext/locale/ext-lang-es.js on lines 103..121
public/ext/locale/ext-lang-fa.js on lines 92..110
public/ext/locale/ext-lang-fr.js on lines 121..139
public/ext/locale/ext-lang-he.js on lines 103..121
public/ext/locale/ext-lang-hr.js on lines 107..125
public/ext/locale/ext-lang-hu.js on lines 107..125
public/ext/locale/ext-lang-id.js on lines 112..130
public/ext/locale/ext-lang-it.js on lines 105..123
public/ext/locale/ext-lang-ja.js on lines 103..121
public/ext/locale/ext-lang-ko.js on lines 77..95
public/ext/locale/ext-lang-lt.js on lines 118..136
public/ext/locale/ext-lang-nl.js on lines 108..126
public/ext/locale/ext-lang-no_NN.js on lines 105..123
public/ext/locale/ext-lang-pt.js on lines 80..98
public/ext/locale/ext-lang-pt_BR.js on lines 122..140
public/ext/locale/ext-lang-pt_PT.js on lines 100..118
public/ext/locale/ext-lang-ro.js on lines 105..123
public/ext/locale/ext-lang-ru.js on lines 119..137
public/ext/locale/ext-lang-th.js on lines 105..123
public/ext/locale/ext-lang-tr.js on lines 119..137
public/ext/locale/ext-lang-ukr.js on lines 81..99

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.DatePicker){
    Ext.apply(Ext.DatePicker.prototype, {
       todayText         : "Vandag",
       minText           : "Hierdie datum is vroër as die minimum datum",
       maxText           : "Hierdie dataum is later as die maximum datum",
Severity: Major
Found in public/ext/locale/ext-lang-af.js and 5 other locations - About 3 hrs to fix
public/ext/locale/ext-lang-lv.js on lines 76..92
public/ext/locale/ext-lang-sl.js on lines 76..92
public/ext/locale/ext-lang-sr.js on lines 78..94
public/ext/locale/ext-lang-sr_RS.js on lines 78..94
public/ext/locale/ext-lang-sv_SE.js on lines 78..94

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.DatePicker){
   Ext.apply(Ext.DatePicker.prototype, {
      todayText         : "Šodiena",
      minText           : "Norādītais datums ir mazāks par minimālo datumu",
      maxText           : "Norādītais datums ir lielāks par maksimālo datumu",
Severity: Major
Found in public/ext/locale/ext-lang-lv.js and 5 other locations - About 3 hrs to fix
public/ext/locale/ext-lang-af.js on lines 83..99
public/ext/locale/ext-lang-sl.js on lines 76..92
public/ext/locale/ext-lang-sr.js on lines 78..94
public/ext/locale/ext-lang-sr_RS.js on lines 78..94
public/ext/locale/ext-lang-sv_SE.js on lines 78..94

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.DatePicker){
   Ext.apply(Ext.DatePicker.prototype, {
      todayText         : "Idag",
      minText           : "Detta datum inträffar före det tidigast tillåtna",
      maxText           : "Detta datum inträffar efter det senast tillåtna",
Severity: Major
Found in public/ext/locale/ext-lang-sv_SE.js and 5 other locations - About 3 hrs to fix
public/ext/locale/ext-lang-af.js on lines 83..99
public/ext/locale/ext-lang-lv.js on lines 76..92
public/ext/locale/ext-lang-sl.js on lines 76..92
public/ext/locale/ext-lang-sr.js on lines 78..94
public/ext/locale/ext-lang-sr_RS.js on lines 78..94

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.DatePicker){
   Ext.apply(Ext.DatePicker.prototype, {
      todayText         : "Данас",
      minText           : "Датум је испред најмањег дозвољеног датума",
      maxText           : "Датум је након највећег дозвољеног датума",
Severity: Major
Found in public/ext/locale/ext-lang-sr_RS.js and 5 other locations - About 3 hrs to fix
public/ext/locale/ext-lang-af.js on lines 83..99
public/ext/locale/ext-lang-lv.js on lines 76..92
public/ext/locale/ext-lang-sl.js on lines 76..92
public/ext/locale/ext-lang-sr.js on lines 78..94
public/ext/locale/ext-lang-sv_SE.js on lines 78..94

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.DatePicker){
   Ext.apply(Ext.DatePicker.prototype, {
      todayText         : "Danas",
      minText           : "Datum је ispred najmanjeg dozvoljenog datuma",
      maxText           : "Datum је nakon najvećeg dozvoljenog datuma",
Severity: Major
Found in public/ext/locale/ext-lang-sr.js and 5 other locations - About 3 hrs to fix
public/ext/locale/ext-lang-af.js on lines 83..99
public/ext/locale/ext-lang-lv.js on lines 76..92
public/ext/locale/ext-lang-sl.js on lines 76..92
public/ext/locale/ext-lang-sr_RS.js on lines 78..94
public/ext/locale/ext-lang-sv_SE.js on lines 78..94

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.DatePicker){
   Ext.apply(Ext.DatePicker.prototype, {
      todayText         : "Danes",
      minText           : "Navedeni datum je pred spodnjim datumom",
      maxText           : "Navedeni datum je za zgornjim datumom",
Severity: Major
Found in public/ext/locale/ext-lang-sl.js and 5 other locations - About 3 hrs to fix
public/ext/locale/ext-lang-af.js on lines 83..99
public/ext/locale/ext-lang-lv.js on lines 76..92
public/ext/locale/ext-lang-sr.js on lines 78..94
public/ext/locale/ext-lang-sr_RS.js on lines 78..94
public/ext/locale/ext-lang-sv_SE.js on lines 78..94

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.DatePicker){
   Ext.apply(Ext.DatePicker.prototype, {
      todayText         : "ÓÞìåñá",
      minText           : "Ç çìåñïìçíßá áõôÞ åßíáé ðñéí ôçí ìéêñüôåñç çìåñïìçíßá",
      maxText           : "Ç çìåñïìçíßá áõôÞ åßíáé ìåôÜ ôçí ìåãáëýôåñç çìåñïìçíßá",
Severity: Major
Found in public/ext/locale/ext-lang-gr.js and 5 other locations - About 3 hrs to fix
public/ext/locale/ext-lang-el_GR.js on lines 122..137
public/ext/locale/ext-lang-fr_CA.js on lines 119..134
public/ext/locale/ext-lang-mk.js on lines 77..92
public/ext/locale/ext-lang-sk.js on lines 81..96
public/ext/locale/ext-lang-vn.js on lines 82..97

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.DatePicker){
   Ext.apply(Ext.DatePicker.prototype, {
      todayText         : "Денеска",
      minText           : "Овој датум е пред најмалиот датум",
      maxText           : "Овој датум е пред најголемиот датум",
Severity: Major
Found in public/ext/locale/ext-lang-mk.js and 5 other locations - About 3 hrs to fix
public/ext/locale/ext-lang-el_GR.js on lines 122..137
public/ext/locale/ext-lang-fr_CA.js on lines 119..134
public/ext/locale/ext-lang-gr.js on lines 76..91
public/ext/locale/ext-lang-sk.js on lines 81..96
public/ext/locale/ext-lang-vn.js on lines 82..97

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.DatePicker){
   Ext.apply(Ext.DatePicker.prototype, {
      todayText         : "Dnes",
      minText           : "Tento dátum je menší ako minimálny možný dátum",
      maxText           : "Tento dátum je väčší ako maximálny možný dátum",
Severity: Major
Found in public/ext/locale/ext-lang-sk.js and 5 other locations - About 3 hrs to fix
public/ext/locale/ext-lang-el_GR.js on lines 122..137
public/ext/locale/ext-lang-fr_CA.js on lines 119..134
public/ext/locale/ext-lang-gr.js on lines 76..91
public/ext/locale/ext-lang-mk.js on lines 77..92
public/ext/locale/ext-lang-vn.js on lines 82..97

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.DatePicker){
   Ext.apply(Ext.DatePicker.prototype, {
      todayText         : "Σήμερα",
      minText           : "Η Ημερομηνία είναι προγενέστερη από την παλαιότερη αποδεκτή",
      maxText           : "Η Ημερομηνία είναι μεταγενέστερη από την νεότερη αποδεκτή",
Severity: Major
Found in public/ext/locale/ext-lang-el_GR.js and 5 other locations - About 3 hrs to fix
public/ext/locale/ext-lang-fr_CA.js on lines 119..134
public/ext/locale/ext-lang-gr.js on lines 76..91
public/ext/locale/ext-lang-mk.js on lines 77..92
public/ext/locale/ext-lang-sk.js on lines 81..96
public/ext/locale/ext-lang-vn.js on lines 82..97

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.DatePicker){
   Ext.apply(Ext.DatePicker.prototype, {
      todayText         : "Hôm nay",
      minText           : "Ngày này nhỏ hơn ngày nhỏ nhất",
      maxText           : "Ngày này lớn hơn ngày lớn nhất",
Severity: Major
Found in public/ext/locale/ext-lang-vn.js and 5 other locations - About 3 hrs to fix
public/ext/locale/ext-lang-el_GR.js on lines 122..137
public/ext/locale/ext-lang-fr_CA.js on lines 119..134
public/ext/locale/ext-lang-gr.js on lines 76..91
public/ext/locale/ext-lang-mk.js on lines 77..92
public/ext/locale/ext-lang-sk.js on lines 81..96

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.DatePicker){
   Ext.apply(Ext.DatePicker.prototype, {
      todayText         : "Aujourd'hui",
      minText           : "Cette date est plus petite que la date minimum",
      maxText           : "Cette date est plus grande que la date maximum",
Severity: Major
Found in public/ext/locale/ext-lang-fr_CA.js and 5 other locations - About 3 hrs to fix
public/ext/locale/ext-lang-el_GR.js on lines 122..137
public/ext/locale/ext-lang-gr.js on lines 76..91
public/ext/locale/ext-lang-mk.js on lines 77..92
public/ext/locale/ext-lang-sk.js on lines 81..96
public/ext/locale/ext-lang-vn.js on lines 82..97

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

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

if(Ext.util.Format){
   Ext.util.Format.date = function(v, format){
      if(!v) return "";
      if(!(v instanceof Date)) v = new Date(Date.parse(v));
      return v.dateFormat(format || "d.m.Y");
Severity: Major
Found in public/ext/locale/ext-lang-sk.js and 41 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-af.js on lines 75..81
public/ext/locale/ext-lang-bg.js on lines 89..95
public/ext/locale/ext-lang-ca.js on lines 92..98
public/ext/locale/ext-lang-cs.js on lines 96..102
public/ext/locale/ext-lang-da.js on lines 99..105
public/ext/locale/ext-lang-el_GR.js on lines 114..120
public/ext/locale/ext-lang-en.js on lines 96..102
public/ext/locale/ext-lang-en_GB.js on lines 92..98
public/ext/locale/ext-lang-es.js on lines 95..101
public/ext/locale/ext-lang-fa.js on lines 84..90
public/ext/locale/ext-lang-fi.js on lines 97..103
public/ext/locale/ext-lang-fr_CA.js on lines 111..117
public/ext/locale/ext-lang-gr.js on lines 68..74
public/ext/locale/ext-lang-he.js on lines 95..101
public/ext/locale/ext-lang-hr.js on lines 99..105
public/ext/locale/ext-lang-hu.js on lines 99..105
public/ext/locale/ext-lang-id.js on lines 104..110
public/ext/locale/ext-lang-it.js on lines 97..103
public/ext/locale/ext-lang-ja.js on lines 95..101
public/ext/locale/ext-lang-ko.js on lines 69..75
public/ext/locale/ext-lang-lt.js on lines 110..116
public/ext/locale/ext-lang-lv.js on lines 68..74
public/ext/locale/ext-lang-mk.js on lines 69..75
public/ext/locale/ext-lang-nl.js on lines 100..106
public/ext/locale/ext-lang-no_NB.js on lines 97..103
public/ext/locale/ext-lang-no_NN.js on lines 97..103
public/ext/locale/ext-lang-pl.js on lines 106..112
public/ext/locale/ext-lang-pt.js on lines 72..78
public/ext/locale/ext-lang-pt_PT.js on lines 92..98
public/ext/locale/ext-lang-ro.js on lines 97..103
public/ext/locale/ext-lang-ru.js on lines 111..117
public/ext/locale/ext-lang-sl.js on lines 68..74
public/ext/locale/ext-lang-sr.js on lines 70..76
public/ext/locale/ext-lang-sr_RS.js on lines 70..76
public/ext/locale/ext-lang-sv_SE.js on lines 70..76
public/ext/locale/ext-lang-th.js on lines 97..103
public/ext/locale/ext-lang-tr.js on lines 111..117
public/ext/locale/ext-lang-ukr.js on lines 73..79
public/ext/locale/ext-lang-vn.js on lines 74..80
public/ext/locale/ext-lang-zh_CN.js on lines 75..81
public/ext/locale/ext-lang-zh_TW.js on lines 69..75

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

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

if(Ext.util.Format){
   Ext.util.Format.date = function(v, format){
      if(!v) return "";
      if(!(v instanceof Date)) v = new Date(Date.parse(v));
      return v.dateFormat(format || "d.m.Y");
Severity: Major
Found in public/ext/locale/ext-lang-sl.js and 41 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-af.js on lines 75..81
public/ext/locale/ext-lang-bg.js on lines 89..95
public/ext/locale/ext-lang-ca.js on lines 92..98
public/ext/locale/ext-lang-cs.js on lines 96..102
public/ext/locale/ext-lang-da.js on lines 99..105
public/ext/locale/ext-lang-el_GR.js on lines 114..120
public/ext/locale/ext-lang-en.js on lines 96..102
public/ext/locale/ext-lang-en_GB.js on lines 92..98
public/ext/locale/ext-lang-es.js on lines 95..101
public/ext/locale/ext-lang-fa.js on lines 84..90
public/ext/locale/ext-lang-fi.js on lines 97..103
public/ext/locale/ext-lang-fr_CA.js on lines 111..117
public/ext/locale/ext-lang-gr.js on lines 68..74
public/ext/locale/ext-lang-he.js on lines 95..101
public/ext/locale/ext-lang-hr.js on lines 99..105
public/ext/locale/ext-lang-hu.js on lines 99..105
public/ext/locale/ext-lang-id.js on lines 104..110
public/ext/locale/ext-lang-it.js on lines 97..103
public/ext/locale/ext-lang-ja.js on lines 95..101
public/ext/locale/ext-lang-ko.js on lines 69..75
public/ext/locale/ext-lang-lt.js on lines 110..116
public/ext/locale/ext-lang-lv.js on lines 68..74
public/ext/locale/ext-lang-mk.js on lines 69..75
public/ext/locale/ext-lang-nl.js on lines 100..106
public/ext/locale/ext-lang-no_NB.js on lines 97..103
public/ext/locale/ext-lang-no_NN.js on lines 97..103
public/ext/locale/ext-lang-pl.js on lines 106..112
public/ext/locale/ext-lang-pt.js on lines 72..78
public/ext/locale/ext-lang-pt_PT.js on lines 92..98
public/ext/locale/ext-lang-ro.js on lines 97..103
public/ext/locale/ext-lang-ru.js on lines 111..117
public/ext/locale/ext-lang-sk.js on lines 72..78
public/ext/locale/ext-lang-sr.js on lines 70..76
public/ext/locale/ext-lang-sr_RS.js on lines 70..76
public/ext/locale/ext-lang-sv_SE.js on lines 70..76
public/ext/locale/ext-lang-th.js on lines 97..103
public/ext/locale/ext-lang-tr.js on lines 111..117
public/ext/locale/ext-lang-ukr.js on lines 73..79
public/ext/locale/ext-lang-vn.js on lines 74..80
public/ext/locale/ext-lang-zh_CN.js on lines 75..81
public/ext/locale/ext-lang-zh_TW.js on lines 69..75

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

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

if(Ext.util.Format){
   Ext.util.Format.date = function(v, format){
      if(!v) return "";
      if(!(v instanceof Date)) v = new Date(Date.parse(v));
      return v.dateFormat(format || "d/m/Y");
Severity: Major
Found in public/ext/locale/ext-lang-fr_CA.js and 41 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-af.js on lines 75..81
public/ext/locale/ext-lang-bg.js on lines 89..95
public/ext/locale/ext-lang-ca.js on lines 92..98
public/ext/locale/ext-lang-cs.js on lines 96..102
public/ext/locale/ext-lang-da.js on lines 99..105
public/ext/locale/ext-lang-el_GR.js on lines 114..120
public/ext/locale/ext-lang-en.js on lines 96..102
public/ext/locale/ext-lang-en_GB.js on lines 92..98
public/ext/locale/ext-lang-es.js on lines 95..101
public/ext/locale/ext-lang-fa.js on lines 84..90
public/ext/locale/ext-lang-fi.js on lines 97..103
public/ext/locale/ext-lang-gr.js on lines 68..74
public/ext/locale/ext-lang-he.js on lines 95..101
public/ext/locale/ext-lang-hr.js on lines 99..105
public/ext/locale/ext-lang-hu.js on lines 99..105
public/ext/locale/ext-lang-id.js on lines 104..110
public/ext/locale/ext-lang-it.js on lines 97..103
public/ext/locale/ext-lang-ja.js on lines 95..101
public/ext/locale/ext-lang-ko.js on lines 69..75
public/ext/locale/ext-lang-lt.js on lines 110..116
public/ext/locale/ext-lang-lv.js on lines 68..74
public/ext/locale/ext-lang-mk.js on lines 69..75
public/ext/locale/ext-lang-nl.js on lines 100..106
public/ext/locale/ext-lang-no_NB.js on lines 97..103
public/ext/locale/ext-lang-no_NN.js on lines 97..103
public/ext/locale/ext-lang-pl.js on lines 106..112
public/ext/locale/ext-lang-pt.js on lines 72..78
public/ext/locale/ext-lang-pt_PT.js on lines 92..98
public/ext/locale/ext-lang-ro.js on lines 97..103
public/ext/locale/ext-lang-ru.js on lines 111..117
public/ext/locale/ext-lang-sk.js on lines 72..78
public/ext/locale/ext-lang-sl.js on lines 68..74
public/ext/locale/ext-lang-sr.js on lines 70..76
public/ext/locale/ext-lang-sr_RS.js on lines 70..76
public/ext/locale/ext-lang-sv_SE.js on lines 70..76
public/ext/locale/ext-lang-th.js on lines 97..103
public/ext/locale/ext-lang-tr.js on lines 111..117
public/ext/locale/ext-lang-ukr.js on lines 73..79
public/ext/locale/ext-lang-vn.js on lines 74..80
public/ext/locale/ext-lang-zh_CN.js on lines 75..81
public/ext/locale/ext-lang-zh_TW.js on lines 69..75

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

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

if(Ext.util.Format){
    Ext.util.Format.date = function(v, format){
       if(!v) return "";
       if(!(v instanceof Date)) v = new Date(Date.parse(v));
       return v.dateFormat(format || "Y/m/d");
Severity: Major
Found in public/ext/locale/ext-lang-zh_TW.js and 41 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-af.js on lines 75..81
public/ext/locale/ext-lang-bg.js on lines 89..95
public/ext/locale/ext-lang-ca.js on lines 92..98
public/ext/locale/ext-lang-cs.js on lines 96..102
public/ext/locale/ext-lang-da.js on lines 99..105
public/ext/locale/ext-lang-el_GR.js on lines 114..120
public/ext/locale/ext-lang-en.js on lines 96..102
public/ext/locale/ext-lang-en_GB.js on lines 92..98
public/ext/locale/ext-lang-es.js on lines 95..101
public/ext/locale/ext-lang-fa.js on lines 84..90
public/ext/locale/ext-lang-fi.js on lines 97..103
public/ext/locale/ext-lang-fr_CA.js on lines 111..117
public/ext/locale/ext-lang-gr.js on lines 68..74
public/ext/locale/ext-lang-he.js on lines 95..101
public/ext/locale/ext-lang-hr.js on lines 99..105
public/ext/locale/ext-lang-hu.js on lines 99..105
public/ext/locale/ext-lang-id.js on lines 104..110
public/ext/locale/ext-lang-it.js on lines 97..103
public/ext/locale/ext-lang-ja.js on lines 95..101
public/ext/locale/ext-lang-ko.js on lines 69..75
public/ext/locale/ext-lang-lt.js on lines 110..116
public/ext/locale/ext-lang-lv.js on lines 68..74
public/ext/locale/ext-lang-mk.js on lines 69..75
public/ext/locale/ext-lang-nl.js on lines 100..106
public/ext/locale/ext-lang-no_NB.js on lines 97..103
public/ext/locale/ext-lang-no_NN.js on lines 97..103
public/ext/locale/ext-lang-pl.js on lines 106..112
public/ext/locale/ext-lang-pt.js on lines 72..78
public/ext/locale/ext-lang-pt_PT.js on lines 92..98
public/ext/locale/ext-lang-ro.js on lines 97..103
public/ext/locale/ext-lang-ru.js on lines 111..117
public/ext/locale/ext-lang-sk.js on lines 72..78
public/ext/locale/ext-lang-sl.js on lines 68..74
public/ext/locale/ext-lang-sr.js on lines 70..76
public/ext/locale/ext-lang-sr_RS.js on lines 70..76
public/ext/locale/ext-lang-sv_SE.js on lines 70..76
public/ext/locale/ext-lang-th.js on lines 97..103
public/ext/locale/ext-lang-tr.js on lines 111..117
public/ext/locale/ext-lang-ukr.js on lines 73..79
public/ext/locale/ext-lang-vn.js on lines 74..80
public/ext/locale/ext-lang-zh_CN.js on lines 75..81

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

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

if(Ext.util.Format){
  Ext.util.Format.date = function(v, format){
    if(!v) return "";
    if(!(v instanceof Date)) v = new Date(Date.parse(v));
    return v.dateFormat(format || "d.m.Y");
Severity: Major
Found in public/ext/locale/ext-lang-ru.js and 41 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-af.js on lines 75..81
public/ext/locale/ext-lang-bg.js on lines 89..95
public/ext/locale/ext-lang-ca.js on lines 92..98
public/ext/locale/ext-lang-cs.js on lines 96..102
public/ext/locale/ext-lang-da.js on lines 99..105
public/ext/locale/ext-lang-el_GR.js on lines 114..120
public/ext/locale/ext-lang-en.js on lines 96..102
public/ext/locale/ext-lang-en_GB.js on lines 92..98
public/ext/locale/ext-lang-es.js on lines 95..101
public/ext/locale/ext-lang-fa.js on lines 84..90
public/ext/locale/ext-lang-fi.js on lines 97..103
public/ext/locale/ext-lang-fr_CA.js on lines 111..117
public/ext/locale/ext-lang-gr.js on lines 68..74
public/ext/locale/ext-lang-he.js on lines 95..101
public/ext/locale/ext-lang-hr.js on lines 99..105
public/ext/locale/ext-lang-hu.js on lines 99..105
public/ext/locale/ext-lang-id.js on lines 104..110
public/ext/locale/ext-lang-it.js on lines 97..103
public/ext/locale/ext-lang-ja.js on lines 95..101
public/ext/locale/ext-lang-ko.js on lines 69..75
public/ext/locale/ext-lang-lt.js on lines 110..116
public/ext/locale/ext-lang-lv.js on lines 68..74
public/ext/locale/ext-lang-mk.js on lines 69..75
public/ext/locale/ext-lang-nl.js on lines 100..106
public/ext/locale/ext-lang-no_NB.js on lines 97..103
public/ext/locale/ext-lang-no_NN.js on lines 97..103
public/ext/locale/ext-lang-pl.js on lines 106..112
public/ext/locale/ext-lang-pt.js on lines 72..78
public/ext/locale/ext-lang-pt_PT.js on lines 92..98
public/ext/locale/ext-lang-ro.js on lines 97..103
public/ext/locale/ext-lang-sk.js on lines 72..78
public/ext/locale/ext-lang-sl.js on lines 68..74
public/ext/locale/ext-lang-sr.js on lines 70..76
public/ext/locale/ext-lang-sr_RS.js on lines 70..76
public/ext/locale/ext-lang-sv_SE.js on lines 70..76
public/ext/locale/ext-lang-th.js on lines 97..103
public/ext/locale/ext-lang-tr.js on lines 111..117
public/ext/locale/ext-lang-ukr.js on lines 73..79
public/ext/locale/ext-lang-vn.js on lines 74..80
public/ext/locale/ext-lang-zh_CN.js on lines 75..81
public/ext/locale/ext-lang-zh_TW.js on lines 69..75

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

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