plainblack/Lacuna-Web-Client

View on GitHub
app/js-yui/building.js

Summary

Maintainability
F
6 days
Test Coverage

File building.js has 417 lines of code (exceeds 250 allowed). Consider refactoring.
Open

YAHOO.namespace("lacuna.buildings");

var BodyRPCStore = require('js/stores/rpc/body');

if (typeof YAHOO.lacuna.buildings.Building == "undefined" || !YAHOO.lacuna.buildings.Building) {
Severity: Minor
Found in app/js-yui/building.js - About 6 hrs to fix

    Function _getProductionTab has 62 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            _getProductionTab : function() {
                var up = this.building.upgrade,
                    down = this.building.downgrade,
                    currentLevel = this.building.level*1,
                    planet = BodyRPCStore.getData();
    Severity: Major
    Found in app/js-yui/building.js - About 2 hrs to fix

      Function incomingSupplyChainList has 54 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              incomingSupplyChainList : function() {
                var supply_chains = this.incoming_supply_chains;
      
                if ( supply_chains.length == 0 ) {
                  Dom.setStyle("incomingSupplyChainList", "display", "none");
      Severity: Major
      Found in app/js-yui/building.js - About 2 hrs to fix

        Consider simplifying this complex logical expression.
        Open

                    if(o.result.building && this.building) {
                        //if we suddenly have work update the tile to add the tile.  if we don't have work update the tile to remove the timer
                        var workChanged = (
                            (this.building.work && !o.result.building.work) ||
                            (!this.building.work && o.result.building.work) ||
        Severity: Critical
        Found in app/js-yui/building.js - About 1 hr to fix

          Function Repair has 29 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                  Repair : function(e) {
                      var btn = Event.getTarget(e);
                      btn.disabled = true;
                      require('js/actions/menu/loader').show();
                      Game.Services.Buildings.Generic.repair({session_id:Game.GetSession(),building_id:this.building.id}, {
          Severity: Minor
          Found in app/js-yui/building.js - About 1 hr to fix

            Consider simplifying this complex logical expression.
            Open

            if (typeof YAHOO.lacuna.buildings.Building == "undefined" || !YAHOO.lacuna.buildings.Building) {
            
            (function(){
                var Lang = YAHOO.lang,
                    Util = YAHOO.util,
            Severity: Major
            Found in app/js-yui/building.js - About 1 hr to fix

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

                              }, {
                                  success : function(o){
                                      YAHOO.log(o, "info", "Building.Downgrade.success");
                                      require('js/actions/menu/loader').hide();
                                      this.fireEvent("onMapRpc", o.result);
              Severity: Major
              Found in app/js-yui/building.js and 1 other location - About 7 hrs to fix
              app/js-yui/building.js on lines 312..328

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

              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

                          BuildingServ.upgrade(data,{
                              success : function(o){
                                  YAHOO.log(o, "info", "Building.Upgrade.success");
                                  require('js/actions/menu/loader').hide();
                                  this.fireEvent("onMapRpc", o.result);
              Severity: Major
              Found in app/js-yui/building.js and 1 other location - About 7 hrs to fix
              app/js-yui/building.js on lines 281..299

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

              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

                      _getIncomingSupplyChainsTab : function() {
                          this.incomingSupplyChainTab = new YAHOO.widget.Tab({ label: "Supply Chains", content: [
                              '<div id="incomingSupplyChainInfo" style="margin-bottom: 2px">',
                              '   <div id="incomingSupplyChainList">',
                              '      <b>Incoming Supply Chains</b><hr/>',
              Severity: Major
              Found in app/js-yui/building.js and 1 other location - About 3 hrs to fix
              app/js-yui/building/theDillonForge.js on lines 24..44

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

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

                        setTimeout(function() {
                          var Ht = Game.GetSize().h - 250;
                          if(Ht > 250) { Ht = 250; }
                          Dom.setStyle(detailsParent,"height",Ht + "px");
                          Dom.setStyle(detailsParent,"overflow-y","auto");
              Severity: Major
              Found in app/js-yui/building.js and 3 other locations - About 2 hrs to fix
              app/js-yui/building/blackHoleGenerator.js on lines 338..343
              app/js-yui/building/planetaryCommand.js on lines 382..387
              app/js-yui/building/tradeMinistry.js on lines 2064..2069

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

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

                  var Lang = YAHOO.lang,
                      Util = YAHOO.util,
                      Dom = Util.Dom,
                      Event = Util.Event,
                      Sel = Util.Selector,
              Severity: Major
              Found in app/js-yui/building.js and 16 other locations - About 1 hr to fix
              app/js-yui/building/development.js on lines 6..13
              app/js-yui/building/distributionCenter.js on lines 6..13
              app/js-yui/building/geneticsLab.js on lines 6..13
              app/js-yui/building/missionCommand.js on lines 6..13
              app/js-yui/building/network19.js on lines 6..13
              app/js-yui/building/park.js on lines 6..13
              app/js-yui/building/planetaryCommand.js on lines 13..20
              app/js-yui/building/shipyard.js on lines 6..13
              app/js-yui/building/spaceStationLab.js on lines 6..13
              app/js-yui/login.js on lines 13..20
              app/js-yui/mapPlanet.js on lines 12..19
              app/js-yui/mapStar.js on lines 8..15
              app/js-yui/module/parliament.js on lines 6..13
              app/js-yui/module/stationCommand.js on lines 6..13
              app/js-yui/profile.js on lines 13..20
              app/js-yui/stats.js on lines 12..19

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

              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 (chain.stalled == 1) {
                              Dom.addClass( nUl, "incomingSupplyChainStalled")
                              nLi.innerHTML = chain.from_body.name + " (Stalled)";
                          }
                          else {
              Severity: Major
              Found in app/js-yui/building.js and 1 other location - About 1 hr to fix
              app/js-yui/building/tradeMinistry.js on lines 2020..2026

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

                                  this._details({type:'ore',amount:up.production.ore_hour,suffix:'/hr',numclass:this.building.ore_hour - up.production.ore_hour > planet.ore_hour ? 'low-resource' : null}),
              Severity: Major
              Found in app/js-yui/building.js and 3 other locations - About 1 hr to fix
              app/js-yui/building.js on lines 209..209
              app/js-yui/building.js on lines 211..211
              app/js-yui/building.js on lines 212..212

              Duplicated Code

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

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

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

              Tuning

              This issue has a mass of 72.

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

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

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

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

              Refactorings

              Further Reading

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

                        if ( supply_chains.length == 0 ) {
                          Dom.setStyle("incomingSupplyChainList", "display", "none");
                          Dom.setStyle("incomingSupplyChainListNone", "display", "");
                          return;
                        }
              Severity: Major
              Found in app/js-yui/building.js and 1 other location - About 1 hr to fix
              app/js-yui/building/tradeMinistry.js on lines 1982..1990

              Duplicated Code

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

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

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

              Tuning

              This issue has a mass of 72.

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

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

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

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

              Refactorings

              Further Reading

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

                                  this._details({type:'food',amount:up.production.food_hour,suffix:'/hr',numclass:this.building.food_hour - up.production.food_hour > planet.food_hour ? 'low-resource' : null}),
              Severity: Major
              Found in app/js-yui/building.js and 3 other locations - About 1 hr to fix
              app/js-yui/building.js on lines 210..210
              app/js-yui/building.js on lines 211..211
              app/js-yui/building.js on lines 212..212

              Duplicated Code

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

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

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

              Tuning

              This issue has a mass of 72.

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

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

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

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

              Refactorings

              Further Reading

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

                                  this._details({type:'water',amount:up.production.water_hour,suffix:'/hr',numclass:this.building.water_hour - up.production.water_hour > planet.water_hour ? 'low-resource' : null}),
              Severity: Major
              Found in app/js-yui/building.js and 3 other locations - About 1 hr to fix
              app/js-yui/building.js on lines 209..209
              app/js-yui/building.js on lines 210..210
              app/js-yui/building.js on lines 212..212

              Duplicated Code

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

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

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

              Tuning

              This issue has a mass of 72.

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

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

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

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

              Refactorings

              Further Reading

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

                                  this._details({type:'energy',amount:up.production.energy_hour,suffix:'/hr',numclass:this.building.energy_hour - up.production.energy_hour > planet.energy_hour ? 'low-resource' : null}),
              Severity: Major
              Found in app/js-yui/building.js and 3 other locations - About 1 hr to fix
              app/js-yui/building.js on lines 209..209
              app/js-yui/building.js on lines 210..210
              app/js-yui/building.js on lines 211..211

              Duplicated Code

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

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

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

              Tuning

              This issue has a mass of 72.

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

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

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

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

              Refactorings

              Further Reading

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

                                  this._details({type:'food',amount:up.cost.food||0,numclass:up.cost.food > planet.food_stored ? 'low-resource' : null}),
              Severity: Major
              Found in app/js-yui/building.js and 3 other locations - About 1 hr to fix
              app/js-yui/building.js on lines 224..224
              app/js-yui/building.js on lines 225..225
              app/js-yui/building.js on lines 226..226

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

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

                                  this._details({type:'water',amount:up.cost.water||0,numclass:up.cost.water > planet.water_stored ? 'low-resource' : null}),
              Severity: Major
              Found in app/js-yui/building.js and 3 other locations - About 1 hr to fix
              app/js-yui/building.js on lines 223..223
              app/js-yui/building.js on lines 224..224
              app/js-yui/building.js on lines 226..226

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

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

                                  this._details({type:'ore',amount:up.cost.ore||0,numclass:up.cost.ore > planet.ore_stored ? 'low-resource' : null}),
              Severity: Major
              Found in app/js-yui/building.js and 3 other locations - About 1 hr to fix
              app/js-yui/building.js on lines 223..223
              app/js-yui/building.js on lines 225..225
              app/js-yui/building.js on lines 226..226

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

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

                                  this._details({type:'energy',amount:up.cost.energy||0,numclass:up.cost.energy > planet.energy_stored ? 'low-resource' : null}),
              Severity: Major
              Found in app/js-yui/building.js and 3 other locations - About 1 hr to fix
              app/js-yui/building.js on lines 223..223
              app/js-yui/building.js on lines 224..224
              app/js-yui/building.js on lines 225..225

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

              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