talho/openphin

View on GitHub

Showing 3,486 of 3,486 total issues

Function renderRows has a Cognitive Complexity of 21 (exceeds 5 allowed). Consider refactoring.
Open

    renderRows : function(startRow, endRow) {
        var grid          = this.grid,
            rows          = grid.extractData(),
            rowCount      = rows.length,
            templates     = this.templates,
Severity: Minor
Found in app/assets/javascripts/ext/src/widgets/grid/PivotGridView.js - About 2 hrs to fix

Cognitive Complexity

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

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

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

Further reading

File ext-lang-lt.js has 288 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*!
 * Ext JS Library 3.3.0
 * Copyright(c) 2006-2010 Ext JS, Inc.
 * licensing@extjs.com
 * http://www.extjs.com/license
Severity: Minor
Found in app/assets/javascripts/ext/src/locale/ext-lang-lt.js - About 2 hrs to fix

    File carousel.js has 288 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /*!
     * Ext JS Library 3.3.0
     * Copyright(c) 2006-2010 Ext JS, Inc.
     * licensing@extjs.com
     * http://www.extjs.com/license
    Severity: Minor
    Found in app/assets/javascripts/ext/src/ext-core/examples/carousel/carousel.js - About 2 hrs to fix

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

              fields: ['name', {name:'hidden_at', type: 'date'}, {name:'created_at', type:'date', dateFormat: 'Y-m-d\\Th:i:sP'}, {name:'updated_at', type:'date', dateFormat: 'Y-m-d\\Th:i:sP'},
                      'lock_version', 'id', {name: 'is_moderator', type: 'boolean'}, {name: 'is_super_admin', type: 'boolean'}, {name: 'is_forum_admin', type: 'boolean'}, 'threads', 'subforums'],        
      Severity: Major
      Found in app/assets/javascripts/forums/view/forums/Index.js and 1 other location - About 2 hrs to fix
      app/assets/javascripts/forums/view/topics/Index.js on lines 19..20

      Duplicated Code

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

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

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

      Tuning

      This issue has a mass of 93.

      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

              fields: ['name', {name:'hidden_at', type: 'date'}, {name:'created_at', type:'date', dateFormat: 'Y-m-d\\Th:i:sP'}, {name:'updated_at', type:'date', dateFormat: 'Y-m-d\\Th:i:sP'},
                      'lock_version', 'id', {name: 'is_moderator', type: 'boolean'}, {name: 'is_super_admin', type: 'boolean'}, {name: 'is_forum_admin', type: 'boolean'}, 'threads', 'subforums'],                
      Severity: Major
      Found in app/assets/javascripts/forums/view/topics/Index.js and 1 other location - About 2 hrs to fix
      app/assets/javascripts/forums/view/forums/Index.js on lines 27..28

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

      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

            $('#forum_submit').click(function(e){
              if($('#forum_topic_attributes_name').val().length <= 1){
                alert("You must enter a valid name for the forum.");
                return false;
              }
      Severity: Major
      Found in app/assets/javascripts/forum.js and 1 other location - About 2 hrs to fix
      app/assets/javascripts/forum.js on lines 61..70

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

      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

            $('#topic_submit').click(function(e){
              if($('#topic_name').val().length <= 1){
                alert("You must enter a valid name for the forum.");
                return false;
              }
      Severity: Major
      Found in app/assets/javascripts/forum.js and 1 other location - About 2 hrs to fix
      app/assets/javascripts/forum.js on lines 51..60

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

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

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

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

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

      Refactorings

      Further Reading

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

        def add_sender(xml)
          xml.swn(:sender) do
            xml.swn(:introName, message.Author.display_name) unless message.Author.blank?
            if message.Behavior && message.Behavior.Delivery && message.Behavior.Delivery.Providers
              provider = message.Behavior.Delivery.Providers.select{|p| p.name == "swn"}
      Severity: Major
      Found in app/models/service/swn/email/message.rb and 4 other locations - About 2 hrs to fix
      app/models/service/swn/blackberry/message.rb on lines 60..80
      app/models/service/swn/fax/message.rb on lines 59..79
      app/models/service/swn/phone/message.rb on lines 61..81
      app/models/service/swn/sms/message.rb on lines 60..80

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

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

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

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

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

      Refactorings

      Further Reading

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

        def add_sender(xml)
           xml.swn(:sender) do
             xml.swn(:introName, message.Author.display_name) unless message.Author.blank?
             if message.Behavior && message.Behavior.Delivery && message.Behavior.Delivery.Providers
               provider = message.Behavior.Delivery.Providers.select{|p| p.name == "swn"}
      Severity: Major
      Found in app/models/service/swn/sms/message.rb and 4 other locations - About 2 hrs to fix
      app/models/service/swn/blackberry/message.rb on lines 60..80
      app/models/service/swn/email/message.rb on lines 61..80
      app/models/service/swn/fax/message.rb on lines 59..79
      app/models/service/swn/phone/message.rb on lines 61..81

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

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

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

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

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

      Refactorings

      Further Reading

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

        def add_sender(xml)
          xml.swn(:sender) do
            xml.swn(:introName, message.Author.display_name) unless message.Author.blank?
            if message.Behavior && message.Behavior.Delivery && message.Behavior.Delivery.Providers
              provider = message.Behavior.Delivery.Providers.select{|p| p.name == "swn"}
      Severity: Major
      Found in app/models/service/swn/fax/message.rb and 4 other locations - About 2 hrs to fix
      app/models/service/swn/blackberry/message.rb on lines 60..80
      app/models/service/swn/email/message.rb on lines 61..80
      app/models/service/swn/phone/message.rb on lines 61..81
      app/models/service/swn/sms/message.rb on lines 60..80

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

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

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

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

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

      Refactorings

      Further Reading

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

        def add_sender(xml)
          xml.swn(:sender) do
            xml.swn(:introName, message.Author.display_name) unless message.Author.blank?
            if message.Behavior && message.Behavior.Delivery && message.Behavior.Delivery.Providers
              provider = message.Behavior.Delivery.Providers.select{|p| p.name == "swn"}
      Severity: Major
      Found in app/models/service/swn/blackberry/message.rb and 4 other locations - About 2 hrs to fix
      app/models/service/swn/email/message.rb on lines 61..80
      app/models/service/swn/fax/message.rb on lines 59..79
      app/models/service/swn/phone/message.rb on lines 61..81
      app/models/service/swn/sms/message.rb on lines 60..80

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

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

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

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

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

      Refactorings

      Further Reading

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

        def add_sender(xml)
          xml.swn(:sender) do
            xml.swn(:introName, message.Author.display_name) unless message.Author.blank?
            if message.Behavior && message.Behavior.Delivery && message.Behavior.Delivery.Providers
              provider = message.Behavior.Delivery.Providers.select{|p| p.name == "swn"}
      Severity: Major
      Found in app/models/service/swn/phone/message.rb and 4 other locations - About 2 hrs to fix
      app/models/service/swn/blackberry/message.rb on lines 60..80
      app/models/service/swn/email/message.rb on lines 61..80
      app/models/service/swn/fax/message.rb on lines 59..79
      app/models/service/swn/sms/message.rb on lines 60..80

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

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

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

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

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

      Refactorings

      Further Reading

      Function clean has 72 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          clean: function( elems, context, fragment ) {
              context = context || document;
      
              // !context.createElement fails in IE with an error but returns typeof 'object'
              if ( typeof context.createElement === "undefined" )
      Severity: Major
      Found in app/assets/javascripts/jquery.js - About 2 hrs to fix

        Function _createGridsAndStores has 72 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            _createGridsAndStores: function(){
                this.audienceStore = new Ext.data.GroupingStore({
                    reader: new Ext.data.JsonReader({
                        idProperty:'this_will_never_be_filled_because_we_dont_want_collisions',
                        fields: ['name', 'id', 'type', 'profile_path']
        Severity: Major
        Found in app/assets/javascripts/audience/AudienceDisplayPanel.js - About 2 hrs to fix

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

              this.items = [
                this._createStoreAndDataView(),
                {xtype: 'spacer', height: '10'},
                {xtype: 'container', layout: 'hbox', layoutConfig:{defaultMargins:'0 10 0 4'}, items:[
                  {xtype: 'button', text: 'Request Role', handler: this.add_role, scope: this, width:'auto'}
          Severity: Major
          Found in app/assets/javascripts/profile/RolesControl.js and 2 other locations - About 2 hrs to fix
          app/assets/javascripts/profile/DevicesControl.js on lines 25..31
          app/assets/javascripts/profile/OrganizationsControl.js on lines 18..24

          Duplicated Code

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

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

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

          Tuning

          This issue has a mass of 92.

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

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

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

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

          Refactorings

          Further Reading

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

              this.items = [
                this._createStoreAndDataView(),
                {xtype: 'spacer', height: '10'},
                {xtype: 'container', layout: 'hbox', layoutConfig:{defaultMargins:'0 10 0 4'}, items:[
                  {xtype: 'button', text: 'Add device', handler: this.add_device, scope: this, width:'auto'}
          Severity: Major
          Found in app/assets/javascripts/profile/DevicesControl.js and 2 other locations - About 2 hrs to fix
          app/assets/javascripts/profile/OrganizationsControl.js on lines 18..24
          app/assets/javascripts/profile/RolesControl.js on lines 18..24

          Duplicated Code

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

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

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

          Tuning

          This issue has a mass of 92.

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

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

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

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

          Refactorings

          Further Reading

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

              this.items = [
                this._createStoreAndDataView(),
                {xtype: 'spacer', height: '10'},
                {xtype: 'container', layout: 'hbox', layoutConfig:{defaultMargins:'0 10 0 4'}, items:[
                  {xtype: 'button', text: 'Request Organization', handler: this.add_organization, scope: this, width:'auto'}
          Severity: Major
          Found in app/assets/javascripts/profile/OrganizationsControl.js and 2 other locations - About 2 hrs to fix
          app/assets/javascripts/profile/DevicesControl.js on lines 25..31
          app/assets/javascripts/profile/RolesControl.js on lines 18..24

          Duplicated Code

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

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

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

          Tuning

          This issue has a mass of 92.

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

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

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

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

          Refactorings

          Further Reading

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

                  this.els.navNext.on('click', function(ev) {
                      ev.preventDefault();
                      var target = ev.getTarget();
                      target.blur();
                      if(Ext.fly(target).hasClass('ux-carousel-nav-disabled')) return;
          app/assets/javascripts/ext/src/ext-core/examples/carousel/carousel.js on lines 102..108

          Duplicated Code

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

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

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

          Tuning

          This issue has a mass of 92.

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

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

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

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

          Refactorings

          Further Reading

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

                  this.els.navPrev.on('click', function(ev) {
                      ev.preventDefault();
                      var target = ev.getTarget();
                      target.blur();            
                      if(Ext.fly(target).hasClass('ux-carousel-nav-disabled')) return;
          app/assets/javascripts/ext/src/ext-core/examples/carousel/carousel.js on lines 110..116

          Duplicated Code

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

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

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

          Tuning

          This issue has a mass of 92.

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

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

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

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

          Refactorings

          Further Reading

          Function initComponent has 71 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              initComponent : function(){
                  if(this.columnResize){
                      this.colResizer = new Ext.list.ColumnResizer(this.colResizer);
                      this.colResizer.init(this);
                  }
          Severity: Major
          Found in app/assets/javascripts/ext/src/widgets/list/ListView.js - About 2 hrs to fix
            Severity
            Category
            Status
            Source
            Language