herereadthis/redwall

View on GitHub

Showing 63 of 63 total issues

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

    static lcd = {
        // top horizontal bar
        tb: {
            cMatch: [0, 2, 3, 5, 6, 7, 8, 9],
            poly: [18, 12, 30, 0, 90, 0, 102, 12, 90, 24, 30, 24]
Severity: Major
Found in app/views/Homepage/components/HitCounterDefaults.js and 1 other location - About 1 day to fix
archive/src/js/retromator/hit_counter.js on lines 22..58

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

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

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

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

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

Refactorings

Further Reading

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

        lcd = {
            // top horizontal bar
            tb: {
                cMatch: [0,2,3,5,6,7,8,9],
                poly: [18,12, 30,0, 90,0, 102,12, 90,24, 30,24]
Severity: Major
Found in archive/src/js/retromator/hit_counter.js and 1 other location - About 1 day to fix
app/views/Homepage/components/HitCounterDefaults.js on lines 11..47

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

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 exports has 162 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function(grunt) {
    'use strict';

    // Time how long tasks take. Can help when optimizing build times
    require('time-grunt')(grunt);
Severity: Major
Found in archive/Gruntfile.js - About 6 hrs to fix

    Function render has 108 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        render() {
            var style1, location;
    
            style1 = {
                color: '#FFF'
    Severity: Major
    Found in app/views/Homepage/components/RetroFooter.js - About 4 hrs to fix

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

      rileyColumns = [
          'b1', 'p1', 'b2', 'y1', 'b3', 'p2', 'b3', 'p2', 'k1', 'y1', 'b4', 'p2',
          'b2', 'p2', 'w1', 'b1', 'p2', 'b2', 'y1', 'b3', 'y1', 'b4', 'k2', 'y1',
          'b2', 'w1', 'p2', 'b5', 'p3', 'k2', 'b2', 'y1', 'b3', 'p2', 'b3', 'w1',
          'b2', 'b1', 'p2', 'b6', 'y1', 'b2', 'k2', 'b6', 'p2', 'b2', 'y1', 'b2',
      Severity: Major
      Found in app/components/RileyFuArt.js and 1 other location - About 4 hrs to fix
      archive/src/js/retromator/riley_fu.js on lines 24..35

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

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

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

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

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

      Refactorings

      Further Reading

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

              rileyColumns = [
                  'b1', 'p1', 'b2', 'y1', 'b3', 'p2', 'b3', 'p2', 'k1', 'y1', 'b4', 'p2',
                  'b2', 'p2', 'w1', 'b1', 'p2', 'b2', 'y1', 'b3', 'y1', 'b4', 'k2', 'y1',
                  'b2', 'w1', 'p2', 'b5', 'p3', 'k2', 'b2', 'y1', 'b3', 'p2', 'b3', 'w1',
                  'b2', 'b1', 'p2', 'b6', 'y1', 'b2', 'k2', 'b6', 'p2', 'b2', 'y1', 'b2',
      Severity: Major
      Found in archive/src/js/retromator/riley_fu.js and 1 other location - About 4 hrs to fix
      app/components/RileyFuArt.js on lines 12..23

      Duplicated Code

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

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

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

      Tuning

      This issue has a mass of 117.

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

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

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

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

      Refactorings

      Further Reading

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

                  <div className="mac_os8_scroll_bar">
                      <div onClick={this.tabScroll.bind(this, 'up')}
                           className="mac_os8_scroll_tab mac_os8_sprites up" />
                      <div onClick={this.tabScroll.bind(this, 'down')}
                           className="mac_os8_scroll_tab mac_os8_sprites down" />
      Severity: Major
      Found in app/views/Homepage/views/NinetiesImageScrollBar.js and 1 other location - About 3 hrs to fix
      app/views/Homepage/views/NinetiesImage.js on lines 259..267

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

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

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

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

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

      Refactorings

      Further Reading

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

                          <div className={classes}>
                              <div onClick={this.tabScroll.bind(this, 'up')}
                                   className="mac_os8_scroll_tab mac_os8_sprites up" />
                              <div onClick={this.tabScroll.bind(this, 'down')}
                                   className="mac_os8_scroll_tab mac_os8_sprites down" />
      Severity: Major
      Found in app/views/Homepage/views/NinetiesImage.js and 1 other location - About 3 hrs to fix
      app/views/Homepage/views/NinetiesImageScrollBar.js on lines 12..20

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

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

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

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

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

      Refactorings

      Further Reading

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

              rileyColors = {
                  b1: '#0090D9', b2: '#388AED', b3: '#008DDB', b4: '#068ECA', b5: '#0097DF',
                  b6: '#0093DE', b7: '#3694ED', b8: '#4192F0', b9: '#009AE5', b0: '#2799F3',
                  p1: '#D3707E', p2: '#CD6472', p3: '#D46773',
                  k1: '#202B3D', k2: '#182A46',
      Severity: Major
      Found in archive/src/js/retromator/riley_fu.js and 1 other location - About 3 hrs to fix
      app/components/RileyFuArt.js on lines 3..10

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

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

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

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

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

      Refactorings

      Further Reading

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

      rileyColors = {
          b1: '#0090D9', b2: '#388AED', b3: '#008DDB', b4: '#068ECA', b5: '#0097DF',
          b6: '#0093DE', b7: '#3694ED', b8: '#4192F0', b9: '#009AE5', b0: '#2799F3',
          p1: '#D3707E', p2: '#CD6472', p3: '#D46773',
          k1: '#202B3D', k2: '#182A46',
      Severity: Major
      Found in app/components/RileyFuArt.js and 1 other location - About 3 hrs to fix
      archive/src/js/retromator/riley_fu.js on lines 16..23

      Duplicated Code

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

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

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

      Tuning

      This issue has a mass of 108.

      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 componentWillReceiveProps has a Cognitive Complexity of 23 (exceeds 5 allowed). Consider refactoring.
      Open

          componentWillReceiveProps(nextProps) {
              var {router} = this.context, routeData;
              routeData = getRouteData(router);
      
      
      
      Severity: Minor
      Found in app/views/Homepage/components/Banner.js - About 3 hrs to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

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

              exports.init = function($this) {
                  var $element;
                  if ($this !== void 0) {
                      return makeItHappen($this);
                  }
      Severity: Major
      Found in archive/src/js/code_blog.js and 1 other location - About 3 hrs to fix
      archive/src/js/retromator.js on lines 19..36

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

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

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

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

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

      Refactorings

      Further Reading

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

              exports.init = function($this) {
                  var $element;
                  if ($this !== void 0) {
                      return makeItHappen($this);
                  }
      Severity: Major
      Found in archive/src/js/retromator.js and 1 other location - About 3 hrs to fix
      archive/src/js/code_blog.js on lines 17..34

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

      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

      File DateRender.js has 293 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      import React from 'react';
      
      export default class DateRender extends React.Component {
      
          static propTypes = {
      Severity: Minor
      Found in app/components/DateRender.js - About 3 hrs to fix

        Function render has 73 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            render() {
                var addPadding, tca;
        
                addPadding = (pad) => {
                    return {
        Severity: Major
        Found in app/views/Homepage/components/RetroArt.js - About 2 hrs to fix

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

                  exports.init = function($this) {
                      var element;
                      if ($this !== void 0) {
                          return makeItHappen($this);
                      }
          Severity: Major
          Found in archive/src/js/retromator/banner_image.js and 4 other locations - About 2 hrs to fix
          archive/src/js/code_footer.js on lines 117..128
          archive/src/js/image_expander.js on lines 22..33
          archive/src/js/retromator/hit_counter.js on lines 154..165
          archive/src/js/retromator/riley_fu.js on lines 105..116

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

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

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

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

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

          Refactorings

          Further Reading

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

                  exports.init = function($this) {
                      var element;
                      if ($this !== void 0) {
                          return makeItHappen($this);
                      }
          Severity: Major
          Found in archive/src/js/image_expander.js and 4 other locations - About 2 hrs to fix
          archive/src/js/code_footer.js on lines 117..128
          archive/src/js/retromator/banner_image.js on lines 36..47
          archive/src/js/retromator/hit_counter.js on lines 154..165
          archive/src/js/retromator/riley_fu.js on lines 105..116

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

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

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

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

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

          Refactorings

          Further Reading

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

                  exports.init = function($this) {
                      var element;
                      if ($this !== void 0) {
                          return makeItHappen($this);
                      }
          Severity: Major
          Found in archive/src/js/retromator/riley_fu.js and 4 other locations - About 2 hrs to fix
          archive/src/js/code_footer.js on lines 117..128
          archive/src/js/image_expander.js on lines 22..33
          archive/src/js/retromator/banner_image.js on lines 36..47
          archive/src/js/retromator/hit_counter.js on lines 154..165

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

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

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

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

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

          Refactorings

          Further Reading

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

                  exports.init = function($this) {
                      var element;
                      if ($this !== void 0) {
                          return makeItHappen($this);
                      }
          Severity: Major
          Found in archive/src/js/code_footer.js and 4 other locations - About 2 hrs to fix
          archive/src/js/image_expander.js on lines 22..33
          archive/src/js/retromator/banner_image.js on lines 36..47
          archive/src/js/retromator/hit_counter.js on lines 154..165
          archive/src/js/retromator/riley_fu.js on lines 105..116

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

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

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

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

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

          Refactorings

          Further Reading

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

                  exports.init = function($this) {
                      var element;
                      if ($this !== void 0) {
                          return makeItHappen($this);
                      }
          Severity: Major
          Found in archive/src/js/retromator/hit_counter.js and 4 other locations - About 2 hrs to fix
          archive/src/js/code_footer.js on lines 117..128
          archive/src/js/image_expander.js on lines 22..33
          archive/src/js/retromator/banner_image.js on lines 36..47
          archive/src/js/retromator/riley_fu.js on lines 105..116

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

          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