Vizzuality/gfw-climate

View on GitHub
app/assets/javascripts/map/views/LayersNavView.js

Summary

Maintainability
F
4 days
Test Coverage

File LayersNavView.js has 394 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/**
 * The layers filter module.
 *
 * @return singleton instance of layers fitler class (extends Backbone.View).
 */
Severity: Minor
Found in app/assets/javascripts/map/views/LayersNavView.js - About 5 hrs to fix

    Function toogleSelectedWrapper has 32 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

          toogleSelectedWrapper: function(layers) {
            // Toggle sublayers
            _.each(this.$el.find('.wrapped-layer'), function(li) {
              var $li = $(li);
              var $toggle = $li.find('.onoffradio, .onoffswitch');
    Severity: Minor
    Found in app/assets/javascripts/map/views/LayersNavView.js - About 1 hr to fix

      Function renderIsoLayers has 31 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

            renderIsoLayers: function(layers) {
              var country = _.find(
                amplify.store('countries'),
                _.bind(function(country) {
                  return country.iso === this.iso;
      Severity: Minor
      Found in app/assets/javascripts/map/views/LayersNavView.js - About 1 hr to fix

        Function toggleLayersGroup has 30 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

              toggleLayersGroup: function(e) {
                if (
                  !$(e.target).hasClass('source') &&
                  !$(e.target)
                    .parent()
        Severity: Minor
        Found in app/assets/javascripts/map/views/LayersNavView.js - About 1 hr to fix

          Function _toggleLayer has 28 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                _toggleLayer: function(event) {
                  event && event.preventDefault();
                  // this prevents layer change when you click in source link
                  if (
                    !$(event.target).hasClass('source') &&
          Severity: Minor
          Found in app/assets/javascripts/map/views/LayersNavView.js - About 1 hr to fix

            Function checkLayersGroup has 27 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                  checkLayersGroup: function() {
                    _.each(
                      this.$groupedLayers,
                      _.bind(function(group) {
                        var count = 0;
            Severity: Minor
            Found in app/assets/javascripts/map/views/LayersNavView.js - About 1 hr to fix

              Function _toggleSelected has 26 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                    _toggleSelected: function(layers) {
                      this.layers = layers;
              
                      // Toggle sublayers
                      _.each(this.$el.find('.layer'), function(li) {
              Severity: Minor
              Found in app/assets/javascripts/map/views/LayersNavView.js - About 1 hr to fix

                Avoid deeply nested control flow statements.
                Open

                                if ($($elem.siblings()[i]).hasClass('selected')) {
                                  this.presenter.toggleLayer(
                                    $($elem.siblings()[i]).data('layer')
                                  );
                                }
                Severity: Major
                Found in app/assets/javascripts/map/views/LayersNavView.js - About 45 mins to fix

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

                          enquire.register(
                            'screen and (min-width:' + window.gfw.config.GFW_MOBILE + 'px)',
                            {
                              match: _.bind(function() {
                                this.setElement('#layers-menu');
                  Severity: Major
                  Found in app/assets/javascripts/map/views/LayersNavView.js and 1 other location - About 1 hr to fix
                  app/assets/javascripts/map/views/LayersNavView.js on lines 63..71

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

                  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

                          enquire.register(
                            'screen and (max-width:' + window.gfw.config.GFW_MOBILE + 'px)',
                            {
                              match: _.bind(function() {
                                this.setElement('#layers-tab');
                  Severity: Major
                  Found in app/assets/javascripts/map/views/LayersNavView.js and 1 other location - About 1 hr to fix
                  app/assets/javascripts/map/views/LayersNavView.js on lines 54..62

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

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

                          if (
                            !$(e.target).hasClass('source') &&
                            !$(e.target)
                              .parent()
                              .hasClass('source') &&
                  Severity: Major
                  Found in app/assets/javascripts/map/views/LayersNavView.js and 2 other locations - About 1 hr to fix
                  app/assets/javascripts/map/views/LayersNavView.js on lines 272..301
                  app/assets/javascripts/map/views/tabs/CountriesView.js on lines 218..228

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

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

                          if (
                            !$(e.target).hasClass('source') &&
                            !$(e.target)
                              .parent()
                              .hasClass('source') &&
                  Severity: Major
                  Found in app/assets/javascripts/map/views/LayersNavView.js and 2 other locations - About 1 hr to fix
                  app/assets/javascripts/map/views/LayersNavView.js on lines 205..228
                  app/assets/javascripts/map/views/tabs/CountriesView.js on lines 218..228

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

                  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

                                _.bind(function(layer) {
                                  if ($(layer).hasClass('selected')) {
                                    var layerSlug = $(layer).data('layer');
                                    this.presenter.toggleLayer(layerSlug);
                                  }
                  Severity: Major
                  Found in app/assets/javascripts/map/views/LayersNavView.js and 1 other location - About 1 hr to fix
                  app/assets/javascripts/map/views/LayersNavView.js on lines 366..371

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

                  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

                            _.bind(function(li) {
                              if ($(li).hasClass('selected')) {
                                var layerSlug = $(li).data('layer');
                                this.presenter.toggleLayer(layerSlug);
                              }
                  Severity: Major
                  Found in app/assets/javascripts/map/views/LayersNavView.js and 1 other location - About 1 hr to fix
                  app/assets/javascripts/map/views/LayersNavView.js on lines 217..222

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

                  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

                            if (layer) {
                              // var isBaselayer = (layer.category_slug === 'forest_clearing');
                  
                              $li.addClass('selected');
                              $toggle.addClass('checked');
                  Severity: Major
                  Found in app/assets/javascripts/map/views/LayersNavView.js and 1 other location - About 1 hr to fix
                  app/assets/javascripts/map/views/LayersNavView.js on lines 251..265

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

                  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

                            if (selected > 0) {
                              var color = $li.data('color') || '#cf7fec';
                              $li.addClass('selected');
                              $toggle.addClass('checked');
                              $layerTitle.css('color', color);
                  Severity: Major
                  Found in app/assets/javascripts/map/views/LayersNavView.js and 1 other location - About 1 hr to fix
                  app/assets/javascripts/map/views/LayersNavView.js on lines 106..123

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

                  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

                          _.each(
                            this.layersIso,
                            _.bind(function(layer) {
                              if (layer.iso === this.iso) {
                                layersToRender.push(layer);
                  Severity: Major
                  Found in app/assets/javascripts/map/views/LayersNavView.js and 1 other location - About 1 hr to fix
                  app/assets/javascripts/map/views/tabs/CountriesView.js on lines 153..160

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

                  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

                          var country = _.find(
                            amplify.store('countries'),
                            _.bind(function(country) {
                              return country.iso === this.iso;
                            }, this)
                  Severity: Minor
                  Found in app/assets/javascripts/map/views/LayersNavView.js and 1 other location - About 55 mins to fix
                  app/assets/javascripts/map/views/tabs/CountriesView.js on lines 387..392

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

                  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

                            _.each(
                              $layers,
                              _.bind(function(layer) {
                                if ($(layer).hasClass('selected')) {
                                  selected++;
                  Severity: Minor
                  Found in app/assets/javascripts/map/views/LayersNavView.js and 1 other location - About 50 mins to fix
                  app/assets/javascripts/map/views/LayersNavView.js on lines 312..319

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

                  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

                              _.each(
                                layers,
                                _.bind(function(layer) {
                                  if ($(layer).hasClass('selected')) {
                                    count++;
                  Severity: Minor
                  Found in app/assets/javascripts/map/views/LayersNavView.js and 1 other location - About 50 mins to fix
                  app/assets/javascripts/map/views/LayersNavView.js on lines 242..249

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

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

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

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

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

                  Refactorings

                  Further Reading

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

                          if (
                            !$(event.target).hasClass('source') &&
                            !$(event.target)
                              .parent()
                              .hasClass('source')
                  Severity: Major
                  Found in app/assets/javascripts/map/views/LayersNavView.js and 2 other locations - About 40 mins to fix
                  app/assets/javascripts/map/views/tabs/BasemapsView.js on lines 66..78
                  app/assets/javascripts/map/views/tabs/CountriesView.js on lines 193..207

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

                  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

                          if (layersToRender.length > 0) {
                            this.$countryLayers.addClass('active').removeClass('disabled');
                            this.$countryLayersReset.addClass('active').removeClass('disabled');
                          } else {
                  Severity: Minor
                  Found in app/assets/javascripts/map/views/LayersNavView.js and 1 other location - About 40 mins to fix
                  app/assets/javascripts/map/views/LayersNavView.js on lines 395..398

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

                  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

                          } else {
                            this.$countryLayers.removeClass('active').addClass('disabled');
                            this.$countryLayersReset.removeClass('active').addClass('disabled');
                          }
                  Severity: Minor
                  Found in app/assets/javascripts/map/views/LayersNavView.js and 1 other location - About 40 mins to fix
                  app/assets/javascripts/map/views/LayersNavView.js on lines 392..395

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

                  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

                  There are no issues that match your filters.

                  Category
                  Status