talho/openphin

View on GitHub

Showing 3,486 of 3,486 total issues

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

                  this.mon(this.resizeContainer,'resize',function(){
                    if(this.renderedOutside) {
                      this.wrap.setX(this.getEl().getX());
                      this.wrap.setY(this.getEl().getY());
                    }
Severity: Major
Found in app/assets/javascripts/ext_extensions/FileUploadField.js and 1 other location - About 2 hrs to fix
app/assets/javascripts/ext_extensions/FileUploadField.js on lines 100..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 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 25 locations. Consider refactoring.
Open

if(Ext.form.DateField){
   Ext.apply(Ext.form.DateField.prototype, {
      disabledDaysText  : "Disabilitato",
      disabledDatesText : "Disabilitato",
      minText           : "La data deve essere successiva al {0}",
Severity: Major
Found in app/assets/javascripts/ext/src/locale/ext-lang-it.js and 24 other locations - About 2 hrs to fix
app/assets/javascripts/ext/src/locale/ext-lang-af.js on lines 133..143
app/assets/javascripts/ext/src/locale/ext-lang-bg.js on lines 149..159
app/assets/javascripts/ext/src/locale/ext-lang-ca.js on lines 158..168
app/assets/javascripts/ext/src/locale/ext-lang-cs.js on lines 173..183
app/assets/javascripts/ext/src/locale/ext-lang-da.js on lines 159..169
app/assets/javascripts/ext/src/locale/ext-lang-en.js on lines 166..176
app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js on lines 162..172
app/assets/javascripts/ext/src/locale/ext-lang-es.js on lines 161..171
app/assets/javascripts/ext/src/locale/ext-lang-fi.js on lines 161..171
app/assets/javascripts/ext/src/locale/ext-lang-fr.js on lines 183..193
app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 155..165
app/assets/javascripts/ext/src/locale/ext-lang-hu.js on lines 159..169
app/assets/javascripts/ext/src/locale/ext-lang-ja.js on lines 161..171
app/assets/javascripts/ext/src/locale/ext-lang-lt.js on lines 170..180
app/assets/javascripts/ext/src/locale/ext-lang-nl.js on lines 166..176
app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 157..167
app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js on lines 157..167
app/assets/javascripts/ext/src/locale/ext-lang-pl.js on lines 167..177
app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js on lines 156..166
app/assets/javascripts/ext/src/locale/ext-lang-ro.js on lines 157..167
app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 171..181
app/assets/javascripts/ext/src/locale/ext-lang-sr.js on lines 128..138
app/assets/javascripts/ext/src/locale/ext-lang-th.js on lines 157..167
app/assets/javascripts/ext/src/locale/ext-lang-tr.js on lines 171..181

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

if(Ext.form.DateField){
  Ext.apply(Ext.form.DateField.prototype, {
    disabledDaysText  : "Nem választható",
    disabledDatesText : "Nem választható",
    minText           : "A dátum nem lehet korábbi, mint {0}",
Severity: Major
Found in app/assets/javascripts/ext/src/locale/ext-lang-hu.js and 24 other locations - About 2 hrs to fix
app/assets/javascripts/ext/src/locale/ext-lang-af.js on lines 133..143
app/assets/javascripts/ext/src/locale/ext-lang-bg.js on lines 149..159
app/assets/javascripts/ext/src/locale/ext-lang-ca.js on lines 158..168
app/assets/javascripts/ext/src/locale/ext-lang-cs.js on lines 173..183
app/assets/javascripts/ext/src/locale/ext-lang-da.js on lines 159..169
app/assets/javascripts/ext/src/locale/ext-lang-en.js on lines 166..176
app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js on lines 162..172
app/assets/javascripts/ext/src/locale/ext-lang-es.js on lines 161..171
app/assets/javascripts/ext/src/locale/ext-lang-fi.js on lines 161..171
app/assets/javascripts/ext/src/locale/ext-lang-fr.js on lines 183..193
app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 155..165
app/assets/javascripts/ext/src/locale/ext-lang-it.js on lines 157..167
app/assets/javascripts/ext/src/locale/ext-lang-ja.js on lines 161..171
app/assets/javascripts/ext/src/locale/ext-lang-lt.js on lines 170..180
app/assets/javascripts/ext/src/locale/ext-lang-nl.js on lines 166..176
app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 157..167
app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js on lines 157..167
app/assets/javascripts/ext/src/locale/ext-lang-pl.js on lines 167..177
app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js on lines 156..166
app/assets/javascripts/ext/src/locale/ext-lang-ro.js on lines 157..167
app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 171..181
app/assets/javascripts/ext/src/locale/ext-lang-sr.js on lines 128..138
app/assets/javascripts/ext/src/locale/ext-lang-th.js on lines 157..167
app/assets/javascripts/ext/src/locale/ext-lang-tr.js on lines 171..181

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

if(Ext.form.DateField){
  Ext.apply(Ext.form.DateField.prototype, {
    disabledDaysText  : "Deaktivert",
    disabledDatesText : "Deaktivert",
    minText           : "Datoen i dette feltet må vere etter {0}",
Severity: Major
Found in app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js and 24 other locations - About 2 hrs to fix
app/assets/javascripts/ext/src/locale/ext-lang-af.js on lines 133..143
app/assets/javascripts/ext/src/locale/ext-lang-bg.js on lines 149..159
app/assets/javascripts/ext/src/locale/ext-lang-ca.js on lines 158..168
app/assets/javascripts/ext/src/locale/ext-lang-cs.js on lines 173..183
app/assets/javascripts/ext/src/locale/ext-lang-da.js on lines 159..169
app/assets/javascripts/ext/src/locale/ext-lang-en.js on lines 166..176
app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js on lines 162..172
app/assets/javascripts/ext/src/locale/ext-lang-es.js on lines 161..171
app/assets/javascripts/ext/src/locale/ext-lang-fi.js on lines 161..171
app/assets/javascripts/ext/src/locale/ext-lang-fr.js on lines 183..193
app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 155..165
app/assets/javascripts/ext/src/locale/ext-lang-hu.js on lines 159..169
app/assets/javascripts/ext/src/locale/ext-lang-it.js on lines 157..167
app/assets/javascripts/ext/src/locale/ext-lang-ja.js on lines 161..171
app/assets/javascripts/ext/src/locale/ext-lang-lt.js on lines 170..180
app/assets/javascripts/ext/src/locale/ext-lang-nl.js on lines 166..176
app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 157..167
app/assets/javascripts/ext/src/locale/ext-lang-pl.js on lines 167..177
app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js on lines 156..166
app/assets/javascripts/ext/src/locale/ext-lang-ro.js on lines 157..167
app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 171..181
app/assets/javascripts/ext/src/locale/ext-lang-sr.js on lines 128..138
app/assets/javascripts/ext/src/locale/ext-lang-th.js on lines 157..167
app/assets/javascripts/ext/src/locale/ext-lang-tr.js on lines 171..181

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

if(Ext.form.DateField){
  Ext.apply(Ext.form.DateField.prototype, {
    disabledDaysText  : "Deshabilitado",
    disabledDatesText : "Deshabilitado",
    minText           : "La fecha para este campo debe ser posterior a {0}",
Severity: Major
Found in app/assets/javascripts/ext/src/locale/ext-lang-es.js and 24 other locations - About 2 hrs to fix
app/assets/javascripts/ext/src/locale/ext-lang-af.js on lines 133..143
app/assets/javascripts/ext/src/locale/ext-lang-bg.js on lines 149..159
app/assets/javascripts/ext/src/locale/ext-lang-ca.js on lines 158..168
app/assets/javascripts/ext/src/locale/ext-lang-cs.js on lines 173..183
app/assets/javascripts/ext/src/locale/ext-lang-da.js on lines 159..169
app/assets/javascripts/ext/src/locale/ext-lang-en.js on lines 166..176
app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js on lines 162..172
app/assets/javascripts/ext/src/locale/ext-lang-fi.js on lines 161..171
app/assets/javascripts/ext/src/locale/ext-lang-fr.js on lines 183..193
app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 155..165
app/assets/javascripts/ext/src/locale/ext-lang-hu.js on lines 159..169
app/assets/javascripts/ext/src/locale/ext-lang-it.js on lines 157..167
app/assets/javascripts/ext/src/locale/ext-lang-ja.js on lines 161..171
app/assets/javascripts/ext/src/locale/ext-lang-lt.js on lines 170..180
app/assets/javascripts/ext/src/locale/ext-lang-nl.js on lines 166..176
app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 157..167
app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js on lines 157..167
app/assets/javascripts/ext/src/locale/ext-lang-pl.js on lines 167..177
app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js on lines 156..166
app/assets/javascripts/ext/src/locale/ext-lang-ro.js on lines 157..167
app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 171..181
app/assets/javascripts/ext/src/locale/ext-lang-sr.js on lines 128..138
app/assets/javascripts/ext/src/locale/ext-lang-th.js on lines 157..167
app/assets/javascripts/ext/src/locale/ext-lang-tr.js on lines 171..181

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

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

        initComponent: function(){
            this.items = [
                { xtype: 'panel', defaultType: 'container', cls:'document-file-controls-sub-panel', items:[
                    { itemId: 'file_detail_container', hidden: true, layout: 'form', defaultType: 'displayfield', defaults:{style:{'padding-top': '3px'}}, labelWidth: 65, items:[
                        {itemId: 'image', xtype:'imagedisplayfield', value: ''},
Severity: Minor
Found in app/assets/javascripts/documents/DocumentViews.js - About 1 hr to fix

    Function compileTpl has 49 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        compileTpl : function(tpl){
            var fm = Ext.util.Format,
                useF = this.disableFormats !== true,
                sep = Ext.isGecko ? "+" : ",",
                body;
    Severity: Minor
    Found in app/assets/javascripts/ext/src/util/XTemplate.js - About 1 hr to fix

      Function setSlide has 49 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          setSlide: function(index, initial) {
              if(!this.wrap && !this.slides[index]) {
                  return;
              }
              else if(this.wrap) {

        Function get has 49 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        El.get = function(el){
            var ex,
                elm,
                id;
            if(!el){ return null; }
        Severity: Minor
        Found in app/assets/javascripts/ext/src/ext-core/src/core/Element.js - About 1 hr to fix

          Function listen has 49 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              function listen(element, ename, opt, fn, scope){
                  var o = (!opt || typeof opt == "boolean") ? {} : opt,
                      el = Ext.getDom(element), task;
          
                  fn = fn || o.fn;
          Severity: Minor
          Found in app/assets/javascripts/ext/src/ext-core/src/core/EventManager.js - About 1 hr to fix

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

                        if ( s.type.toLowerCase() == "get" ) {
                            if ( !s.url.match(jsre) )
                                s.url += (s.url.match(/\?/) ? "&" : "?") + (s.jsonp || "callback") + "=?";
                        } else if ( !s.data || !s.data.match(jsre) )
                            s.data = (s.data ? s.data + "&" : "") + (s.jsonp || "callback") + "=?";
            Severity: Major
            Found in app/assets/javascripts/jquery-tooltip/lib/jquery.js and 1 other location - About 1 hr to fix
            app/assets/javascripts/jquery.js on lines 3411..3415

            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 ( !event.which && event.button )
                        event.which = (event.button & 1 ? 1 : ( event.button & 2 ? 3 : ( event.button & 4 ? 2 : 0 ) ));
            Severity: Major
            Found in app/assets/javascripts/jquery.js and 1 other location - About 1 hr to fix
            app/assets/javascripts/jquery-tooltip/lib/jquery.js on lines 2120..2121

            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 ( type == "GET" ) {
                            if ( !s.url.match(jsre) )
                                s.url += (s.url.match(/\?/) ? "&" : "?") + (s.jsonp || "callback") + "=?";
                        } else if ( !s.data || !s.data.match(jsre) )
                            s.data = (s.data ? s.data + "&" : "") + (s.jsonp || "callback") + "=?";
            Severity: Major
            Found in app/assets/javascripts/jquery.js and 1 other location - About 1 hr to fix
            app/assets/javascripts/jquery-tooltip/lib/jquery.js on lines 2546..2550

            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 ( !event.which && event.button )
                        event.which = (event.button & 1 ? 1 : ( event.button & 2 ? 3 : ( event.button & 4 ? 2 : 0 ) ));
            Severity: Major
            Found in app/assets/javascripts/jquery-tooltip/lib/jquery.js and 1 other location - About 1 hr to fix
            app/assets/javascripts/jquery.js on lines 2755..2756

            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

            Function buildLeftColumn has 48 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                buildLeftColumn: function(){
                  var singleDataBox = Ext.extend(Ext.BoxComponent, {
                    tpl: '<tpl if="dataPoint">' +
                          '<fieldset style="margin-bottom: 20px; border: none; border-top: 1px solid #EEEEEE;">' +
                            '<legend style="color: #999999;padding-left:0px;">{label}</legend>' +
            Severity: Minor
            Found in app/assets/javascripts/profile/ShowProfile.js - About 1 hr to fix

              Function save has 48 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  save : function() {
                      if (!this.writer) {
                          throw new Ext.data.Store.Error('writer-undefined');
                      }
              
              
              Severity: Minor
              Found in app/assets/javascripts/ext/src/data/Store.js - About 1 hr to fix

                Function getConstrainToXY has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    getConstrainToXY : function(el, local, offsets, proposedXY){   
                        var os = {top:0, left:0, bottom:0, right: 0};
                
                        return function(el, local, offsets, proposedXY){
                            el = Ext.get(el);
                Severity: Minor
                Found in app/assets/javascripts/ext/src/core/Element.alignment.js - About 1 hr to fix

                  Function doRender has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      doRender : function(columns, records, store, startRow, colCount, stripe) {
                          var templates = this.templates,
                              cellTemplate = templates.cell,
                              rowTemplate = templates.row,
                              last = colCount - 1,
                  Severity: Minor
                  Found in app/assets/javascripts/ext/src/widgets/grid/GridView.js - About 1 hr to fix

                    Function doRender has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        doRender : function(cs, rs, ds, startRow, colCount, stripe){
                            if(rs.length < 1){
                                return '';
                            }
                    
                    
                    Severity: Minor
                    Found in app/assets/javascripts/ext/src/widgets/grid/GroupingView.js - About 1 hr to fix

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

                          initComponent : function(){
                              Ext.Panel.superclass.initComponent.call(this);
                      
                              this.addEvents(
                                  /**
                      Severity: Minor
                      Found in app/assets/javascripts/ext/src/widgets/Panel.js - About 1 hr to fix
                        Severity
                        Category
                        Status
                        Source
                        Language