DamageStudios/rims

View on GitHub

Showing 186 of 250 total issues

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

function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {

    Avoid deeply nested control flow statements.
    Open

                    } else if ( match[2] ) {
                        push.apply( results, context.getElementsByTagName( selector ) );
                        return results;
    
                    // Class selector

      Avoid deeply nested control flow statements.
      Open

                          if ( (nid = context.getAttribute( "id" )) ) {
                              nid = nid.replace( rescape, "\\$&" );
                          } else {
                              context.setAttribute( "id", (nid = expando) );
                          }

        Avoid deeply nested control flow statements.
        Open

                            if ( rscriptType.test( node.type || "" ) &&
                                !jQuery._data( node, "globalEval" ) &&
                                jQuery.contains( doc, node ) ) {
        
                                if ( node.src ) {

          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 ( 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 ( ( !id || !cache[ id ] || ( !pvt && !cache[ id ].data ) ) &&
                      data === undefined && typeof name === "string" ) {
                      return;
                  }

                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 ] ) {

                  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 ( delegateCount && cur.nodeType &&
                                ( event.type !== "click" || isNaN( event.button ) || event.button < 1 ) ) {
                    
                                /* jshint eqeqeq: false */
                                for ( ; cur != this; cur = cur.parentNode || this ) {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                      Avoid too many return statements within this function.
                                      Open

                                                              return results;

                                        Avoid too many return statements within this function.
                                        Open

                                                            return results;
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language