fiuba/alfred

View on GitHub

Showing 654 of 654 total issues

Function on has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
Severity: Minor
Found in public/javascripts/jquery-1.9.0.js - About 35 mins to fix

    Function CHILD has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            "CHILD": function( type, what, argument, first, last ) {
    Severity: Minor
    Found in public/javascripts/jquery-1.9.0.js - About 35 mins to fix

      Function add has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          add: function( elem, types, handler, data, selector ) {
      Severity: Minor
      Found in public/javascripts/jquery-1.9.0.js - About 35 mins to fix

        Function superMatcher has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

                superMatcher = function( seed, context, xml, results, expandContext ) {
        Severity: Minor
        Found in public/javascripts/jquery-1.9.0.js - About 35 mins to fix

          Function augmentWidthOrHeight has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

          function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {
          Severity: Minor
          Found in public/javascripts/jquery-1.9.0.js - About 35 mins to fix

            Function condense has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

            function condense( unmatched, map, filter, context, xml ) {
            Severity: Minor
            Found in public/javascripts/jquery-1.9.0.js - About 35 mins to fix

              Function switchClass has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  switchClass: function( remove, add, speed, easing, callback) {
              Severity: Minor
              Found in public/javascripts/jquery-ui/jquery-ui.js - About 35 mins to fix

                Function modelChanged has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                EditableGrid.prototype.modelChanged = function(rowIndex, columnIndex, oldValue, newValue, row) {};
                Severity: Minor
                Found in public/javascripts/editablegrid-2.0.1.js - About 35 mins to fix

                  Function insertAfter has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                  EditableGrid.prototype.insertAfter = function(rowIndex, rowId, cellValues, rowAttributes, dontSort)
                  Severity: Minor
                  Found in public/javascripts/editablegrid-2.0.1.js - About 35 mins to fix

                    Function insert has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                    EditableGrid.prototype.insert = function(rowIndex, rowId, cellValues, rowAttributes, dontSort)
                    Severity: Minor
                    Found in public/javascripts/editablegrid-2.0.1.js - About 35 mins to fix

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

                                      (parseInt($(ce).css("borderLeftWidth"),10) || 0) + (parseInt($(ce).css("paddingLeft"),10) || 0),
                      Severity: Minor
                      Found in public/javascripts/jquery-ui/jquery-ui.js and 2 other locations - About 35 mins to fix
                      public/javascripts/jquery-ui/jquery-ui.js on lines 1393..1393
                      public/javascripts/jquery-ui/jquery-ui.js on lines 1823..1823

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

                      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

                                  return (parseInt($(a).css("zIndex"),10) || 0) - (parseInt($(b).css("zIndex"),10) || 0);
                      Severity: Minor
                      Found in public/javascripts/jquery-ui/jquery-ui.js and 2 other locations - About 35 mins to fix
                      public/javascripts/jquery-ui/jquery-ui.js on lines 1392..1392
                      public/javascripts/jquery-ui/jquery-ui.js on lines 1393..1393

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

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

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

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

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

                      Refactorings

                      Further Reading

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

                          if (typeof options == 'string' && (options == 'isDisabled' || options == 'getDate' || options == 'widget'))
                              return $.datepicker['_' + options + 'Datepicker'].
                                  apply($.datepicker, [this[0]].concat(otherArgs));
                      Severity: Minor
                      Found in public/javascripts/jquery-ui/jquery-ui.js and 1 other location - About 35 mins to fix
                      public/javascripts/jquery-ui/jquery-ui.js on lines 9035..9037

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

                      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

                                      (parseInt($(ce).css("borderTopWidth"),10) || 0) + (parseInt($(ce).css("paddingTop"),10) || 0),
                      Severity: Minor
                      Found in public/javascripts/jquery-ui/jquery-ui.js and 2 other locations - About 35 mins to fix
                      public/javascripts/jquery-ui/jquery-ui.js on lines 1392..1392
                      public/javascripts/jquery-ui/jquery-ui.js on lines 1823..1823

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

                      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

                                  for ( ; i < length; i++ ) {
                                      value = callback( elems[ i ], i, arg );
                      
                                      if ( value != null ) {
                                          ret[ ret.length ] = value;
                      Severity: Minor
                      Found in public/javascripts/jquery-1.9.0.js and 1 other location - About 35 mins to fix
                      public/javascripts/jquery-1.9.0.js on lines 765..771

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

                      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

                                  for ( i in elems ) {
                                      value = callback( elems[ i ], i, arg );
                      
                                      if ( value != null ) {
                                          ret[ ret.length ] = value;
                      Severity: Minor
                      Found in public/javascripts/jquery-1.9.0.js and 1 other location - About 35 mins to fix
                      public/javascripts/jquery-1.9.0.js on lines 755..761

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

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

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

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

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

                      Refactorings

                      Further Reading

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

                          if (options == 'option' && arguments.length == 2 && typeof arguments[1] == 'string')
                              return $.datepicker['_' + options + 'Datepicker'].
                                  apply($.datepicker, [this[0]].concat(otherArgs));
                      Severity: Minor
                      Found in public/javascripts/jquery-ui/jquery-ui.js and 1 other location - About 35 mins to fix
                      public/javascripts/jquery-ui/jquery-ui.js on lines 9032..9034

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

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

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

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

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

                      Refactorings

                      Further Reading

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

                                  if(!((l-d < x1 && x1 < r+d && t-d < y1 && y1 < b+d) || (l-d < x1 && x1 < r+d && t-d < y2 && y2 < b+d) || (l-d < x2 && x2 < r+d && t-d < y1 && y1 < b+d) || (l-d < x2 && x2 < r+d && t-d < y2 && y2 < b+d))) {
                      Severity: Minor
                      Found in public/javascripts/jquery-ui/jquery-ui.js and 2 other locations - About 35 mins to fix
                      public/javascripts/jquery-ui/jquery-ui.js on lines 1778..1778
                      public/javascripts/jquery-ui/jquery-ui.js on lines 1778..1778

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

                      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

                              this._on( this.window, {
                                  beforeunload: function() {
                                      this.element.removeAttr( "autocomplete" );
                                  }
                              });
                      Severity: Minor
                      Found in public/javascripts/jquery-ui/jquery-ui.js and 1 other location - About 35 mins to fix
                      public/javascripts/jquery-ui/jquery-ui.js on lines 6516..6520

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

                      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

                              this._on( this.window, {
                                  beforeunload: function() {
                                      this.element.removeAttr( "autocomplete" );
                                  }
                              });
                      Severity: Minor
                      Found in public/javascripts/jquery-ui/jquery-ui.js and 1 other location - About 35 mins to fix
                      public/javascripts/jquery-ui/jquery-ui.js on lines 12765..12769

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

                      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

                      Severity
                      Category
                      Status
                      Source
                      Language