modxcms/revolution

View on GitHub
manager/assets/modext/widgets/fc/modx.panel.fcset.js

Summary

Maintainability
F
5 days
Test Coverage

File modx.panel.fcset.js has 466 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/**
 * @class MODx.panel.FCSet
 * @extends MODx.FormPanel
 * @param {Object} config An object of configuration properties
 * @xtype modx-panel-fc-set
Severity: Minor
Found in manager/assets/modext/widgets/fc/modx.panel.fcset.js - About 7 hrs to fix

    Function FCSet has 156 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    MODx.panel.FCSet = function(config) {
        config = config || {};
        Ext.applyIf(config,{
            url: MODx.config.connector_url
            ,baseParams: {
    Severity: Major
    Found in manager/assets/modext/widgets/fc/modx.panel.fcset.js - About 6 hrs to fix

      Function FCSetTVs has 63 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      MODx.grid.FCSetTVs = function(config) {
          config = config || {};
          this.vcb = new Ext.ux.grid.CheckColumn({
              header: _('visible')
              ,dataIndex: 'visible'
      Severity: Major
      Found in manager/assets/modext/widgets/fc/modx.panel.fcset.js - About 2 hrs to fix

        Function FCSetFields has 56 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        MODx.grid.FCSetFields = function(config) {
            config = config || {};
            this.vcb = new Ext.ux.grid.CheckColumn({
                header: _('visible')
                ,dataIndex: 'visible'
        Severity: Major
        Found in manager/assets/modext/widgets/fc/modx.panel.fcset.js - About 2 hrs to fix

          Function FCSetTabs has 41 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          MODx.grid.FCSetTabs = function(config) {
              config = config || {};
              this.vcb = new Ext.ux.grid.CheckColumn({
                  header: _('visible')
                  ,dataIndex: 'visible'
          Severity: Minor
          Found in manager/assets/modext/widgets/fc/modx.panel.fcset.js - About 1 hr to fix

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

            MODx.window.AddTabToSet = function(config) {
                config = config || {};
                Ext.applyIf(config,{
                    title: _('tab_create')
                    // ,height: 150
            Severity: Minor
            Found in manager/assets/modext/widgets/fc/modx.panel.fcset.js - About 1 hr to fix

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

                  ,removeTab: function(btn,e) {
                      var rec = this.getSelectionModel().getSelected();
                      Ext.Msg.confirm(_('tab_remove'),_('tab_remove_confirm'),function(e) {
                          if (e == 'yes') {
                              this.getStore().remove(rec);
              Severity: Major
              Found in manager/assets/modext/widgets/fc/modx.panel.fcset.js and 1 other location - About 2 hrs to fix
              manager/assets/modext/widgets/fc/modx.panel.fcprofile.js on lines 181..188

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

              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

                      },{
                          title: _('regions')
                          ,border: false
                          ,layout: 'anchor'
                          ,items: [{
              Severity: Major
              Found in manager/assets/modext/widgets/fc/modx.panel.fcset.js and 1 other location - About 2 hrs to fix
              manager/assets/modext/widgets/fc/modx.panel.fcset.js on lines 141..154

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

              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

                      },{
                          title: _('tvs')
                          ,border: false
                          ,layout: 'anchor'
                          ,items: [{
              Severity: Major
              Found in manager/assets/modext/widgets/fc/modx.panel.fcset.js and 1 other location - About 2 hrs to fix
              manager/assets/modext/widgets/fc/modx.panel.fcset.js on lines 128..141

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

              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

                          this.windows.ctab = MODx.load({
                              xtype: 'modx-window-fc-set-add-tab'
                              ,listeners: {
                                  'success': {fn:function(r) {
                                      var s = this.getStore();
              Severity: Major
              Found in manager/assets/modext/widgets/fc/modx.panel.fcset.js and 1 other location - About 2 hrs to fix
              manager/assets/modext/widgets/fc/modx.panel.fcprofile.js on lines 161..170

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

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

                      ,viewConfig: {
                          forceFit:true
                          ,enableRowBody:true
                          ,scrollOffset: 0
                          ,autoFill: true
              Severity: Major
              Found in manager/assets/modext/widgets/fc/modx.panel.fcset.js and 4 other locations - About 1 hr to fix
              manager/assets/modext/widgets/fc/modx.grid.fcprofile.js on lines 70..79
              manager/assets/modext/widgets/fc/modx.grid.fcset.js on lines 49..58
              manager/assets/modext/widgets/fc/modx.panel.fcset.js on lines 260..269
              manager/assets/modext/widgets/fc/modx.panel.fcset.js on lines 471..480

              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

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

                      ,viewConfig: {
                          forceFit:true
                          ,enableRowBody:true
                          ,scrollOffset: 0
                          ,autoFill: true
              Severity: Major
              Found in manager/assets/modext/widgets/fc/modx.panel.fcset.js and 4 other locations - About 1 hr to fix
              manager/assets/modext/widgets/fc/modx.grid.fcprofile.js on lines 70..79
              manager/assets/modext/widgets/fc/modx.grid.fcset.js on lines 49..58
              manager/assets/modext/widgets/fc/modx.panel.fcset.js on lines 260..269
              manager/assets/modext/widgets/fc/modx.panel.fcset.js on lines 301..310

              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

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

                      ,viewConfig: {
                          forceFit:true
                          ,enableRowBody:true
                          ,scrollOffset: 0
                          ,autoFill: true
              Severity: Major
              Found in manager/assets/modext/widgets/fc/modx.panel.fcset.js and 4 other locations - About 1 hr to fix
              manager/assets/modext/widgets/fc/modx.grid.fcprofile.js on lines 70..79
              manager/assets/modext/widgets/fc/modx.grid.fcset.js on lines 49..58
              manager/assets/modext/widgets/fc/modx.panel.fcset.js on lines 301..310
              manager/assets/modext/widgets/fc/modx.panel.fcset.js on lines 471..480

              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

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

                      },{
                          header: _('default_value')
                          ,dataIndex: 'default_value'
                          ,editor: { xtype: 'textfield' }
                          ,renderer: function(v,md) {
              Severity: Major
              Found in manager/assets/modext/widgets/fc/modx.panel.fcset.js and 1 other location - About 1 hr to fix
              manager/assets/modext/widgets/fc/modx.panel.fcset.js on lines 245..252

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

              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

                      },this.vcb,{
                          header: _('label')
                          ,dataIndex: 'label'
                          ,editor: { xtype: 'textfield' }
                          ,renderer: function(v,md) {
              Severity: Major
              Found in manager/assets/modext/widgets/fc/modx.panel.fcset.js and 1 other location - About 1 hr to fix
              manager/assets/modext/widgets/fc/modx.panel.fcset.js on lines 252..259

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

              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

                              },{
                                  xtype: 'textarea'
                                  ,fieldLabel: _('description')
                                  ,name: 'description'
                                  ,id: 'modx-fcs-description'
              Severity: Minor
              Found in manager/assets/modext/widgets/fc/modx.panel.fcset.js and 1 other location - About 55 mins to fix
              manager/assets/modext/widgets/fc/modx.panel.fcprofile.js on lines 57..66

              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

                              },{
                                  xtype: 'textfield'
                                  ,fieldLabel: _('constraint')
                                  ,description: _('set_constraint_desc')
                                  ,name: 'constraint'
              Severity: Minor
              Found in manager/assets/modext/widgets/fc/modx.panel.fcset.js and 1 other location - About 55 mins to fix
              manager/assets/modext/widgets/fc/modx.panel.fcset.js on lines 89..97

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

              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

                              },{
                                  xtype: 'textfield'
                                  ,fieldLabel: _('constraint_field')
                                  ,description: _('set_constraint_field_desc')
                                  ,name: 'constraint_field'
              Severity: Minor
              Found in manager/assets/modext/widgets/fc/modx.panel.fcset.js and 1 other location - About 55 mins to fix
              manager/assets/modext/widgets/fc/modx.panel.fcset.js on lines 97..105

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

              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

                  this.vcb = new Ext.ux.grid.CheckColumn({
                      header: _('visible')
                      ,dataIndex: 'visible'
                      ,width: 40
                      ,sortable: false
              Severity: Major
              Found in manager/assets/modext/widgets/fc/modx.panel.fcset.js and 2 other locations - About 50 mins to fix
              manager/assets/modext/widgets/fc/modx.panel.fcset.js on lines 218..223
              manager/assets/modext/widgets/fc/modx.panel.fcset.js on lines 422..427

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

              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

                  this.vcb = new Ext.ux.grid.CheckColumn({
                      header: _('visible')
                      ,dataIndex: 'visible'
                      ,width: 40
                      ,sortable: false
              Severity: Major
              Found in manager/assets/modext/widgets/fc/modx.panel.fcset.js and 2 other locations - About 50 mins to fix
              manager/assets/modext/widgets/fc/modx.panel.fcset.js on lines 280..285
              manager/assets/modext/widgets/fc/modx.panel.fcset.js on lines 422..427

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

              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

                  this.vcb = new Ext.ux.grid.CheckColumn({
                      header: _('visible')
                      ,dataIndex: 'visible'
                      ,width: 40
                      ,sortable: false
              Severity: Major
              Found in manager/assets/modext/widgets/fc/modx.panel.fcset.js and 2 other locations - About 50 mins to fix
              manager/assets/modext/widgets/fc/modx.panel.fcset.js on lines 218..223
              manager/assets/modext/widgets/fc/modx.panel.fcset.js on lines 280..285

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

              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