sibprogrammer/owp

View on GitHub

Showing 803 of 803 total issues

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

Date.monthNumbers = {
  Jan : 0,
  Feb : 1,
  Mar : 2,
  Apr : 3,
Severity: Major
Found in public/ext/locale/ext-lang-pt_PT.js and 22 other locations - About 1 hr to fix
public/ext/locale/ext-lang-bg.js on lines 55..68
public/ext/locale/ext-lang-ca.js on lines 48..61
public/ext/locale/ext-lang-cs.js on lines 54..67
public/ext/locale/ext-lang-da.js on lines 57..70
public/ext/locale/ext-lang-el_GR.js on lines 75..88
public/ext/locale/ext-lang-en.js on lines 52..65
public/ext/locale/ext-lang-en_GB.js on lines 48..61
public/ext/locale/ext-lang-es.js on lines 49..62
public/ext/locale/ext-lang-fa.js on lines 50..63
public/ext/locale/ext-lang-fi.js on lines 51..64
public/ext/locale/ext-lang-he.js on lines 53..66
public/ext/locale/ext-lang-hr.js on lines 57..70
public/ext/locale/ext-lang-id.js on lines 62..75
public/ext/locale/ext-lang-it.js on lines 55..68
public/ext/locale/ext-lang-lt.js on lines 61..74
public/ext/locale/ext-lang-nl.js on lines 52..65
public/ext/locale/ext-lang-no_NB.js on lines 55..68
public/ext/locale/ext-lang-no_NN.js on lines 55..68
public/ext/locale/ext-lang-pl.js on lines 55..68
public/ext/locale/ext-lang-pt_BR.js on lines 59..72
public/ext/locale/ext-lang-ro.js on lines 55..68
public/ext/locale/ext-lang-tr.js on lines 59..72

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

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

Date.monthNumbers = {
  Jan : 0,
  Fev : 1,
  Mar : 2,
  Abr : 3,
Severity: Major
Found in public/ext/locale/ext-lang-pt_BR.js and 22 other locations - About 1 hr to fix
public/ext/locale/ext-lang-bg.js on lines 55..68
public/ext/locale/ext-lang-ca.js on lines 48..61
public/ext/locale/ext-lang-cs.js on lines 54..67
public/ext/locale/ext-lang-da.js on lines 57..70
public/ext/locale/ext-lang-el_GR.js on lines 75..88
public/ext/locale/ext-lang-en.js on lines 52..65
public/ext/locale/ext-lang-en_GB.js on lines 48..61
public/ext/locale/ext-lang-es.js on lines 49..62
public/ext/locale/ext-lang-fa.js on lines 50..63
public/ext/locale/ext-lang-fi.js on lines 51..64
public/ext/locale/ext-lang-he.js on lines 53..66
public/ext/locale/ext-lang-hr.js on lines 57..70
public/ext/locale/ext-lang-id.js on lines 62..75
public/ext/locale/ext-lang-it.js on lines 55..68
public/ext/locale/ext-lang-lt.js on lines 61..74
public/ext/locale/ext-lang-nl.js on lines 52..65
public/ext/locale/ext-lang-no_NB.js on lines 55..68
public/ext/locale/ext-lang-no_NN.js on lines 55..68
public/ext/locale/ext-lang-pl.js on lines 55..68
public/ext/locale/ext-lang-pt_PT.js on lines 50..63
public/ext/locale/ext-lang-ro.js on lines 55..68
public/ext/locale/ext-lang-tr.js on lines 59..72

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

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

Date.monthNumbers = {
  Jan : 0,
  Feb : 1,
  Mar : 2,
  Apr : 3,
Severity: Major
Found in public/ext/locale/ext-lang-cs.js and 22 other locations - About 1 hr to fix
public/ext/locale/ext-lang-bg.js on lines 55..68
public/ext/locale/ext-lang-ca.js on lines 48..61
public/ext/locale/ext-lang-da.js on lines 57..70
public/ext/locale/ext-lang-el_GR.js on lines 75..88
public/ext/locale/ext-lang-en.js on lines 52..65
public/ext/locale/ext-lang-en_GB.js on lines 48..61
public/ext/locale/ext-lang-es.js on lines 49..62
public/ext/locale/ext-lang-fa.js on lines 50..63
public/ext/locale/ext-lang-fi.js on lines 51..64
public/ext/locale/ext-lang-he.js on lines 53..66
public/ext/locale/ext-lang-hr.js on lines 57..70
public/ext/locale/ext-lang-id.js on lines 62..75
public/ext/locale/ext-lang-it.js on lines 55..68
public/ext/locale/ext-lang-lt.js on lines 61..74
public/ext/locale/ext-lang-nl.js on lines 52..65
public/ext/locale/ext-lang-no_NB.js on lines 55..68
public/ext/locale/ext-lang-no_NN.js on lines 55..68
public/ext/locale/ext-lang-pl.js on lines 55..68
public/ext/locale/ext-lang-pt_BR.js on lines 59..72
public/ext/locale/ext-lang-pt_PT.js on lines 50..63
public/ext/locale/ext-lang-ro.js on lines 55..68
public/ext/locale/ext-lang-tr.js on lines 59..72

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

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

Date.monthNumbers = {
  Gen : 0,
  Feb : 1,
  Mar : 2,
  Abr : 3,
Severity: Major
Found in public/ext/locale/ext-lang-ca.js and 22 other locations - About 1 hr to fix
public/ext/locale/ext-lang-bg.js on lines 55..68
public/ext/locale/ext-lang-cs.js on lines 54..67
public/ext/locale/ext-lang-da.js on lines 57..70
public/ext/locale/ext-lang-el_GR.js on lines 75..88
public/ext/locale/ext-lang-en.js on lines 52..65
public/ext/locale/ext-lang-en_GB.js on lines 48..61
public/ext/locale/ext-lang-es.js on lines 49..62
public/ext/locale/ext-lang-fa.js on lines 50..63
public/ext/locale/ext-lang-fi.js on lines 51..64
public/ext/locale/ext-lang-he.js on lines 53..66
public/ext/locale/ext-lang-hr.js on lines 57..70
public/ext/locale/ext-lang-id.js on lines 62..75
public/ext/locale/ext-lang-it.js on lines 55..68
public/ext/locale/ext-lang-lt.js on lines 61..74
public/ext/locale/ext-lang-nl.js on lines 52..65
public/ext/locale/ext-lang-no_NB.js on lines 55..68
public/ext/locale/ext-lang-no_NN.js on lines 55..68
public/ext/locale/ext-lang-pl.js on lines 55..68
public/ext/locale/ext-lang-pt_BR.js on lines 59..72
public/ext/locale/ext-lang-pt_PT.js on lines 50..63
public/ext/locale/ext-lang-ro.js on lines 55..68
public/ext/locale/ext-lang-tr.js on lines 59..72

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

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

Date.monthNumbers = {
  Jan : 0,
  Feb : 1,
  Mar : 2,
  Apr : 3,
Severity: Major
Found in public/ext/locale/ext-lang-fa.js and 22 other locations - About 1 hr to fix
public/ext/locale/ext-lang-bg.js on lines 55..68
public/ext/locale/ext-lang-ca.js on lines 48..61
public/ext/locale/ext-lang-cs.js on lines 54..67
public/ext/locale/ext-lang-da.js on lines 57..70
public/ext/locale/ext-lang-el_GR.js on lines 75..88
public/ext/locale/ext-lang-en.js on lines 52..65
public/ext/locale/ext-lang-en_GB.js on lines 48..61
public/ext/locale/ext-lang-es.js on lines 49..62
public/ext/locale/ext-lang-fi.js on lines 51..64
public/ext/locale/ext-lang-he.js on lines 53..66
public/ext/locale/ext-lang-hr.js on lines 57..70
public/ext/locale/ext-lang-id.js on lines 62..75
public/ext/locale/ext-lang-it.js on lines 55..68
public/ext/locale/ext-lang-lt.js on lines 61..74
public/ext/locale/ext-lang-nl.js on lines 52..65
public/ext/locale/ext-lang-no_NB.js on lines 55..68
public/ext/locale/ext-lang-no_NN.js on lines 55..68
public/ext/locale/ext-lang-pl.js on lines 55..68
public/ext/locale/ext-lang-pt_BR.js on lines 59..72
public/ext/locale/ext-lang-pt_PT.js on lines 50..63
public/ext/locale/ext-lang-ro.js on lines 55..68
public/ext/locale/ext-lang-tr.js on lines 59..72

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

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

Date.monthNumbers = {
  Jan : 0,
  Feb : 1,
  Mar : 2,
  Apr : 3,
Severity: Major
Found in public/ext/locale/ext-lang-fi.js and 22 other locations - About 1 hr to fix
public/ext/locale/ext-lang-bg.js on lines 55..68
public/ext/locale/ext-lang-ca.js on lines 48..61
public/ext/locale/ext-lang-cs.js on lines 54..67
public/ext/locale/ext-lang-da.js on lines 57..70
public/ext/locale/ext-lang-el_GR.js on lines 75..88
public/ext/locale/ext-lang-en.js on lines 52..65
public/ext/locale/ext-lang-en_GB.js on lines 48..61
public/ext/locale/ext-lang-es.js on lines 49..62
public/ext/locale/ext-lang-fa.js on lines 50..63
public/ext/locale/ext-lang-he.js on lines 53..66
public/ext/locale/ext-lang-hr.js on lines 57..70
public/ext/locale/ext-lang-id.js on lines 62..75
public/ext/locale/ext-lang-it.js on lines 55..68
public/ext/locale/ext-lang-lt.js on lines 61..74
public/ext/locale/ext-lang-nl.js on lines 52..65
public/ext/locale/ext-lang-no_NB.js on lines 55..68
public/ext/locale/ext-lang-no_NN.js on lines 55..68
public/ext/locale/ext-lang-pl.js on lines 55..68
public/ext/locale/ext-lang-pt_BR.js on lines 59..72
public/ext/locale/ext-lang-pt_PT.js on lines 50..63
public/ext/locale/ext-lang-ro.js on lines 55..68
public/ext/locale/ext-lang-tr.js on lines 59..72

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

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

Date.monthNumbers = {
  Sty : 0,
  Lut : 1,
  Mar : 2,
  Kwi : 3,
Severity: Major
Found in public/ext/locale/ext-lang-pl.js and 22 other locations - About 1 hr to fix
public/ext/locale/ext-lang-bg.js on lines 55..68
public/ext/locale/ext-lang-ca.js on lines 48..61
public/ext/locale/ext-lang-cs.js on lines 54..67
public/ext/locale/ext-lang-da.js on lines 57..70
public/ext/locale/ext-lang-el_GR.js on lines 75..88
public/ext/locale/ext-lang-en.js on lines 52..65
public/ext/locale/ext-lang-en_GB.js on lines 48..61
public/ext/locale/ext-lang-es.js on lines 49..62
public/ext/locale/ext-lang-fa.js on lines 50..63
public/ext/locale/ext-lang-fi.js on lines 51..64
public/ext/locale/ext-lang-he.js on lines 53..66
public/ext/locale/ext-lang-hr.js on lines 57..70
public/ext/locale/ext-lang-id.js on lines 62..75
public/ext/locale/ext-lang-it.js on lines 55..68
public/ext/locale/ext-lang-lt.js on lines 61..74
public/ext/locale/ext-lang-nl.js on lines 52..65
public/ext/locale/ext-lang-no_NB.js on lines 55..68
public/ext/locale/ext-lang-no_NN.js on lines 55..68
public/ext/locale/ext-lang-pt_BR.js on lines 59..72
public/ext/locale/ext-lang-pt_PT.js on lines 50..63
public/ext/locale/ext-lang-ro.js on lines 55..68
public/ext/locale/ext-lang-tr.js on lines 59..72

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

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

Date.monthNumbers = {
  Jan : 0,
  Feb : 1,
  Mar : 2,
  Apr : 3,
Severity: Major
Found in public/ext/locale/ext-lang-en.js and 22 other locations - About 1 hr to fix
public/ext/locale/ext-lang-bg.js on lines 55..68
public/ext/locale/ext-lang-ca.js on lines 48..61
public/ext/locale/ext-lang-cs.js on lines 54..67
public/ext/locale/ext-lang-da.js on lines 57..70
public/ext/locale/ext-lang-el_GR.js on lines 75..88
public/ext/locale/ext-lang-en_GB.js on lines 48..61
public/ext/locale/ext-lang-es.js on lines 49..62
public/ext/locale/ext-lang-fa.js on lines 50..63
public/ext/locale/ext-lang-fi.js on lines 51..64
public/ext/locale/ext-lang-he.js on lines 53..66
public/ext/locale/ext-lang-hr.js on lines 57..70
public/ext/locale/ext-lang-id.js on lines 62..75
public/ext/locale/ext-lang-it.js on lines 55..68
public/ext/locale/ext-lang-lt.js on lines 61..74
public/ext/locale/ext-lang-nl.js on lines 52..65
public/ext/locale/ext-lang-no_NB.js on lines 55..68
public/ext/locale/ext-lang-no_NN.js on lines 55..68
public/ext/locale/ext-lang-pl.js on lines 55..68
public/ext/locale/ext-lang-pt_BR.js on lines 59..72
public/ext/locale/ext-lang-pt_PT.js on lines 50..63
public/ext/locale/ext-lang-ro.js on lines 55..68
public/ext/locale/ext-lang-tr.js on lines 59..72

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

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

Date.monthNumbers = {
  Jan : 0,
  Feb : 1,
  Mar : 2,
  Apr : 3,
Severity: Major
Found in public/ext/locale/ext-lang-en_GB.js and 22 other locations - About 1 hr to fix
public/ext/locale/ext-lang-bg.js on lines 55..68
public/ext/locale/ext-lang-ca.js on lines 48..61
public/ext/locale/ext-lang-cs.js on lines 54..67
public/ext/locale/ext-lang-da.js on lines 57..70
public/ext/locale/ext-lang-el_GR.js on lines 75..88
public/ext/locale/ext-lang-en.js on lines 52..65
public/ext/locale/ext-lang-es.js on lines 49..62
public/ext/locale/ext-lang-fa.js on lines 50..63
public/ext/locale/ext-lang-fi.js on lines 51..64
public/ext/locale/ext-lang-he.js on lines 53..66
public/ext/locale/ext-lang-hr.js on lines 57..70
public/ext/locale/ext-lang-id.js on lines 62..75
public/ext/locale/ext-lang-it.js on lines 55..68
public/ext/locale/ext-lang-lt.js on lines 61..74
public/ext/locale/ext-lang-nl.js on lines 52..65
public/ext/locale/ext-lang-no_NB.js on lines 55..68
public/ext/locale/ext-lang-no_NN.js on lines 55..68
public/ext/locale/ext-lang-pl.js on lines 55..68
public/ext/locale/ext-lang-pt_BR.js on lines 59..72
public/ext/locale/ext-lang-pt_PT.js on lines 50..63
public/ext/locale/ext-lang-ro.js on lines 55..68
public/ext/locale/ext-lang-tr.js on lines 59..72

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

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

Date.monthNumbers = {
  Jan : 0,
  Feb : 1,
  Mar : 2,
  Apr : 3,
Severity: Major
Found in public/ext/locale/ext-lang-tr.js and 22 other locations - About 1 hr to fix
public/ext/locale/ext-lang-bg.js on lines 55..68
public/ext/locale/ext-lang-ca.js on lines 48..61
public/ext/locale/ext-lang-cs.js on lines 54..67
public/ext/locale/ext-lang-da.js on lines 57..70
public/ext/locale/ext-lang-el_GR.js on lines 75..88
public/ext/locale/ext-lang-en.js on lines 52..65
public/ext/locale/ext-lang-en_GB.js on lines 48..61
public/ext/locale/ext-lang-es.js on lines 49..62
public/ext/locale/ext-lang-fa.js on lines 50..63
public/ext/locale/ext-lang-fi.js on lines 51..64
public/ext/locale/ext-lang-he.js on lines 53..66
public/ext/locale/ext-lang-hr.js on lines 57..70
public/ext/locale/ext-lang-id.js on lines 62..75
public/ext/locale/ext-lang-it.js on lines 55..68
public/ext/locale/ext-lang-lt.js on lines 61..74
public/ext/locale/ext-lang-nl.js on lines 52..65
public/ext/locale/ext-lang-no_NB.js on lines 55..68
public/ext/locale/ext-lang-no_NN.js on lines 55..68
public/ext/locale/ext-lang-pl.js on lines 55..68
public/ext/locale/ext-lang-pt_BR.js on lines 59..72
public/ext/locale/ext-lang-pt_PT.js on lines 50..63
public/ext/locale/ext-lang-ro.js on lines 55..68

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

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

Date.monthNumbers = {
  "Janvier" : 0,
  "Février" : 1,
  "Mars" : 2,
  "Avril" : 3,
Severity: Major
Found in public/ext/locale/ext-lang-fr.js and 5 other locations - About 1 hr to fix
public/ext/locale/ext-lang-fr_CA.js on lines 69..82
public/ext/locale/ext-lang-hu.js on lines 57..70
public/ext/locale/ext-lang-ja.js on lines 49..62
public/ext/locale/ext-lang-ru.js on lines 69..82
public/ext/locale/ext-lang-th.js on lines 55..68

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

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

Function action has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

Owp.button.action = function(config) {
  config = Ext.apply({
    gridName: '',
    url: '',
    command: '',
Severity: Minor
Found in public/javascripts/application.js - About 1 hr to fix

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

    if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
       Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
          splitTip            : "Σύρετε για αλλαγή μεγέθους.",
          collapsibleSplitTip : "Σύρετε για αλλαγή μεγέθους. Διπλό κλικ για απόκρυψη."
       });
    Severity: Major
    Found in public/ext/locale/ext-lang-el_GR.js and 42 other locations - About 1 hr to fix
    public/ext/locale/ext-lang-af.js on lines 179..184
    public/ext/locale/ext-lang-bg.js on lines 273..278
    public/ext/locale/ext-lang-ca.js on lines 288..293
    public/ext/locale/ext-lang-cs.js on lines 288..293
    public/ext/locale/ext-lang-da.js on lines 291..296
    public/ext/locale/ext-lang-de.js on lines 319..324
    public/ext/locale/ext-lang-en.js on lines 318..323
    public/ext/locale/ext-lang-en_GB.js on lines 294..299
    public/ext/locale/ext-lang-es.js on lines 291..296
    public/ext/locale/ext-lang-fa.js on lines 267..272
    public/ext/locale/ext-lang-fi.js on lines 297..302
    public/ext/locale/ext-lang-fr.js on lines 315..320
    public/ext/locale/ext-lang-fr_CA.js on lines 213..218
    public/ext/locale/ext-lang-gr.js on lines 170..175
    public/ext/locale/ext-lang-he.js on lines 287..292
    public/ext/locale/ext-lang-hu.js on lines 291..296
    public/ext/locale/ext-lang-id.js on lines 297..302
    public/ext/locale/ext-lang-it.js on lines 289..294
    public/ext/locale/ext-lang-ja.js on lines 291..296
    public/ext/locale/ext-lang-ko.js on lines 261..266
    public/ext/locale/ext-lang-lt.js on lines 306..311
    public/ext/locale/ext-lang-lv.js on lines 171..176
    public/ext/locale/ext-lang-mk.js on lines 171..176
    public/ext/locale/ext-lang-nl.js on lines 296..301
    public/ext/locale/ext-lang-no_NB.js on lines 289..294
    public/ext/locale/ext-lang-no_NN.js on lines 289..294
    public/ext/locale/ext-lang-pl.js on lines 299..304
    public/ext/locale/ext-lang-pt.js on lines 255..260
    public/ext/locale/ext-lang-pt_BR.js on lines 297..302
    public/ext/locale/ext-lang-pt_PT.js on lines 292..297
    public/ext/locale/ext-lang-ro.js on lines 290..295
    public/ext/locale/ext-lang-ru.js on lines 314..319
    public/ext/locale/ext-lang-sk.js on lines 177..182
    public/ext/locale/ext-lang-sl.js on lines 171..176
    public/ext/locale/ext-lang-sr.js on lines 174..179
    public/ext/locale/ext-lang-sr_RS.js on lines 173..178
    public/ext/locale/ext-lang-sv_SE.js on lines 173..178
    public/ext/locale/ext-lang-th.js on lines 289..294
    public/ext/locale/ext-lang-ukr.js on lines 256..261
    public/ext/locale/ext-lang-vn.js on lines 176..181
    public/ext/locale/ext-lang-zh_CN.js on lines 258..263
    public/ext/locale/ext-lang-zh_TW.js on lines 173..178

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

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

    if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
       Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
          splitTip            : "Velc, lai mainītu izmēru.",
          collapsibleSplitTip : "Velc, lai mainītu izmēru. Dubultklikšķis noslēpj apgabalu."
       });
    Severity: Major
    Found in public/ext/locale/ext-lang-lv.js and 42 other locations - About 1 hr to fix
    public/ext/locale/ext-lang-af.js on lines 179..184
    public/ext/locale/ext-lang-bg.js on lines 273..278
    public/ext/locale/ext-lang-ca.js on lines 288..293
    public/ext/locale/ext-lang-cs.js on lines 288..293
    public/ext/locale/ext-lang-da.js on lines 291..296
    public/ext/locale/ext-lang-de.js on lines 319..324
    public/ext/locale/ext-lang-el_GR.js on lines 303..308
    public/ext/locale/ext-lang-en.js on lines 318..323
    public/ext/locale/ext-lang-en_GB.js on lines 294..299
    public/ext/locale/ext-lang-es.js on lines 291..296
    public/ext/locale/ext-lang-fa.js on lines 267..272
    public/ext/locale/ext-lang-fi.js on lines 297..302
    public/ext/locale/ext-lang-fr.js on lines 315..320
    public/ext/locale/ext-lang-fr_CA.js on lines 213..218
    public/ext/locale/ext-lang-gr.js on lines 170..175
    public/ext/locale/ext-lang-he.js on lines 287..292
    public/ext/locale/ext-lang-hu.js on lines 291..296
    public/ext/locale/ext-lang-id.js on lines 297..302
    public/ext/locale/ext-lang-it.js on lines 289..294
    public/ext/locale/ext-lang-ja.js on lines 291..296
    public/ext/locale/ext-lang-ko.js on lines 261..266
    public/ext/locale/ext-lang-lt.js on lines 306..311
    public/ext/locale/ext-lang-mk.js on lines 171..176
    public/ext/locale/ext-lang-nl.js on lines 296..301
    public/ext/locale/ext-lang-no_NB.js on lines 289..294
    public/ext/locale/ext-lang-no_NN.js on lines 289..294
    public/ext/locale/ext-lang-pl.js on lines 299..304
    public/ext/locale/ext-lang-pt.js on lines 255..260
    public/ext/locale/ext-lang-pt_BR.js on lines 297..302
    public/ext/locale/ext-lang-pt_PT.js on lines 292..297
    public/ext/locale/ext-lang-ro.js on lines 290..295
    public/ext/locale/ext-lang-ru.js on lines 314..319
    public/ext/locale/ext-lang-sk.js on lines 177..182
    public/ext/locale/ext-lang-sl.js on lines 171..176
    public/ext/locale/ext-lang-sr.js on lines 174..179
    public/ext/locale/ext-lang-sr_RS.js on lines 173..178
    public/ext/locale/ext-lang-sv_SE.js on lines 173..178
    public/ext/locale/ext-lang-th.js on lines 289..294
    public/ext/locale/ext-lang-ukr.js on lines 256..261
    public/ext/locale/ext-lang-vn.js on lines 176..181
    public/ext/locale/ext-lang-zh_CN.js on lines 258..263
    public/ext/locale/ext-lang-zh_TW.js on lines 173..178

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

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

    if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
       Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
          splitTip            : "크기변경을 위해 드래그하세요.",
          collapsibleSplitTip : "크기변경을 위해 드래그, 숨기기 위해 더블클릭 하세요."
       });
    Severity: Major
    Found in public/ext/locale/ext-lang-ko.js and 42 other locations - About 1 hr to fix
    public/ext/locale/ext-lang-af.js on lines 179..184
    public/ext/locale/ext-lang-bg.js on lines 273..278
    public/ext/locale/ext-lang-ca.js on lines 288..293
    public/ext/locale/ext-lang-cs.js on lines 288..293
    public/ext/locale/ext-lang-da.js on lines 291..296
    public/ext/locale/ext-lang-de.js on lines 319..324
    public/ext/locale/ext-lang-el_GR.js on lines 303..308
    public/ext/locale/ext-lang-en.js on lines 318..323
    public/ext/locale/ext-lang-en_GB.js on lines 294..299
    public/ext/locale/ext-lang-es.js on lines 291..296
    public/ext/locale/ext-lang-fa.js on lines 267..272
    public/ext/locale/ext-lang-fi.js on lines 297..302
    public/ext/locale/ext-lang-fr.js on lines 315..320
    public/ext/locale/ext-lang-fr_CA.js on lines 213..218
    public/ext/locale/ext-lang-gr.js on lines 170..175
    public/ext/locale/ext-lang-he.js on lines 287..292
    public/ext/locale/ext-lang-hu.js on lines 291..296
    public/ext/locale/ext-lang-id.js on lines 297..302
    public/ext/locale/ext-lang-it.js on lines 289..294
    public/ext/locale/ext-lang-ja.js on lines 291..296
    public/ext/locale/ext-lang-lt.js on lines 306..311
    public/ext/locale/ext-lang-lv.js on lines 171..176
    public/ext/locale/ext-lang-mk.js on lines 171..176
    public/ext/locale/ext-lang-nl.js on lines 296..301
    public/ext/locale/ext-lang-no_NB.js on lines 289..294
    public/ext/locale/ext-lang-no_NN.js on lines 289..294
    public/ext/locale/ext-lang-pl.js on lines 299..304
    public/ext/locale/ext-lang-pt.js on lines 255..260
    public/ext/locale/ext-lang-pt_BR.js on lines 297..302
    public/ext/locale/ext-lang-pt_PT.js on lines 292..297
    public/ext/locale/ext-lang-ro.js on lines 290..295
    public/ext/locale/ext-lang-ru.js on lines 314..319
    public/ext/locale/ext-lang-sk.js on lines 177..182
    public/ext/locale/ext-lang-sl.js on lines 171..176
    public/ext/locale/ext-lang-sr.js on lines 174..179
    public/ext/locale/ext-lang-sr_RS.js on lines 173..178
    public/ext/locale/ext-lang-sv_SE.js on lines 173..178
    public/ext/locale/ext-lang-th.js on lines 289..294
    public/ext/locale/ext-lang-ukr.js on lines 256..261
    public/ext/locale/ext-lang-vn.js on lines 176..181
    public/ext/locale/ext-lang-zh_CN.js on lines 258..263
    public/ext/locale/ext-lang-zh_TW.js on lines 173..178

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

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

    if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
       Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
          splitTip            : "Óýñåôå ãéá áëëáãÞ ìåãÝèïõò.",
          collapsibleSplitTip : "Óýñåôå ãéá áëëáãÞ ìåãÝèïõò. Double click ãéá áðüêñõøç."
       });
    Severity: Major
    Found in public/ext/locale/ext-lang-gr.js and 42 other locations - About 1 hr to fix
    public/ext/locale/ext-lang-af.js on lines 179..184
    public/ext/locale/ext-lang-bg.js on lines 273..278
    public/ext/locale/ext-lang-ca.js on lines 288..293
    public/ext/locale/ext-lang-cs.js on lines 288..293
    public/ext/locale/ext-lang-da.js on lines 291..296
    public/ext/locale/ext-lang-de.js on lines 319..324
    public/ext/locale/ext-lang-el_GR.js on lines 303..308
    public/ext/locale/ext-lang-en.js on lines 318..323
    public/ext/locale/ext-lang-en_GB.js on lines 294..299
    public/ext/locale/ext-lang-es.js on lines 291..296
    public/ext/locale/ext-lang-fa.js on lines 267..272
    public/ext/locale/ext-lang-fi.js on lines 297..302
    public/ext/locale/ext-lang-fr.js on lines 315..320
    public/ext/locale/ext-lang-fr_CA.js on lines 213..218
    public/ext/locale/ext-lang-he.js on lines 287..292
    public/ext/locale/ext-lang-hu.js on lines 291..296
    public/ext/locale/ext-lang-id.js on lines 297..302
    public/ext/locale/ext-lang-it.js on lines 289..294
    public/ext/locale/ext-lang-ja.js on lines 291..296
    public/ext/locale/ext-lang-ko.js on lines 261..266
    public/ext/locale/ext-lang-lt.js on lines 306..311
    public/ext/locale/ext-lang-lv.js on lines 171..176
    public/ext/locale/ext-lang-mk.js on lines 171..176
    public/ext/locale/ext-lang-nl.js on lines 296..301
    public/ext/locale/ext-lang-no_NB.js on lines 289..294
    public/ext/locale/ext-lang-no_NN.js on lines 289..294
    public/ext/locale/ext-lang-pl.js on lines 299..304
    public/ext/locale/ext-lang-pt.js on lines 255..260
    public/ext/locale/ext-lang-pt_BR.js on lines 297..302
    public/ext/locale/ext-lang-pt_PT.js on lines 292..297
    public/ext/locale/ext-lang-ro.js on lines 290..295
    public/ext/locale/ext-lang-ru.js on lines 314..319
    public/ext/locale/ext-lang-sk.js on lines 177..182
    public/ext/locale/ext-lang-sl.js on lines 171..176
    public/ext/locale/ext-lang-sr.js on lines 174..179
    public/ext/locale/ext-lang-sr_RS.js on lines 173..178
    public/ext/locale/ext-lang-sv_SE.js on lines 173..178
    public/ext/locale/ext-lang-th.js on lines 289..294
    public/ext/locale/ext-lang-ukr.js on lines 256..261
    public/ext/locale/ext-lang-vn.js on lines 176..181
    public/ext/locale/ext-lang-zh_CN.js on lines 258..263
    public/ext/locale/ext-lang-zh_TW.js on lines 173..178

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

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

    if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
        Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
           splitTip            : "Trek om grootte aan te pas.",
           collapsibleSplitTip : "Trek om grootte aan te pas. Dubbel-klik om weg te steek."
        });
    Severity: Major
    Found in public/ext/locale/ext-lang-af.js and 42 other locations - About 1 hr to fix
    public/ext/locale/ext-lang-bg.js on lines 273..278
    public/ext/locale/ext-lang-ca.js on lines 288..293
    public/ext/locale/ext-lang-cs.js on lines 288..293
    public/ext/locale/ext-lang-da.js on lines 291..296
    public/ext/locale/ext-lang-de.js on lines 319..324
    public/ext/locale/ext-lang-el_GR.js on lines 303..308
    public/ext/locale/ext-lang-en.js on lines 318..323
    public/ext/locale/ext-lang-en_GB.js on lines 294..299
    public/ext/locale/ext-lang-es.js on lines 291..296
    public/ext/locale/ext-lang-fa.js on lines 267..272
    public/ext/locale/ext-lang-fi.js on lines 297..302
    public/ext/locale/ext-lang-fr.js on lines 315..320
    public/ext/locale/ext-lang-fr_CA.js on lines 213..218
    public/ext/locale/ext-lang-gr.js on lines 170..175
    public/ext/locale/ext-lang-he.js on lines 287..292
    public/ext/locale/ext-lang-hu.js on lines 291..296
    public/ext/locale/ext-lang-id.js on lines 297..302
    public/ext/locale/ext-lang-it.js on lines 289..294
    public/ext/locale/ext-lang-ja.js on lines 291..296
    public/ext/locale/ext-lang-ko.js on lines 261..266
    public/ext/locale/ext-lang-lt.js on lines 306..311
    public/ext/locale/ext-lang-lv.js on lines 171..176
    public/ext/locale/ext-lang-mk.js on lines 171..176
    public/ext/locale/ext-lang-nl.js on lines 296..301
    public/ext/locale/ext-lang-no_NB.js on lines 289..294
    public/ext/locale/ext-lang-no_NN.js on lines 289..294
    public/ext/locale/ext-lang-pl.js on lines 299..304
    public/ext/locale/ext-lang-pt.js on lines 255..260
    public/ext/locale/ext-lang-pt_BR.js on lines 297..302
    public/ext/locale/ext-lang-pt_PT.js on lines 292..297
    public/ext/locale/ext-lang-ro.js on lines 290..295
    public/ext/locale/ext-lang-ru.js on lines 314..319
    public/ext/locale/ext-lang-sk.js on lines 177..182
    public/ext/locale/ext-lang-sl.js on lines 171..176
    public/ext/locale/ext-lang-sr.js on lines 174..179
    public/ext/locale/ext-lang-sr_RS.js on lines 173..178
    public/ext/locale/ext-lang-sv_SE.js on lines 173..178
    public/ext/locale/ext-lang-th.js on lines 289..294
    public/ext/locale/ext-lang-ukr.js on lines 256..261
    public/ext/locale/ext-lang-vn.js on lines 176..181
    public/ext/locale/ext-lang-zh_CN.js on lines 258..263
    public/ext/locale/ext-lang-zh_TW.js on lines 173..178

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

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

    if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
      Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
        splitTip            : "Arrastre para redimensionar.",
        collapsibleSplitTip : "Arrastre para redimensionar. Doble clic para ocultar."
      });
    Severity: Major
    Found in public/ext/locale/ext-lang-es.js and 42 other locations - About 1 hr to fix
    public/ext/locale/ext-lang-af.js on lines 179..184
    public/ext/locale/ext-lang-bg.js on lines 273..278
    public/ext/locale/ext-lang-ca.js on lines 288..293
    public/ext/locale/ext-lang-cs.js on lines 288..293
    public/ext/locale/ext-lang-da.js on lines 291..296
    public/ext/locale/ext-lang-de.js on lines 319..324
    public/ext/locale/ext-lang-el_GR.js on lines 303..308
    public/ext/locale/ext-lang-en.js on lines 318..323
    public/ext/locale/ext-lang-en_GB.js on lines 294..299
    public/ext/locale/ext-lang-fa.js on lines 267..272
    public/ext/locale/ext-lang-fi.js on lines 297..302
    public/ext/locale/ext-lang-fr.js on lines 315..320
    public/ext/locale/ext-lang-fr_CA.js on lines 213..218
    public/ext/locale/ext-lang-gr.js on lines 170..175
    public/ext/locale/ext-lang-he.js on lines 287..292
    public/ext/locale/ext-lang-hu.js on lines 291..296
    public/ext/locale/ext-lang-id.js on lines 297..302
    public/ext/locale/ext-lang-it.js on lines 289..294
    public/ext/locale/ext-lang-ja.js on lines 291..296
    public/ext/locale/ext-lang-ko.js on lines 261..266
    public/ext/locale/ext-lang-lt.js on lines 306..311
    public/ext/locale/ext-lang-lv.js on lines 171..176
    public/ext/locale/ext-lang-mk.js on lines 171..176
    public/ext/locale/ext-lang-nl.js on lines 296..301
    public/ext/locale/ext-lang-no_NB.js on lines 289..294
    public/ext/locale/ext-lang-no_NN.js on lines 289..294
    public/ext/locale/ext-lang-pl.js on lines 299..304
    public/ext/locale/ext-lang-pt.js on lines 255..260
    public/ext/locale/ext-lang-pt_BR.js on lines 297..302
    public/ext/locale/ext-lang-pt_PT.js on lines 292..297
    public/ext/locale/ext-lang-ro.js on lines 290..295
    public/ext/locale/ext-lang-ru.js on lines 314..319
    public/ext/locale/ext-lang-sk.js on lines 177..182
    public/ext/locale/ext-lang-sl.js on lines 171..176
    public/ext/locale/ext-lang-sr.js on lines 174..179
    public/ext/locale/ext-lang-sr_RS.js on lines 173..178
    public/ext/locale/ext-lang-sv_SE.js on lines 173..178
    public/ext/locale/ext-lang-th.js on lines 289..294
    public/ext/locale/ext-lang-ukr.js on lines 256..261
    public/ext/locale/ext-lang-vn.js on lines 176..181
    public/ext/locale/ext-lang-zh_CN.js on lines 258..263
    public/ext/locale/ext-lang-zh_TW.js on lines 173..178

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

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

    if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
       Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
          splitTip            : "Træk for at ændre størrelsen.",
          collapsibleSplitTip : "Træk for at ændre størrelsen. Dobbelt-klik for at skjule."
       });
    Severity: Major
    Found in public/ext/locale/ext-lang-da.js and 42 other locations - About 1 hr to fix
    public/ext/locale/ext-lang-af.js on lines 179..184
    public/ext/locale/ext-lang-bg.js on lines 273..278
    public/ext/locale/ext-lang-ca.js on lines 288..293
    public/ext/locale/ext-lang-cs.js on lines 288..293
    public/ext/locale/ext-lang-de.js on lines 319..324
    public/ext/locale/ext-lang-el_GR.js on lines 303..308
    public/ext/locale/ext-lang-en.js on lines 318..323
    public/ext/locale/ext-lang-en_GB.js on lines 294..299
    public/ext/locale/ext-lang-es.js on lines 291..296
    public/ext/locale/ext-lang-fa.js on lines 267..272
    public/ext/locale/ext-lang-fi.js on lines 297..302
    public/ext/locale/ext-lang-fr.js on lines 315..320
    public/ext/locale/ext-lang-fr_CA.js on lines 213..218
    public/ext/locale/ext-lang-gr.js on lines 170..175
    public/ext/locale/ext-lang-he.js on lines 287..292
    public/ext/locale/ext-lang-hu.js on lines 291..296
    public/ext/locale/ext-lang-id.js on lines 297..302
    public/ext/locale/ext-lang-it.js on lines 289..294
    public/ext/locale/ext-lang-ja.js on lines 291..296
    public/ext/locale/ext-lang-ko.js on lines 261..266
    public/ext/locale/ext-lang-lt.js on lines 306..311
    public/ext/locale/ext-lang-lv.js on lines 171..176
    public/ext/locale/ext-lang-mk.js on lines 171..176
    public/ext/locale/ext-lang-nl.js on lines 296..301
    public/ext/locale/ext-lang-no_NB.js on lines 289..294
    public/ext/locale/ext-lang-no_NN.js on lines 289..294
    public/ext/locale/ext-lang-pl.js on lines 299..304
    public/ext/locale/ext-lang-pt.js on lines 255..260
    public/ext/locale/ext-lang-pt_BR.js on lines 297..302
    public/ext/locale/ext-lang-pt_PT.js on lines 292..297
    public/ext/locale/ext-lang-ro.js on lines 290..295
    public/ext/locale/ext-lang-ru.js on lines 314..319
    public/ext/locale/ext-lang-sk.js on lines 177..182
    public/ext/locale/ext-lang-sl.js on lines 171..176
    public/ext/locale/ext-lang-sr.js on lines 174..179
    public/ext/locale/ext-lang-sr_RS.js on lines 173..178
    public/ext/locale/ext-lang-sv_SE.js on lines 173..178
    public/ext/locale/ext-lang-th.js on lines 289..294
    public/ext/locale/ext-lang-ukr.js on lines 256..261
    public/ext/locale/ext-lang-vn.js on lines 176..181
    public/ext/locale/ext-lang-zh_CN.js on lines 258..263
    public/ext/locale/ext-lang-zh_TW.js on lines 173..178

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

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

    if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
       Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
          splitTip            : "拖动来改变尺寸.",
          collapsibleSplitTip : "拖动来改变尺寸. 双击隐藏."
       });
    Severity: Major
    Found in public/ext/locale/ext-lang-zh_CN.js and 42 other locations - About 1 hr to fix
    public/ext/locale/ext-lang-af.js on lines 179..184
    public/ext/locale/ext-lang-bg.js on lines 273..278
    public/ext/locale/ext-lang-ca.js on lines 288..293
    public/ext/locale/ext-lang-cs.js on lines 288..293
    public/ext/locale/ext-lang-da.js on lines 291..296
    public/ext/locale/ext-lang-de.js on lines 319..324
    public/ext/locale/ext-lang-el_GR.js on lines 303..308
    public/ext/locale/ext-lang-en.js on lines 318..323
    public/ext/locale/ext-lang-en_GB.js on lines 294..299
    public/ext/locale/ext-lang-es.js on lines 291..296
    public/ext/locale/ext-lang-fa.js on lines 267..272
    public/ext/locale/ext-lang-fi.js on lines 297..302
    public/ext/locale/ext-lang-fr.js on lines 315..320
    public/ext/locale/ext-lang-fr_CA.js on lines 213..218
    public/ext/locale/ext-lang-gr.js on lines 170..175
    public/ext/locale/ext-lang-he.js on lines 287..292
    public/ext/locale/ext-lang-hu.js on lines 291..296
    public/ext/locale/ext-lang-id.js on lines 297..302
    public/ext/locale/ext-lang-it.js on lines 289..294
    public/ext/locale/ext-lang-ja.js on lines 291..296
    public/ext/locale/ext-lang-ko.js on lines 261..266
    public/ext/locale/ext-lang-lt.js on lines 306..311
    public/ext/locale/ext-lang-lv.js on lines 171..176
    public/ext/locale/ext-lang-mk.js on lines 171..176
    public/ext/locale/ext-lang-nl.js on lines 296..301
    public/ext/locale/ext-lang-no_NB.js on lines 289..294
    public/ext/locale/ext-lang-no_NN.js on lines 289..294
    public/ext/locale/ext-lang-pl.js on lines 299..304
    public/ext/locale/ext-lang-pt.js on lines 255..260
    public/ext/locale/ext-lang-pt_BR.js on lines 297..302
    public/ext/locale/ext-lang-pt_PT.js on lines 292..297
    public/ext/locale/ext-lang-ro.js on lines 290..295
    public/ext/locale/ext-lang-ru.js on lines 314..319
    public/ext/locale/ext-lang-sk.js on lines 177..182
    public/ext/locale/ext-lang-sl.js on lines 171..176
    public/ext/locale/ext-lang-sr.js on lines 174..179
    public/ext/locale/ext-lang-sr_RS.js on lines 173..178
    public/ext/locale/ext-lang-sv_SE.js on lines 173..178
    public/ext/locale/ext-lang-th.js on lines 289..294
    public/ext/locale/ext-lang-ukr.js on lines 256..261
    public/ext/locale/ext-lang-vn.js on lines 176..181
    public/ext/locale/ext-lang-zh_TW.js on lines 173..178

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

    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