shuoyao/BirdGo

View on GitHub

Showing 169 of 169 total issues

Consider simplifying this complex logical expression.
Open

if ( !support.opacity ) {
    jQuery.cssHooks.opacity = {
        get: function( elem, computed ) {

            // IE uses filters for opacity

    Consider simplifying this complex logical expression.
    Open

            if ( window.getComputedStyle ) {
                divStyle = window.getComputedStyle( div );
                pixelPositionVal = ( divStyle || {} ).top !== "1%";
                reliableMarginLeftVal = ( divStyle || {} ).marginLeft === "2px";
                boxSizingReliableVal = ( divStyle || { width: "4px" } ).width === "4px";

      Consider simplifying this complex logical expression.
      Open

          if ( ( !id || !cache[ id ] || ( !pvt && !cache[ id ].data ) ) &&
              data === undefined && typeof name === "string" ) {
              return;
          }

        Consider simplifying this complex logical expression.
        Open

                if ( s.crossDomain == null ) {
                    parts = rurl.exec( s.url.toLowerCase() );
                    s.crossDomain = !!( parts &&
                        ( parts[ 1 ] !== ajaxLocParts[ 1 ] || parts[ 2 ] !== ajaxLocParts[ 2 ] ||
                            ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? "80" : "443" ) ) !==

          Consider simplifying this complex logical expression.
          Open

                      if ( matcher[ expando ] ) {
                          // Find the next relative operator (if any) for proper handling
                          j = ++i;
                          for ( ; j < len; j++ ) {
                              if ( Expr.relative[ tokens[j].type ] ) {

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

                    superMatcher = function( seed, context, xml, results, outermost ) {

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

              function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {

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

                function Tween( elem, options, prop, end, easing ) {

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

                      remove: function( elem, types, handler, selector, mappedTypes ) {

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

                    function condense( unmatched, map, filter, context, xml ) {

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

                          add: function( elem, types, handler, data, selector ) {

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

                        function buildFragment( elems, context, scripts, selection, ignored ) {

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

                                  "CHILD": function( type, what, argument, first, last ) {

                            Avoid too many return statements within this function.
                            Open

                                    return compare & 4 ? -1 : 1;

                              Avoid too many return statements within this function.
                              Open

                                              return this.constructor( context ).find( selector );

                                Avoid too many return statements within this function.
                                Open

                                                    return results;

                                  Avoid too many return statements within this function.
                                  Open

                                          return key === undefined || hasOwn.call( obj, key );

                                    Avoid too many return statements within this function.
                                    Open

                                        return select( selector.replace( rtrim, "$1" ), context, results, seed );

                                      Avoid too many return statements within this function.
                                      Open

                                                  return sortInput ?
                                                      ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :
                                                      0;

                                        Avoid too many return statements within this function.
                                        Open

                                                    return this;
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language