rubinius/rubinius

View on GitHub

Showing 187 of 1,416 total issues

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

  ["FF",0xA0],
  ["AD",0xA1],
  ["9B",0xA2],
  ["9C",0xA3],
  ["9D",0xA5],
Severity: Major
Found in build/libraries/oniguruma/enc/trans/ibm862-tbl.rb and 18 other locations - About 1 day to fix
build/libraries/oniguruma/enc/trans/cp850-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm437-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm737-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm775-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm860-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm861-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm863-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm865-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm866-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-r-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-u-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/maccyrillic-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/macukraine-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/windows-1256-tbl.rb on lines 2..129

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

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

  ["FF",0xA0],
  ["AD",0xA1],
  ["9B",0xA2],
  ["9C",0xA3],
  ["A6",0xAA],
Severity: Major
Found in build/libraries/oniguruma/enc/trans/ibm860-tbl.rb and 18 other locations - About 1 day to fix
build/libraries/oniguruma/enc/trans/cp850-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm437-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm737-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm775-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm861-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm862-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm863-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm865-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm866-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-r-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-u-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/maccyrillic-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/macukraine-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/windows-1256-tbl.rb on lines 2..129

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

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

  ["80",0x391],
  ["81",0x392],
  ["82",0x393],
  ["83",0x394],
  ["84",0x395],
Severity: Major
Found in build/libraries/oniguruma/enc/trans/ibm737-tbl.rb and 18 other locations - About 1 day to fix
build/libraries/oniguruma/enc/trans/cp850-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm437-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm775-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm860-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm861-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm862-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm863-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm865-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm866-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-r-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-u-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/maccyrillic-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/macukraine-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/windows-1256-tbl.rb on lines 2..129

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

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

  ["A0",0xA0],
  ["A2",0xA2],
  ["A3",0xA3],
  ["A4",0xA4],
  ["A5",0xA5],
Severity: Major
Found in build/libraries/oniguruma/enc/trans/windows-1256-tbl.rb and 18 other locations - About 1 day to fix
build/libraries/oniguruma/enc/trans/cp850-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm437-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm737-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm775-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm860-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm861-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm862-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm863-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm865-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm866-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-r-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-u-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/maccyrillic-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/macukraine-tbl.rb on lines 2..129

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

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

  ["FF",0xA0],
  ["AD",0xA1],
  ["BD",0xA2],
  ["9C",0xA3],
  ["CF",0xA4],
Severity: Major
Found in build/libraries/oniguruma/enc/trans/cp850-tbl.rb and 18 other locations - About 1 day to fix
build/libraries/oniguruma/enc/trans/cp852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm437-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm737-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm775-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm860-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm861-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm862-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm863-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm865-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm866-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-r-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-u-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/maccyrillic-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/macukraine-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/windows-1256-tbl.rb on lines 2..129

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

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

  ["CA",0xA0],
  ["A2",0xA2],
  ["A3",0xA3],
  ["FF",0xA4],
  ["A4",0xA7],
Severity: Major
Found in build/libraries/oniguruma/enc/trans/maccyrillic-tbl.rb and 18 other locations - About 1 day to fix
build/libraries/oniguruma/enc/trans/cp850-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm437-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm737-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm775-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm860-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm861-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm862-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm863-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm865-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm866-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-r-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-u-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/macukraine-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/windows-1256-tbl.rb on lines 2..129

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

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

  ["FF",0xA0],
  ["CF",0xA4],
  ["F5",0xA7],
  ["F9",0xA8],
  ["AE",0xAB],
Severity: Major
Found in build/libraries/oniguruma/enc/trans/ibm852-tbl.rb and 18 other locations - About 1 day to fix
build/libraries/oniguruma/enc/trans/cp850-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm437-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm737-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm775-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm860-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm861-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm862-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm863-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm865-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm866-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-r-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-u-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/maccyrillic-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/macukraine-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/windows-1256-tbl.rb on lines 2..129

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

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

  ["FF",0xA0],
  ["FD",0xA4],
  ["F8",0xB0],
  ["FA",0xB7],
  ["F0",0x401],
Severity: Major
Found in build/libraries/oniguruma/enc/trans/ibm866-tbl.rb and 18 other locations - About 1 day to fix
build/libraries/oniguruma/enc/trans/cp850-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm437-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm737-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm775-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm860-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm861-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm862-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm863-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm865-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-r-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-u-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/maccyrillic-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/macukraine-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/windows-1256-tbl.rb on lines 2..129

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

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

  ["FF",0xA0],
  ["CF",0xA4],
  ["FD",0xA7],
  ["AE",0xAB],
  ["F0",0xAD],
Severity: Major
Found in build/libraries/oniguruma/enc/trans/cp855-tbl.rb and 18 other locations - About 1 day to fix
build/libraries/oniguruma/enc/trans/cp850-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm437-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm737-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm775-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm860-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm861-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm862-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm863-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm865-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm866-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-r-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-u-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/maccyrillic-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/macukraine-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/windows-1256-tbl.rb on lines 2..129

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

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

  ["FF",0xA0],
  ["AD",0xA1],
  ["9B",0xA2],
  ["9C",0xA3],
  ["9D",0xA5],
Severity: Major
Found in build/libraries/oniguruma/enc/trans/ibm437-tbl.rb and 18 other locations - About 1 day to fix
build/libraries/oniguruma/enc/trans/cp850-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm737-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm775-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm860-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm861-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm862-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm863-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm865-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm866-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-r-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-u-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/maccyrillic-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/macukraine-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/windows-1256-tbl.rb on lines 2..129

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

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

  ["9A",0xA0],
  ["BF",0xA9],
  ["9C",0xB0],
  ["9D",0xB2],
  ["9E",0xB7],
Severity: Major
Found in build/libraries/oniguruma/enc/trans/koi8-u-tbl.rb and 18 other locations - About 1 day to fix
build/libraries/oniguruma/enc/trans/cp850-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm437-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm737-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm775-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm860-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm861-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm862-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm863-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm865-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm866-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-r-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/maccyrillic-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/macukraine-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/windows-1256-tbl.rb on lines 2..129

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

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

  ["FF",0xA0],
  ["AD",0xA1],
  ["9C",0xA3],
  ["AE",0xAB],
  ["AA",0xAC],
Severity: Major
Found in build/libraries/oniguruma/enc/trans/ibm861-tbl.rb and 18 other locations - About 1 day to fix
build/libraries/oniguruma/enc/trans/cp850-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm437-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm737-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm775-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm860-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm862-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm863-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm865-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm866-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-r-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-u-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/maccyrillic-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/macukraine-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/windows-1256-tbl.rb on lines 2..129

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

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

  ["FF",0xA0],
  ["AD",0xA1],
  ["9C",0xA3],
  ["AF",0xA4],
  ["A6",0xAA],
Severity: Major
Found in build/libraries/oniguruma/enc/trans/ibm865-tbl.rb and 18 other locations - About 1 day to fix
build/libraries/oniguruma/enc/trans/cp850-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm437-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm737-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm775-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm860-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm861-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm862-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm863-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm866-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-r-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-u-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/maccyrillic-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/macukraine-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/windows-1256-tbl.rb on lines 2..129

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

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

  ["FF",0xA0],
  ["CF",0xA4],
  ["F5",0xA7],
  ["F9",0xA8],
  ["AE",0xAB],
Severity: Major
Found in build/libraries/oniguruma/enc/trans/cp852-tbl.rb and 18 other locations - About 1 day to fix
build/libraries/oniguruma/enc/trans/cp850-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm437-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm737-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm775-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm860-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm861-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm862-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm863-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm865-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm866-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-r-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-u-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/maccyrillic-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/macukraine-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/windows-1256-tbl.rb on lines 2..129

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

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

  ["FF",0xA0],
  ["CF",0xA4],
  ["FD",0xA7],
  ["AE",0xAB],
  ["F0",0xAD],
Severity: Major
Found in build/libraries/oniguruma/enc/trans/ibm855-tbl.rb and 18 other locations - About 1 day to fix
build/libraries/oniguruma/enc/trans/cp850-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm437-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm737-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm775-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm860-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm861-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm862-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm863-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm865-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm866-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-r-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-u-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/maccyrillic-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/macukraine-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/windows-1256-tbl.rb on lines 2..129

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

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

  ["FF",0xA0],
  ["96",0xA2],
  ["9C",0xA3],
  ["9F",0xA4],
  ["A7",0xA6],
Severity: Major
Found in build/libraries/oniguruma/enc/trans/ibm775-tbl.rb and 18 other locations - About 1 day to fix
build/libraries/oniguruma/enc/trans/cp850-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm437-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm737-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm860-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm861-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm862-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm863-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm865-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm866-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-r-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-u-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/maccyrillic-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/macukraine-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/windows-1256-tbl.rb on lines 2..129

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

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

  ["9A",0xA0],
  ["BF",0xA9],
  ["9C",0xB0],
  ["9D",0xB2],
  ["9E",0xB7],
Severity: Major
Found in build/libraries/oniguruma/enc/trans/koi8-r-tbl.rb and 18 other locations - About 1 day to fix
build/libraries/oniguruma/enc/trans/cp850-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm437-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm737-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm775-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm860-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm861-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm862-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm863-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm865-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm866-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-u-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/maccyrillic-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/macukraine-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/windows-1256-tbl.rb on lines 2..129

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

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

  ["FF",0xA0],
  ["9B",0xA2],
  ["9C",0xA3],
  ["98",0xA4],
  ["A0",0xA6],
Severity: Major
Found in build/libraries/oniguruma/enc/trans/ibm863-tbl.rb and 18 other locations - About 1 day to fix
build/libraries/oniguruma/enc/trans/cp850-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm437-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm737-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm775-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm860-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm861-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm862-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm865-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm866-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-r-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-u-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/maccyrillic-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/macukraine-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/windows-1256-tbl.rb on lines 2..129

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

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

  ["CA",0xA0],
  ["A3",0xA3],
  ["FF",0xA4],
  ["A4",0xA7],
  ["A9",0xA9],
Severity: Major
Found in build/libraries/oniguruma/enc/trans/macukraine-tbl.rb and 18 other locations - About 1 day to fix
build/libraries/oniguruma/enc/trans/cp850-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/cp855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm437-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm737-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm775-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm852-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm855-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm860-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm861-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm862-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm863-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm865-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/ibm866-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-r-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/koi8-u-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/maccyrillic-tbl.rb on lines 2..129
build/libraries/oniguruma/enc/trans/windows-1256-tbl.rb on lines 2..129

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

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

  ["CA",0xA0],
  ["92",0xA3],
  ["B4",0xA5],
  ["9B",0xA6],
  ["AC",0xA7],
Severity: Major
Found in build/libraries/oniguruma/enc/trans/macgreek-tbl.rb and 5 other locations - About 1 day to fix
build/libraries/oniguruma/enc/trans/maccroatian-tbl.rb on lines 2..128
build/libraries/oniguruma/enc/trans/maciceland-tbl.rb on lines 2..128
build/libraries/oniguruma/enc/trans/macroman-tbl.rb on lines 2..128
build/libraries/oniguruma/enc/trans/macromania-tbl.rb on lines 2..128
build/libraries/oniguruma/enc/trans/windows-1251-tbl.rb on lines 2..128

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

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