daitokai/daitokaiet

View on GitHub

Showing 139 of 155 total issues

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 public/javascripts/jquery.js - About 1 hr to fix

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

        fix: function( event ) {
            if ( event[ jQuery.expando ] ) {
                return event;
            }
    
    
    Severity: Minor
    Found in public/javascripts/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 public/javascripts/jquery.js - About 1 hr to fix

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

                setup: function() {
        
                    if ( rformElems.test( this.nodeName ) ) {
                        // IE doesn't fire change on a check/radio until blur; trigger it on click
                        // after a propertychange. Eat the blur-change in special.change.handle.
        Severity: Minor
        Found in public/javascripts/jquery.js - About 1 hr to fix

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

          jQuery.fn.offset = function( options ) {
              if ( arguments.length ) {
                  return options === undefined ?
                      this :
                      this.each(function( i ) {
          Severity: Minor
          Found in public/javascripts/jquery.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 public/javascripts/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 public/javascripts/jquery.js - About 1 hr to fix

                Consider simplifying this complex logical expression.
                Open

                            if ( tokens.length > 2 && (token = tokens[0]).type === "ID" &&
                                    support.getById && context.nodeType === 9 && documentIsHTML &&
                                    Expr.relative[ tokens[1].type ] ) {
                
                                context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0];
                Severity: Major
                Found in public/javascripts/jquery.js - About 1 hr to fix

                  Consider simplifying this complex logical expression.
                  Open

                  if ( jQuery.expr && jQuery.expr.filters ) {
                      jQuery.expr.filters.hidden = function( elem ) {
                          // Support: Opera <= 12.12
                          // Opera reports offsetWidths and offsetHeights less than zero on some elements
                          return elem.offsetWidth <= 0 && elem.offsetHeight <= 0 ||
                  Severity: Major
                  Found in public/javascripts/jquery.js - About 1 hr to fix

                    Function access has 7 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        access: function( elems, fn, key, value, chainable, emptyGet, raw ) {
                    Severity: Major
                    Found in public/javascripts/jquery.js - About 50 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                          if ( conv && s[ "throws" ] ) {
                                              response = conv( response );
                                          } else {
                                              try {
                                                  response = conv( response );
                      Severity: Major
                      Found in public/javascripts/jquery.js - About 45 mins to fix

                        Function setMatcher has 6 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                        function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
                        Severity: Minor
                        Found in public/javascripts/jquery.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                              if ( copyIsArray ) {
                                                  copyIsArray = false;
                                                  clone = src && jQuery.isArray(src) ? src : [];
                          
                                              } else {
                          Severity: Major
                          Found in public/javascripts/jquery.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                                        if ( cache[1] === true ) {
                                                            return true;
                                                        }
                            Severity: Major
                            Found in public/javascripts/jquery.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                                      for ( type in data.events ) {
                                                          if ( special[ type ] ) {
                                                              jQuery.event.remove( elem, type );
                              
                                                          // This is a shortcut to avoid jQuery.event.remove's overhead
                              Severity: Major
                              Found in public/javascripts/jquery.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                          if (element.data('params')) data = data + "&" + element.data('params');
                                Severity: Major
                                Found in public/javascripts/jquery_ujs.js - About 45 mins to fix

                                  Function init has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                      init: function( elem, options, prop, end, easing, unit ) {
                                  Severity: Minor
                                  Found in public/javascripts/jquery.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

                                                                        if ( typeof xhr.responseText === "string" ) {
                                                                            responses.text = xhr.responseText;
                                                                        }
                                    Severity: Major
                                    Found in public/javascripts/jquery.js - About 45 mins to fix

                                      Avoid deeply nested control flow statements.
                                      Open

                                                                  if ( !xhrCallbacks ) {
                                                                      xhrCallbacks = {};
                                                                      jQuery( window ).unload( xhrOnUnloadAbort );
                                                                  }
                                      Severity: Major
                                      Found in public/javascripts/jquery.js - About 45 mins to fix

                                        Avoid deeply nested control flow statements.
                                        Open

                                                                for ( match in context ) {
                                                                    // Properties of context are called as methods if possible
                                                                    if ( jQuery.isFunction( this[ match ] ) ) {
                                                                        this[ match ]( context[ match ] );
                                        
                                        
                                        Severity: Major
                                        Found in public/javascripts/jquery.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language