diffux/diffux

View on GitHub

Showing 229 of 579 total issues

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

jQuery.fn.load = function( url, params, callback ) {
    if ( typeof url !== "string" && _load ) {
        return _load.apply( this, arguments );
    }

Severity: Minor
Found in bower_components/jquery/dist/jquery.js - About 1 hr to fix

    Function handlers has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        handlers: function( event, handlers ) {
            var i, matches, sel, handleObj,
                handlerQueue = [],
                delegateCount = handlers.delegateCount,
                cur = event.target;
    Severity: Minor
    Found in bower_components/jquery/dist/jquery.js - About 1 hr to fix

      Function attr has 30 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          attr: function( elem, name, value ) {
              var hooks, ret,
                  nType = elem.nodeType;
      
              // don't get/set attributes on text, comment and attribute nodes
      Severity: Minor
      Found in bower_components/jquery/src/attributes/attr.js - About 1 hr to fix

        Function attr has 30 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            attr: function( elem, name, value ) {
                var hooks, ret,
                    nType = elem.nodeType;
        
                // don't get/set attributes on text, comment and attribute nodes
        Severity: Minor
        Found in bower_components/jquery/dist/jquery.js - About 1 hr to fix

          Function handlers has 30 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              handlers: function( event, handlers ) {
                  var i, matches, sel, handleObj,
                      handlerQueue = [],
                      delegateCount = handlers.delegateCount,
                      cur = event.target;
          Severity: Minor
          Found in bower_components/jquery/src/event.js - About 1 hr to fix

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

                toggleClass: function( value, stateVal ) {
                    var type = typeof value;
            
                    if ( typeof stateVal === "boolean" && type === "string" ) {
                        return stateVal ? this.addClass( value ) : this.removeClass( value );
            Severity: Minor
            Found in bower_components/jquery/dist/jquery.js - About 1 hr to fix

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

                  toggleClass: function( value, stateVal ) {
                      var type = typeof value;
              
                      if ( typeof stateVal === "boolean" && type === "string" ) {
                          return stateVal ? this.addClass( value ) : this.removeClass( value );
              Severity: Minor
              Found in bower_components/jquery/src/attributes/classes.js - About 1 hr to fix

                Method perform has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                  def perform(snapshot_id)
                    return unless set_snapshot(snapshot_id)
                    return unless @snapshot.compare?
                
                    url          = @snapshot.url
                Severity: Minor
                Found in app/workers/snapshot_comparer_worker.rb - About 1 hr to fix

                  Function finish has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      finish: function( type ) {
                          if ( type !== false ) {
                              type = type || "fx";
                          }
                          return this.each(function() {
                  Severity: Minor
                  Found in bower_components/jquery/dist/jquery.js - About 1 hr to fix

                    Function finish has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        finish: function( type ) {
                            if ( type !== false ) {
                                type = type || "fx";
                            }
                            return this.each(function() {
                    Severity: Minor
                    Found in bower_components/jquery/src/effects.js - About 1 hr to fix

                      Function fix has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          fix: function( event ) {
                              if ( event[ jQuery.expando ] ) {
                                  return event;
                              }
                      
                      
                      Severity: Minor
                      Found in bower_components/jquery/dist/jquery.js - About 1 hr to fix

                        Function clone has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            clone: function( elem, dataAndEvents, deepDataAndEvents ) {
                                var i, l, srcElements, destElements,
                                    clone = elem.cloneNode( true ),
                                    inPage = jQuery.contains( elem.ownerDocument, elem );
                        
                        
                        Severity: Minor
                        Found in bower_components/jquery/src/manipulation.js - About 1 hr to fix

                          Function propFilter has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          function propFilter( props, specialEasing ) {
                              var index, name, easing, value, hooks;
                          
                              // camelCase, specialEasing and expand cssHook pass
                              for ( index in props ) {
                          Severity: Minor
                          Found in bower_components/jquery/dist/jquery.js - About 1 hr to fix

                            Function clone has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                clone: function( elem, dataAndEvents, deepDataAndEvents ) {
                                    var i, l, srcElements, destElements,
                                        clone = elem.cloneNode( true ),
                                        inPage = jQuery.contains( elem.ownerDocument, elem );
                            
                            
                            Severity: Minor
                            Found in bower_components/jquery/dist/jquery.js - About 1 hr to fix

                              Function propFilter has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              function propFilter( props, specialEasing ) {
                                  var index, name, easing, value, hooks;
                              
                                  // camelCase, specialEasing and expand cssHook pass
                                  for ( index in props ) {
                              Severity: Minor
                              Found in bower_components/jquery/src/effects.js - About 1 hr to fix

                                Function fix has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    fix: function( event ) {
                                        if ( event[ jQuery.expando ] ) {
                                            return event;
                                        }
                                
                                
                                Severity: Minor
                                Found in bower_components/jquery/src/event.js - About 1 hr to fix

                                  Function offset has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      offset: function( options ) {
                                          if ( arguments.length ) {
                                              return options === undefined ?
                                                  this :
                                                  this.each(function( i ) {
                                  Severity: Minor
                                  Found in bower_components/jquery/dist/jquery.js - About 1 hr to fix

                                    Function offset has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        offset: function( options ) {
                                            if ( arguments.length ) {
                                                return options === undefined ?
                                                    this :
                                                    this.each(function( i ) {
                                    Severity: Minor
                                    Found in bower_components/jquery/src/offset.js - About 1 hr to fix

                                      Function off has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          off: function( types, selector, fn ) {
                                              var handleObj, type;
                                              if ( types && types.preventDefault && types.handleObj ) {
                                                  // ( event )  dispatched jQuery.Event
                                                  handleObj = types.handleObj;
                                      Severity: Minor
                                      Found in bower_components/jquery/dist/jquery.js - About 1 hr to fix

                                        Function * has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                                "*": [ function( prop, value ) {
                                                    var tween = this.createTween( prop, value ),
                                                        target = tween.cur(),
                                                        parts = rfxnum.exec( value ),
                                                        unit = parts && parts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ),
                                        Severity: Minor
                                        Found in bower_components/jquery/dist/jquery.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language